Commit c34bfe37 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Device component:

- Fix handling of underlying controller-managed devices
parent 218bdfd1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -198,6 +198,9 @@ def populate_endpoints(
                _sub_device_mgmt_endpoint.name = 'mgmt'
                _sub_device_mgmt_endpoint.endpoint_type = 'mgmt'

                devices_with_mgmt_endpoints.add(_sub_device_uuid)
                devices_with_mgmt_endpoints.add(_sub_device_name)

            # add mgmt link
            if (device_name, _sub_device_name) not in mgmt_links:
                _mgmt_link_uuid = '{:s}/{:s}=={:s}/{:s}'.format(device_name, 'mgmt', _sub_device_name, 'mgmt')