Loading src/device/service/drivers/openconfig/templates/NetworkInstances.py +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ XPATH_NETWORK_INSTANCES = "//ocni:network-instances/ocni:network-instance" def parse(xml_data : ET.Element) -> List[Tuple[str, Dict[str, Any]]]: response = [] for xml_network_instance in xml_data.xpath(XPATH_NETWORK_INSTANCES, namespaces=NAMESPACES): LOGGER.info('xml_network_instance = {:s}'.format(str(ET.tostring(xml_network_instance)))) #LOGGER.info('xml_network_instance = {:s}'.format(str(ET.tostring(xml_network_instance)))) network_instance = {} Loading Loading
src/device/service/drivers/openconfig/templates/NetworkInstances.py +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ XPATH_NETWORK_INSTANCES = "//ocni:network-instances/ocni:network-instance" def parse(xml_data : ET.Element) -> List[Tuple[str, Dict[str, Any]]]: response = [] for xml_network_instance in xml_data.xpath(XPATH_NETWORK_INSTANCES, namespaces=NAMESPACES): LOGGER.info('xml_network_instance = {:s}'.format(str(ET.tostring(xml_network_instance)))) #LOGGER.info('xml_network_instance = {:s}'.format(str(ET.tostring(xml_network_instance)))) network_instance = {} Loading