1. Komal Thareja

Komal Thareja

Forum Replies Created

Viewing 2 posts - 496 through 497 (of 497 total)
  • Author
    Posts
  • in reply to: Failed when adding two SharedNIC_ConnectX_6 to one node #748
    Komal Thareja
    Participant

      I am able to reproduce the error and found this to be a bug in the code. We would address it in the next release.

      in reply to: How to view components of active slice #520
      Komal Thareja
      Participant

        User should be able to get to the respective node components using the get_slice API:

        `

        status, topology = slice_manager.get_slice(slice_id=slice_id)

        if status == Status.OK:
        print(f”Properties: {topology.nodes[‘n1’].list_properties()}”)
        print(f”Components: {topology.nodes[‘n1’].components}”)
        print(f”Component: {topology.nodes[‘n1’].components[‘c1’]}”)
        else:
        print(f”Failed to get slice topology: {topology}”)

        `

        However, I think we have bug which is preventing the components from being listed in the output of the above snippet.

      Viewing 2 posts - 496 through 497 (of 497 total)