Auto-generated patch by python-black
[integration/test.git] / csit / variables / topoprocessing / TargetFields.py
1 """
2 Definitions of target field paths widely used throughout the Topoprocessing suites.
3 """
4 # NT target fields
5 ISIS_NODE_TE_ROUTER_ID_IPV4 = (
6     "l3-unicast-igp-topology:igp-node-attributes"
7     "/isis-topology:isis-node-attributes"
8     "/isis-topology:ted"
9     "/isis-topology:te-router-id-ipv4"
10 )
11 ISIS_NODE_TE_ROUTER_ID_IPV6 = (
12     "l3-unicast-igp-topology:igp-node-attributes"
13     "/isis-topology:isis-node-attributes"
14     "/isis-topology:ted"
15     "/isis-topology:te-router-id-ipv6"
16 )
17 IGP_LINK_METRIC = (
18     "l3-unicast-igp-topology:igp-link-attributes/l3-unicast-igp-topology:metric"
19 )
20 IGP_LINK_NAME = (
21     "l3-unicast-igp-topology:igp-link-attributes/l3-unicast-igp-topology:name"
22 )
23 OVSDB_OFPORT = "ovsdb:ofport"
24 OVSDB_OVS_VERSION = "ovsdb:ovs-version"
25 OVSDB_TP_NAME = "ovsdb:name"
26
27 # Inventory target fields
28 OPENFLOW_NODE_IP_ADDRESS = "flow-node-inventory:ip-address"
29 OPENFLOW_NODE_SERIAL_NUMBER = "flow-node-inventory:serial-number"
30 OPENFLOW_NODE_CONNECTOR_PORT_NUMBER = "flow-node-inventory:port-number"
31 OPENFLOW_NODE_CONNECTOR_MAXIMUM_SPEED = "flow-node-inventory:maximum-speed"
32 OPENFLOW_NODE_CONNECTOR_NAME = "flow-node-inventory:name"