Loading src/device/tests/Device_Emulated.py +4 −1 Original line number Original line Diff line number Diff line Loading @@ -34,7 +34,10 @@ RSRC_SUBIF = RSRC_EP + '/subinterfaces/subinterface[{:d}]' RSRC_ADDRIPV4 = RSRC_SUBIF + '/ipv4/address[{:s}]' RSRC_ADDRIPV4 = RSRC_SUBIF + '/ipv4/address[{:s}]' DEVICE_EMU_ENDPOINTS_COOKED = [] DEVICE_EMU_ENDPOINTS_COOKED = [] for endpoint_uuid,endpoint_type,endpoint_sample_types in DEVICE_EMU_EP_DESCS: for endpoint_data in DEVICE_EMU_EP_DESCS: endpoint_uuid = endpoint_data['uuid'] endpoint_type = endpoint_data['type'] endpoint_sample_types = endpoint_data['sample_types'] endpoint_resource_key = RSRC_EP.format(str(endpoint_uuid)) endpoint_resource_key = RSRC_EP.format(str(endpoint_uuid)) sample_types = {} sample_types = {} for endpoint_sample_type in endpoint_sample_types: for endpoint_sample_type in endpoint_sample_types: Loading Loading
src/device/tests/Device_Emulated.py +4 −1 Original line number Original line Diff line number Diff line Loading @@ -34,7 +34,10 @@ RSRC_SUBIF = RSRC_EP + '/subinterfaces/subinterface[{:d}]' RSRC_ADDRIPV4 = RSRC_SUBIF + '/ipv4/address[{:s}]' RSRC_ADDRIPV4 = RSRC_SUBIF + '/ipv4/address[{:s}]' DEVICE_EMU_ENDPOINTS_COOKED = [] DEVICE_EMU_ENDPOINTS_COOKED = [] for endpoint_uuid,endpoint_type,endpoint_sample_types in DEVICE_EMU_EP_DESCS: for endpoint_data in DEVICE_EMU_EP_DESCS: endpoint_uuid = endpoint_data['uuid'] endpoint_type = endpoint_data['type'] endpoint_sample_types = endpoint_data['sample_types'] endpoint_resource_key = RSRC_EP.format(str(endpoint_uuid)) endpoint_resource_key = RSRC_EP.format(str(endpoint_uuid)) sample_types = {} sample_types = {} for endpoint_sample_type in endpoint_sample_types: for endpoint_sample_type in endpoint_sample_types: Loading