diff --git a/deploy.sh b/deploy.sh index b0bd374422820be5b3cb88dbf096a1fd037bf14e..71441fe5dd39b13658e1c7712115118b412d64cb 100755 --- a/deploy.sh +++ b/deploy.sh @@ -204,7 +204,7 @@ fi for COMPONENT in $TFS_COMPONENTS; do echo "Waiting for '$COMPONENT' component..." kubectl wait --namespace $TFS_K8S_NAMESPACE \ - --for='condition=available' --timeout=300s deployment/${COMPONENT}service + --for='condition=available' --timeout=10s deployment/${COMPONENT}service printf "\n" done diff --git a/launch_webui.sh b/launch_webui.sh new file mode 100755 index 0000000000000000000000000000000000000000..81f4611ae82e2f0472aa37e647408fe59d89bbdd --- /dev/null +++ b/launch_webui.sh @@ -0,0 +1 @@ +ssh -L 12345:localhost:80 ubuntu@192.168.165.78 diff --git a/log_am.txt b/log_am.txt new file mode 100644 index 0000000000000000000000000000000000000000..09a457dee361fe965b7884f5e2982d591c0db14f --- /dev/null +++ b/log_am.txt @@ -0,0 +1,3410 @@ +INFO:__main__:Starting... +DEBUG:l3_attackmitigator.service.l3_attackmitigatorService:Starting Service (tentative endpoint: 0.0.0.0:10002, max_workers: 10)... +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Creating Attack Mitigator Service +INFO:l3_attackmitigator.service.l3_attackmitigatorService:Listening on 0.0.0.0:10002... +DEBUG:l3_attackmitigator.service.l3_attackmitigatorService:Service started +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Attack Mitigator received attack mitigation information. Prediction confidence: 0.5101373195648193, Predicted class: 1 +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:ServiceId: +context_id { + context_uuid { + uuid: "admin" + } +} +service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } +} + +DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +DEBUG:context.client.ContextClient:Channel created +DEBUG:context.client.ContextClient:GetService request: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +DEBUG:context.client.ContextClient:GetService result: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:Creating channel to 10.152.183.52:3030... +DEBUG:service.client.ServiceClient:Channel created +DEBUG:service.client.ServiceClient:UpdateService request: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:UpdateService result: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service with new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId after updating with the new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Attack Mitigator received attack mitigation information. Prediction confidence: 0.5201160311698914, Predicted class: 1 +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:ServiceId: +context_id { + context_uuid { + uuid: "admin" + } +} +service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +DEBUG:context.client.ContextClient:Channel created +DEBUG:context.client.ContextClient:GetService request: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +DEBUG:context.client.ContextClient:GetService result: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:Creating channel to 10.152.183.52:3030... +DEBUG:service.client.ServiceClient:Channel created +DEBUG:service.client.ServiceClient:UpdateService request: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:UpdateService result: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service with new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId after updating with the new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Attack Mitigator received attack mitigation information. Prediction confidence: 0.5201160311698914, Predicted class: 1 +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:ServiceId: +context_id { + context_uuid { + uuid: "admin" + } +} +service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +DEBUG:context.client.ContextClient:Channel created +DEBUG:context.client.ContextClient:GetService request: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +DEBUG:context.client.ContextClient:GetService result: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:Creating channel to 10.152.183.52:3030... +DEBUG:service.client.ServiceClient:Channel created +DEBUG:service.client.ServiceClient:UpdateService request: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:UpdateService result: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service with new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId after updating with the new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Attack Mitigator received attack mitigation information. Prediction confidence: 0.5201160311698914, Predicted class: 1 +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:ServiceId: +context_id { + context_uuid { + uuid: "admin" + } +} +service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +DEBUG:context.client.ContextClient:Channel created +DEBUG:context.client.ContextClient:GetService request: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +DEBUG:context.client.ContextClient:GetService result: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:Creating channel to 10.152.183.52:3030... +DEBUG:service.client.ServiceClient:Channel created +DEBUG:service.client.ServiceClient:UpdateService request: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:UpdateService result: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service with new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId after updating with the new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Attack Mitigator received attack mitigation information. Prediction confidence: 0.5201160311698914, Predicted class: 1 +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:ServiceId: +context_id { + context_uuid { + uuid: "admin" + } +} +service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +DEBUG:context.client.ContextClient:Channel created +DEBUG:context.client.ContextClient:GetService request: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +DEBUG:context.client.ContextClient:GetService result: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:Creating channel to 10.152.183.52:3030... +DEBUG:service.client.ServiceClient:Channel created +DEBUG:service.client.ServiceClient:UpdateService request: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:UpdateService result: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service with new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId after updating with the new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Attack Mitigator received attack mitigation information. Prediction confidence: 0.5201160311698914, Predicted class: 1 +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:ServiceId: +context_id { + context_uuid { + uuid: "admin" + } +} +service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +DEBUG:context.client.ContextClient:Channel created +DEBUG:context.client.ContextClient:GetService request: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +DEBUG:context.client.ContextClient:GetService result: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:Creating channel to 10.152.183.52:3030... +DEBUG:service.client.ServiceClient:Channel created +DEBUG:service.client.ServiceClient:UpdateService request: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:UpdateService result: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service with new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId after updating with the new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Attack Mitigator received attack mitigation information. Prediction confidence: 0.5201160311698914, Predicted class: 1 +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:ServiceId: +context_id { + context_uuid { + uuid: "admin" + } +} +service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +DEBUG:context.client.ContextClient:Channel created +DEBUG:context.client.ContextClient:GetService request: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +DEBUG:context.client.ContextClient:GetService result: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:Creating channel to 10.152.183.52:3030... +DEBUG:service.client.ServiceClient:Channel created +DEBUG:service.client.ServiceClient:UpdateService request: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:UpdateService result: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service with new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId after updating with the new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Attack Mitigator received attack mitigation information. Prediction confidence: 0.5201160311698914, Predicted class: 1 +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:ServiceId: +context_id { + context_uuid { + uuid: "admin" + } +} +service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +DEBUG:context.client.ContextClient:Channel created +DEBUG:context.client.ContextClient:GetService request: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +DEBUG:context.client.ContextClient:GetService result: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:Creating channel to 10.152.183.52:3030... +DEBUG:service.client.ServiceClient:Channel created +DEBUG:service.client.ServiceClient:UpdateService request: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:UpdateService result: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service with new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId after updating with the new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Attack Mitigator received attack mitigation information. Prediction confidence: 0.5201160311698914, Predicted class: 1 +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:ServiceId: +context_id { + context_uuid { + uuid: "admin" + } +} +service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" +} + +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service obtained from ServiceId: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + +DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +DEBUG:context.client.ContextClient:Channel created +DEBUG:context.client.ContextClient:GetService request: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +DEBUG:context.client.ContextClient:GetService result: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:Creating channel to 10.152.183.52:3030... +DEBUG:service.client.ServiceClient:Channel created +DEBUG:service.client.ServiceClient:UpdateService request: {"service_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/settings", "resource_value": "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R1-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/device[R3-EMU]/endpoint[13/1/2]/settings", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}"}}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}, {"acl": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "rule_set": {"description": "DROP undesired HTTPS traffic", "entries": [{"action": {"forward_action": "ACLFORWARDINGACTION_DROP", "log_action": "ACLLOGACTION_NOLOG"}, "description": "DROP-10.100.200.4:52982-216.58.215.173:443", "match": {"dscp": 0, "dst_address": "216.58.215.173/32", "dst_port": 443, "end_mpls_label": 0, "protocol": 6, "src_address": "10.100.200.4/32", "src_port": 52982, "start_mpls_label": 0}, "sequence_id": 0}], "name": "DROP-HTTPS", "type": "ACLRULETYPE_IPV4", "user_id": ""}}, "action": "CONFIGACTION_SET"}]}, "service_constraints": [{"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "1"}}}, {"endpoint_location": {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "location": {"region": "2"}}}], "service_endpoint_ids": [{"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}], "service_id": {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}}, "service_status": {"service_status": "SERVICESTATUS_ACTIVE"}, "service_type": "SERVICETYPE_L3NM"} +DEBUG:service.client.ServiceClient:UpdateService result: {"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e"}} +INFO:l3_attackmitigator.service.l3_attackmitigatorServiceServicerImpl:Service with new rule: +service_id { + context_id { + context_uuid { + uuid: "admin" + } + } + service_uuid { + uuid: "b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e" + } +} +service_type: SERVICETYPE_L3NM +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_endpoint_ids { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "1" + } + } +} +service_constraints { + endpoint_location { + endpoint_id { + device_id { + device_uuid { + uuid: "R3-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + location { + region: "2" + } + } +} +service_status { + service_status: SERVICESTATUS_ACTIVE +} +service_config { + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/settings" + resource_value: "{\"address_families\": [\"IPV4\"], \"bgp_as\": 65000, \"bgp_route_target\": \"65000:333\", \"mtu\": 1512}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R1-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:100\", \"router_id\": \"10.10.10.1\", \"sub_interface_index\": 400, \"vlan_id\": 400}" + } + } + config_rules { + action: CONFIGACTION_SET + custom { + resource_key: "/device[R3-EMU]/endpoint[13/1/2]/settings" + resource_value: "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"route_distinguisher\": \"65000:200\", \"router_id\": \"20.20.20.1\", \"sub_interface_index\": 500, \"vlan_id\": 500}" + } + } + config_rules { + action: CONFIGACTION_SET + acl { + endpoint_id { + device_id { + device_uuid { + uuid: "R1-EMU" + } + } + endpoint_uuid { + uuid: "13/1/2" + } + } + rule_set { + name: "DROP-HTTPS" + type: ACLRULETYPE_IPV4 + description: "DROP undesired HTTPS traffic" + entries { + description: "DROP-10.100.200.4:52982-216.58.215.173:443" + match { + protocol: 6 + src_address: "10.100.200.4/32" + dst_address: "216.58.215.173/32" + src_port: 52982 + dst_port: 443 + } + action { + forward_action: ACLFORWARDINGACTION_DROP + log_action: ACLLOGACTION_NOLOG + } + } + } + } + } +} + diff --git a/log_device.txt b/log_device.txt new file mode 100644 index 0000000000000000000000000000000000000000..cff4b357f37ede64c9fe1344eb241281e0529c3c --- /dev/null +++ b/log_device.txt @@ -0,0 +1,1539 @@ +/usr/local/lib/python3.9/site-packages/paramiko/transport.py:236: CryptographyDeprecationWarning: Blowfish has been deprecated + "class": algorithms.Blowfish, +[2022-10-13 19:45:10,255] INFO:__main__:Starting... +[2022-10-13 19:45:10,257] INFO:common.orm.Factory:Selected Database Backend: inmemory +[2022-10-13 19:45:10,257] DEBUG:monitoring.client.MonitoringClient:Creating channel to monitoringservice:7070... +[2022-10-13 19:45:10,257] DEBUG:monitoring.client.MonitoringClient:Channel created +[2022-10-13 19:45:10,258] DEBUG:device.service.DeviceServiceServicerImpl:Creating Servicer... +[2022-10-13 19:45:10,258] DEBUG:context.client.ContextClient:Creating channel to 10.152.183.162:1010... +[2022-10-13 19:45:10,258] DEBUG:context.client.ContextClient:Channel created +[2022-10-13 19:45:10,258] DEBUG:device.service.DeviceServiceServicerImpl:Servicer Created +[2022-10-13 19:45:10,258] INFO:device.service.DeviceService:Starting Service (tentative endpoint: 0.0.0.0:2020, max_workers: 200)... +[2022-10-13 19:45:10,265] INFO:device.service.DeviceService:Listening on 0.0.0.0:2020... +[2022-10-13 19:45:10,267] DEBUG:device.service.DeviceService:Service started +[2022-10-13 19:48:47,616] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:47,617] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:47,630] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(R1-EMU) with filter_fields({'device_type': 'emu-packet-router', 'driver': [0]})... +[2022-10-13 19:48:47,630] INFO:device.service.driver_api.DriverInstanceCache:Driver(EmulatedDriver) selected for device(R1-EMU) with filter_fields({'device_type': 'emu-packet-router', 'driver': [0]})... +[2022-10-13 19:48:47,654] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:47,683] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:47,684] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:47,686] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:47,687] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:47,694] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(R2-EMU) with filter_fields({'device_type': 'emu-packet-router', 'driver': [0]})... +[2022-10-13 19:48:47,694] INFO:device.service.driver_api.DriverInstanceCache:Driver(EmulatedDriver) selected for device(R2-EMU) with filter_fields({'device_type': 'emu-packet-router', 'driver': [0]})... +[2022-10-13 19:48:47,705] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:47,771] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:47,771] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice reply: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:47,772] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_PACKETS_RECEIVED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "1"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:47,802] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:47,803] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:47,826] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(R3-EMU) with filter_fields({'device_type': 'emu-packet-router', 'driver': [0]})... +[2022-10-13 19:48:47,826] INFO:device.service.driver_api.DriverInstanceCache:Driver(EmulatedDriver) selected for device(R3-EMU) with filter_fields({'device_type': 'emu-packet-router', 'driver': [0]})... +[2022-10-13 19:48:47,842] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:47,893] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:47,893] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:47,895] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"13/0/0\"}, {\"sample_types\": [101, 102, 201, 202], \"type\": \"copper\", \"uuid\": \"13/1/2\"}]}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:47,896] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:47,988] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:47,989] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(R4-EMU) with filter_fields({'device_type': 'emu-packet-router', 'driver': [0]})... +[2022-10-13 19:48:47,990] INFO:device.service.driver_api.DriverInstanceCache:Driver(EmulatedDriver) selected for device(R4-EMU) with filter_fields({'device_type': 'emu-packet-router', 'driver': [0]})... +[2022-10-13 19:48:48,001] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,147] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:48,148] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:48,155] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_PACKETS_TRANSMITTED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "2"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:48,165] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,184] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:48,184] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice reply: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:48,185] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:48,187] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:48,191] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:48,191] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig request: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:48,192] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/address", "resource_value": "127.0.0.1"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/port", "resource_value": "0"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "_connect/settings", "resource_value": "{\"endpoints\": [{\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}, {\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}, {\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}, {\"sample_types\": [], \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}]}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:48:48,192] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:48,192] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:48,229] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:48,230] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:48,230] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:48,235] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_BYTES_TRANSMITTED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "3"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:48,274] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,288] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig reply: {"config_rules": []} +[2022-10-13 19:48:48,312] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig request: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:48,312] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:48,318] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": []}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,319] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:48,341] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,354] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig reply: {"config_rules": []} +[2022-10-13 19:48:48,358] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(O1-OLS) with filter_fields({'device_type': 'emu-open-line-system', 'driver': [0]})... +[2022-10-13 19:48:48,359] INFO:device.service.driver_api.DriverInstanceCache:Driver(EmulatedDriver) selected for device(O1-OLS) with filter_fields({'device_type': 'emu-open-line-system', 'driver': [0]})... +[2022-10-13 19:48:48,377] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:48:48,378] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": []}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,378] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:48,399] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,445] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig reply: {"config_rules": []} +[2022-10-13 19:48:48,479] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,480] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,499] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig reply: {"config_rules": []} +[2022-10-13 19:48:48,501] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": []}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,504] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,525] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": []}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,533] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:48,545] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,553] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:48,553] DEBUG:device.service.DeviceServiceServicerImpl:AddDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:48,609] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,647] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,679] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:48,679] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:48,679] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:48,688] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_BYTES_RECEIVED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "4"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:48,719] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,767] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,784] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:48,784] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:48,862] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:48,863] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:48,909] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:48,910] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:48,947] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:48,976] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:49,007] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:49,007] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:49,051] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:48:49,087] DEBUG:device.service.DeviceServiceServicerImpl:GetInitialConfig reply: {"config_rules": []} +[2022-10-13 19:48:49,092] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": []}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}, "topology_id": {"context_id": {"context_uuid": {"uuid": ""}}, "topology_uuid": {"uuid": ""}}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:48:49,093] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:49,135] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:49,135] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:49,147] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:49,455] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_DISABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:48:49,482] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:48:49,519] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:49,519] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:49,570] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:49,571] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:49,855] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_PACKETS_TRANSMITTED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "5"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:49,875] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:49,924] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:49,924] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:49,931] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_PACKETS_RECEIVED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "6"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:49,941] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,220] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:50,221] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,227] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_BYTES_TRANSMITTED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "7"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,242] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,347] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:50,348] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,365] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_BYTES_RECEIVED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "8"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,374] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R2-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,423] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R2-EMU"}} +[2022-10-13 19:48:50,424] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,428] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_PACKETS_RECEIVED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "9"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,444] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,493] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:50,494] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,502] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_BYTES_RECEIVED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "10"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,512] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,560] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:50,560] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,565] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_PACKETS_TRANSMITTED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "11"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,590] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,635] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:50,635] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,641] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_BYTES_TRANSMITTED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "12"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,651] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,705] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:50,706] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,710] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_PACKETS_RECEIVED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "13"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,722] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,773] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:50,774] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,780] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_PACKETS_TRANSMITTED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "14"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,801] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,848] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:50,848] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,853] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_BYTES_RECEIVED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "15"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,869] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:50,945] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:50,946] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:50,951] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi request: {"kpi_descriptor": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_id": {"endpoint_uuid": {"uuid": "13/1/2"}}, "kpi_description": "emu-packet-router", "kpi_id_list": [], "kpi_sample_type": "KPISAMPLETYPE_BYTES_TRANSMITTED", "service_id": {"service_uuid": {"uuid": ""}}}, "kpi_id": {"kpi_id": {"uuid": "16"}}, "sampling_duration_s": 86400.0, "sampling_interval_s": 30.0} +[2022-10-13 19:48:50,963] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R4-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:51,022] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R4-EMU"}} +[2022-10-13 19:48:51,022] DEBUG:device.service.DeviceServiceServicerImpl:MonitorDeviceKpi reply: {} +[2022-10-13 19:48:58,306] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:48:58,306] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:58,345] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:48:58,368] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:48:58,433] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:58,433] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:48:58,605] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:58,606] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:58,648] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:58,694] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:58,873] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:58,873] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:58,877] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:58,878] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:58,990] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:59,065] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:59,285] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:59,286] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:48:59,291] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:59,291] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:59,378] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:59,426] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:59,536] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:59,537] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:59,541] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:59,542] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:59,644] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:59,717] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:48:59,896] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:48:59,896] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:17,978] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:49:17,990] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "1"}}, "kpi_value": {"floatVal": 60867532.0}, "timestamp": {"timestamp": 1665690557.980122}} +[2022-10-13 19:49:18,083] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:18,168] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:49:18,176] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "2"}}, "kpi_value": {"floatVal": 75540310.0}, "timestamp": {"timestamp": 1665690558.168975}} +[2022-10-13 19:49:18,226] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:18,454] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:49:18,462] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "3"}}, "kpi_value": {"floatVal": 108247474000.0}, "timestamp": {"timestamp": 1665690558.45511}} +[2022-10-13 19:49:18,499] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:19,139] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:49:19,144] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "4"}}, "kpi_value": {"floatVal": 88912790000.0}, "timestamp": {"timestamp": 1665690559.140137}} +[2022-10-13 19:49:19,251] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:19,869] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "5"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690559.862924}} +[2022-10-13 19:49:20,015] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:20,021] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "6"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690559.935739}} +[2022-10-13 19:49:20,030] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:20,239] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "7"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690560.233246}} +[2022-10-13 19:49:20,310] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:20,375] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "8"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690560.368476}} +[2022-10-13 19:49:20,384] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:20,433] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:49:20,442] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "9"}}, "kpi_value": {"floatVal": 62305784.0}, "timestamp": {"timestamp": 1665690560.433577}} +[2022-10-13 19:49:20,507] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:49:20,572] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:49:20,634] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:20,641] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "10"}}, "kpi_value": {"floatVal": 57687340000.0}, "timestamp": {"timestamp": 1665690560.507704}} +[2022-10-13 19:49:20,645] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:49:20,680] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:20,684] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "11"}}, "kpi_value": {"floatVal": 23431720.0}, "timestamp": {"timestamp": 1665690560.572637}} +[2022-10-13 19:49:20,846] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:20,851] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "12"}}, "kpi_value": {"floatVal": 32307290000.0}, "timestamp": {"timestamp": 1665690560.645268}} +[2022-10-13 19:49:20,903] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:20,908] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "13"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690560.714394}} +[2022-10-13 19:49:20,999] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:21,003] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "14"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690560.787479}} +[2022-10-13 19:49:21,056] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:21,060] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "15"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690560.856589}} +[2022-10-13 19:49:21,246] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:21,256] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "16"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690560.957064}} +[2022-10-13 19:49:21,367] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:40,362] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:40,363] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:40,406] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:40,453] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:40,526] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:40,526] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:40,802] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:40,803] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:40,911] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:40,987] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:41,178] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:41,179] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:41,188] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:41,189] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:41,287] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:41,392] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:41,551] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:41,552] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:41,556] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:41,556] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:41,657] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:41,731] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:41,894] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:41,894] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:41,901] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:41,901] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:42,010] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:42,066] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:42,253] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:42,253] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:43,350] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:43,351] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:43,429] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:43,454] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:43,524] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:43,525] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:43,851] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:43,851] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:43,966] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:44,022] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:44,183] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:44,183] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:44,189] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:44,190] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:44,296] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:44,404] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:44,590] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:44,590] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:44,596] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:44,596] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:44,757] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:44,851] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:45,093] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:45,093] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:45,098] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:45,098] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:45,206] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:45,281] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:45,438] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:45,439] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:46,945] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:46,946] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:47,029] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:47,056] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:47,133] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:47,134] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:47,422] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:47,422] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:47,561] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:47,697] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:47,882] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:47,882] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:47,897] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:47,897] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:47,978] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:49:47,982] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "1"}}, "kpi_value": {"floatVal": 62178508.0}, "timestamp": {"timestamp": 1665690587.978927}} +[2022-10-13 19:49:47,998] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:48,077] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:48,088] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:48,161] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:49:48,165] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "2"}}, "kpi_value": {"floatVal": 77566056.0}, "timestamp": {"timestamp": 1665690588.16139}} +[2022-10-13 19:49:48,259] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:48,259] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:48,264] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:48,264] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:48,315] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:48,383] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:48,457] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:48,459] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:49:48,463] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "3"}}, "kpi_value": {"floatVal": 110646890000.0}, "timestamp": {"timestamp": 1665690588.459788}} +[2022-10-13 19:49:48,581] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:48,641] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:48,642] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:48,648] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:48,648] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:48,741] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:48,809] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:48,985] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:48,986] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:49,142] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:49:49,146] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "4"}}, "kpi_value": {"floatVal": 90896270000.0}, "timestamp": {"timestamp": 1665690589.142661}} +[2022-10-13 19:49:49,270] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:49,867] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "5"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690589.863039}} +[2022-10-13 19:49:49,931] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:49,940] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "6"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690589.935006}} +[2022-10-13 19:49:49,983] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:49,983] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:49,999] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,033] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:50,065] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:50,144] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:50,144] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:50,237] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "7"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690590.233854}} +[2022-10-13 19:49:50,278] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,371] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "8"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690590.368223}} +[2022-10-13 19:49:50,382] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,431] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:50,431] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:50,437] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:49:50,441] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "9"}}, "kpi_value": {"floatVal": 62299132.0}, "timestamp": {"timestamp": 1665690590.437305}} +[2022-10-13 19:49:50,507] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:49:50,510] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,514] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "10"}}, "kpi_value": {"floatVal": 57816842000.0}, "timestamp": {"timestamp": 1665690590.507311}} +[2022-10-13 19:49:50,526] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:50,575] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:49:50,583] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,586] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "11"}}, "kpi_value": {"floatVal": 26607382.0}, "timestamp": {"timestamp": 1665690590.575608}} +[2022-10-13 19:49:50,600] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:50,644] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:49:50,689] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,694] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "12"}}, "kpi_value": {"floatVal": 36661920000.0}, "timestamp": {"timestamp": 1665690590.645041}} +[2022-10-13 19:49:50,746] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,757] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "13"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690590.714364}} +[2022-10-13 19:49:50,789] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:50,789] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:50,799] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:50,799] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:50,802] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,806] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "14"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690590.786688}} +[2022-10-13 19:49:50,846] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,860] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "15"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690590.856557}} +[2022-10-13 19:49:50,885] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:50,912] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:51,011] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "16"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690590.971169}} +[2022-10-13 19:49:51,022] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:51,071] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:49:51,213] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:51,213] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:51,217] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:51,217] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:51,331] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:51,391] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:51,545] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:51,545] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:51,549] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:51,550] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:51,658] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:51,723] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:51,888] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:51,889] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:53,211] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:53,211] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:53,293] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:53,323] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:53,411] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:53,412] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:53,698] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:53,698] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:53,822] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:53,914] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:54,126] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:54,127] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:54,137] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:54,137] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:54,254] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:54,309] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:54,478] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:54,479] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:54,484] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:54,485] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:54,638] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:54,696] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:54,864] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:54,864] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:54,869] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:54,869] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:54,963] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:55,026] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:55,212] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:55,212] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:56,221] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:56,221] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:56,292] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:56,330] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:56,426] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:56,427] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:56,749] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:56,749] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:56,880] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:56,993] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:57,174] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:57,175] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:57,183] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:57,183] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:57,283] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:57,407] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:57,593] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:57,594] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:49:57,600] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:57,601] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:57,704] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:57,819] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:58,018] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:58,018] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:58,022] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:58,023] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:58,157] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:58,234] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:49:58,425] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:58,425] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:49:59,915] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:49:59,915] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:49:59,984] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:00,018] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:00,106] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:00,106] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:00,415] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:00,416] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:00,535] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:00,609] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:00,784] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:00,785] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:00,790] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:00,790] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:00,895] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:00,962] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:01,149] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:01,149] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:01,155] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:01,155] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:01,254] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:01,314] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:01,500] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:01,501] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:01,507] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:01,507] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:01,610] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:01,714] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:01,897] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:01,898] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:02,965] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:02,965] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:03,056] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:03,095] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:03,201] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:03,201] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:03,500] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:03,500] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:03,602] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:03,676] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:03,880] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:03,880] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:03,887] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:03,887] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:03,981] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:04,052] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:04,208] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:04,209] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:04,215] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:04,215] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:04,322] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:04,405] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:04,573] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:04,574] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:04,578] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:04,579] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:04,725] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:04,794] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:04,958] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:04,958] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:06,387] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:06,388] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:06,461] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:06,519] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:06,635] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:06,636] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:06,919] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:06,919] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:07,057] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:07,176] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:07,384] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:07,385] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:07,391] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:07,392] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:07,495] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:07,596] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:07,802] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:07,803] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:07,809] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:07,810] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:07,954] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:08,113] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:08,318] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:08,319] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:08,329] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:08,330] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:08,502] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:08,610] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:08,904] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:08,904] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:10,008] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:10,009] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:10,105] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:10,162] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:10,290] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:10,291] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:10,568] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:10,568] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:10,722] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:10,806] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:11,007] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:11,007] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:11,015] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:11,016] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:11,114] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:11,208] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:11,378] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:11,378] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:11,383] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:11,384] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:11,504] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:11,568] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:11,747] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:11,748] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:11,751] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:11,752] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:11,854] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:11,940] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:12,113] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:12,114] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:13,618] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:13,618] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:13,696] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:13,790] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:13,979] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:13,979] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:14,323] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:14,323] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:14,421] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:14,495] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:14,641] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:14,641] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:14,645] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:14,646] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:14,793] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:14,864] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:15,047] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:15,047] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:15,051] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:15,051] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:15,167] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:15,238] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:15,404] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:15,405] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:15,412] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:15,412] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:15,511] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:15,585] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:15,832] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:15,832] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:17,047] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:17,047] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:17,152] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:17,248] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:17,419] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:17,419] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:17,743] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:17,744] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:17,863] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:17,979] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:50:17,996] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "1"}}, "kpi_value": {"floatVal": 63768348.0}, "timestamp": {"timestamp": 1665690617.979384}} +[2022-10-13 19:50:18,008] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:18,127] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:18,160] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:50:18,169] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "2"}}, "kpi_value": {"floatVal": 77987976.0}, "timestamp": {"timestamp": 1665690618.16072}} +[2022-10-13 19:50:18,186] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:18,187] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:18,190] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:18,195] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:18,195] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:18,354] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:18,429] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:18,454] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:50:18,458] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "3"}}, "kpi_value": {"floatVal": 111262590000.0}, "timestamp": {"timestamp": 1665690618.454327}} +[2022-10-13 19:50:18,572] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:18,620] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:18,621] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:18,625] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:18,626] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:18,716] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:18,813] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:19,026] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:19,026] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:19,031] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:19,031] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:19,139] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:50:19,145] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "4"}}, "kpi_value": {"floatVal": 92872240000.0}, "timestamp": {"timestamp": 1665690619.139699}} +[2022-10-13 19:50:19,168] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:19,179] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:19,245] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:19,474] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:19,475] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:19,874] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "5"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690619.870423}} +[2022-10-13 19:50:19,925] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:19,939] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "6"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690619.934752}} +[2022-10-13 19:50:19,961] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,238] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "7"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690620.233222}} +[2022-10-13 19:50:20,298] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,372] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "8"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690620.368158}} +[2022-10-13 19:50:20,387] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,432] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:50:20,436] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "9"}}, "kpi_value": {"floatVal": 62457620.0}, "timestamp": {"timestamp": 1665690620.432992}} +[2022-10-13 19:50:20,505] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:50:20,523] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,528] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "10"}}, "kpi_value": {"floatVal": 57864253000.0}, "timestamp": {"timestamp": 1665690620.505755}} +[2022-10-13 19:50:20,544] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,571] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:50:20,575] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "11"}}, "kpi_value": {"floatVal": 32080710.0}, "timestamp": {"timestamp": 1665690620.571795}} +[2022-10-13 19:50:20,591] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,644] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:50:20,648] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "12"}}, "kpi_value": {"floatVal": 44805763000.0}, "timestamp": {"timestamp": 1665690620.644807}} +[2022-10-13 19:50:20,746] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,752] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "13"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690620.714335}} +[2022-10-13 19:50:20,808] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,812] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "14"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690620.786697}} +[2022-10-13 19:50:20,850] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,872] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "15"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690620.856909}} +[2022-10-13 19:50:20,877] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:20,967] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "16"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690620.956732}} +[2022-10-13 19:50:21,016] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:21,017] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:21,046] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:21,123] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:21,170] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:21,330] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:21,331] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:21,684] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:21,684] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:21,811] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:21,878] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:22,085] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:22,085] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:22,091] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:22,092] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:22,203] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:22,296] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:22,506] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:22,507] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:22,515] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:22,516] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:22,619] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:22,715] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:22,954] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:22,955] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:22,962] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:22,963] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:23,108] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:23,206] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:23,516] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:23,516] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:24,732] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:24,733] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:24,859] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:24,915] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:25,076] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:25,077] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:25,393] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:25,394] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:25,508] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:25,625] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:25,796] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:25,797] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:25,803] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:25,804] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:25,911] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:25,975] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:26,153] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:26,154] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:26,161] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:26,161] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:26,346] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:26,443] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:26,626] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:26,626] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:26,630] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:26,630] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:26,741] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:26,798] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:27,036] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:27,036] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:28,791] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:28,792] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:28,931] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:28,986] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:29,115] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:29,115] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:29,399] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:29,399] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:29,502] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:29,578] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:29,743] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:29,743] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:29,751] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:29,752] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:29,860] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:29,927] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:30,104] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:30,104] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:30,111] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:30,111] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:30,205] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:30,269] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:30,515] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:30,515] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:30,530] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:30,531] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:30,676] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:30,735] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:30,931] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:30,932] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:32,096] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:32,097] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:32,201] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:32,284] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:32,424] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:32,424] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:32,767] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:32,767] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:32,865] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:32,922] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:33,101] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:33,102] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:33,106] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:33,106] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:33,217] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:33,295] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:33,459] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:33,460] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:33,464] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:33,464] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:33,574] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:33,644] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:33,884] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:33,885] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:33,888] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:33,889] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:34,010] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:34,075] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:34,287] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:34,288] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:36,052] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:36,053] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:36,232] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:36,305] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:36,485] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:36,486] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:36,796] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:36,797] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:36,891] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:36,954] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:37,130] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:37,130] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:37,134] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:37,135] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:37,231] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:37,328] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:37,488] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:37,488] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:37,494] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:37,495] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:37,594] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:37,685] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:37,860] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:37,860] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:37,863] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:37,864] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:37,964] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:38,037] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:38,195] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:38,196] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:39,491] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:39,492] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:39,603] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:39,662] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:39,828] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:39,828] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:40,136] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:40,136] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:40,288] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:40,348] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:40,534] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:40,535] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:40,539] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:40,540] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:40,633] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:40,719] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:40,980] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:40,980] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:40,988] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:40,989] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:41,128] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:41,199] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:41,352] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:41,352] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:41,357] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:41,357] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:41,503] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:41,573] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:41,740] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:41,741] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:43,391] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:43,391] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:43,508] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:43,566] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:43,803] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:43,804] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:44,189] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:44,189] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:44,297] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:44,363] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:44,560] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:44,561] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:44,566] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:44,567] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:44,722] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:44,817] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:45,017] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:45,018] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:45,023] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:45,024] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:45,169] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:45,241] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:45,413] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:45,414] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:45,418] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:45,418] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:45,514] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:45,588] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:45,783] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:45,784] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:46,857] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:46,857] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:46,980] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:47,080] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:47,243] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:47,243] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:47,591] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:47,592] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:47,736] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:47,811] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:47,976] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:50:47,981] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "1"}}, "kpi_value": {"floatVal": 64977428.0}, "timestamp": {"timestamp": 1665690647.976258}} +[2022-10-13 19:50:48,014] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:48,015] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:48,020] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:48,021] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:48,093] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:48,142] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:48,160] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:50:48,165] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "2"}}, "kpi_value": {"floatVal": 76727160.0}, "timestamp": {"timestamp": 1665690648.162122}} +[2022-10-13 19:50:48,215] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:48,260] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:48,419] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:48,423] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:48,428] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:48,429] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:48,454] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:50:48,459] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "3"}}, "kpi_value": {"floatVal": 109978680000.0}, "timestamp": {"timestamp": 1665690648.454825}} +[2022-10-13 19:50:48,604] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:48,615] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:48,671] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:48,885] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:48,886] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:48,890] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:48,890] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:49,003] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:49,064] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:49,139] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:50:49,143] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "4"}}, "kpi_value": {"floatVal": 94614440000.0}, "timestamp": {"timestamp": 1665690649.139959}} +[2022-10-13 19:50:49,184] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:49,280] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:49,280] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:49,872] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "5"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690649.864109}} +[2022-10-13 19:50:50,073] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,080] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "6"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690649.935267}} +[2022-10-13 19:50:50,106] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,236] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "7"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690650.232874}} +[2022-10-13 19:50:50,382] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,388] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "8"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690650.368314}} +[2022-10-13 19:50:50,412] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,432] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:50:50,436] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "9"}}, "kpi_value": {"floatVal": 62498428.0}, "timestamp": {"timestamp": 1665690650.432706}} +[2022-10-13 19:50:50,486] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,505] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:50:50,509] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "10"}}, "kpi_value": {"floatVal": 57921516000.0}, "timestamp": {"timestamp": 1665690650.50566}} +[2022-10-13 19:50:50,526] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,571] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:50:50,575] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "11"}}, "kpi_value": {"floatVal": 36901176.0}, "timestamp": {"timestamp": 1665690650.571752}} +[2022-10-13 19:50:50,636] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,644] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:50:50,648] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "12"}}, "kpi_value": {"floatVal": 51512775000.0}, "timestamp": {"timestamp": 1665690650.644957}} +[2022-10-13 19:50:50,656] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,718] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "13"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690650.714904}} +[2022-10-13 19:50:50,721] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,790] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "14"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690650.78645}} +[2022-10-13 19:50:50,803] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,862] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "15"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690650.856299}} +[2022-10-13 19:50:50,896] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:50,905] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:50,907] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:50,962] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "16"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690650.955946}} +[2022-10-13 19:50:51,059] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:51,116] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:51,116] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:50:51,290] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:51,290] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:51,565] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:51,565] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:51,674] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:51,742] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:51,910] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:51,910] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:51,916] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:51,916] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:52,048] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:52,117] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:52,358] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:52,359] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:52,364] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:52,364] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:52,480] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:52,581] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:52,783] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:52,783] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:52,788] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:52,788] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:52,908] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:53,020] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:53,206] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:53,206] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:54,501] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:54,501] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:54,623] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:54,681] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:54,879] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:54,879] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:55,208] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:55,208] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:55,309] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:55,405] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:55,560] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:55,561] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:55,567] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:55,567] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:55,677] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:55,783] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:55,977] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:55,977] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:55,983] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:55,983] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:56,113] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:56,190] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:56,328] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:56,329] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:56,338] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:56,338] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:56,431] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:56,509] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:56,705] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:56,706] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:58,297] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:58,298] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:58,410] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:58,471] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:50:58,679] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:58,680] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:50:58,981] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:58,981] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:59,078] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:59,173] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:59,357] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:59,357] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:59,362] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:59,362] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:59,474] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:59,554] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:59,723] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:59,724] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:50:59,727] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:59,728] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:50:59,829] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:50:59,889] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:00,048] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:00,049] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:00,053] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:00,054] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:00,151] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:00,215] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:00,422] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:00,422] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:01,677] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:01,677] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:01,823] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:01,885] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:02,085] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:02,085] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:02,414] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:02,415] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:02,570] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:02,658] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:02,853] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:02,853] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:02,857] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:02,857] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:02,966] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:03,036] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:03,250] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:03,250] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:03,259] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:03,260] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:03,419] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:03,478] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:03,647] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:03,648] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:03,654] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:03,655] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:03,802] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:03,873] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:04,062] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:04,062] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:05,832] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:05,832] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:05,961] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:06,076] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:06,296] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:06,297] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:06,580] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:06,581] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:06,711] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:06,803] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:06,974] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:06,980] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:06,986] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:06,986] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:07,079] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:07,183] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:07,365] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:07,365] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:07,369] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:07,369] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:07,454] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:07,525] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:07,696] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:07,697] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:07,701] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:07,702] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:07,821] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:07,897] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:08,111] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:08,112] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:09,513] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:09,513] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:09,650] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:09,722] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:09,960] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:09,961] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:10,239] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:10,240] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:10,381] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:10,488] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:10,649] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:10,650] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:10,655] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:10,655] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:10,779] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:10,892] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:11,100] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:11,100] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:11,105] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:11,105] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:11,215] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:11,292] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:11,455] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:11,456] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:11,460] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:11,460] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:11,584] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:11,704] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:11,916] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:11,917] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:13,599] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:13,600] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:13,737] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:13,829] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:14,044] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:14,044] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:14,338] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:14,338] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:14,456] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:14,530] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:14,729] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:14,729] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:14,735] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:14,735] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:14,861] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:14,945] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:15,141] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:15,141] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:15,147] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:15,147] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:15,248] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:15,303] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:15,446] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:15,446] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:15,454] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:15,454] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:15,579] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:15,679] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:15,836] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:15,837] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:16,908] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:16,908] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:17,032] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:17,103] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:17,304] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:17,305] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:17,560] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:17,561] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:17,686] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:17,742] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:17,908] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:17,908] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:17,913] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:17,914] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:17,974] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:51:17,981] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "1"}}, "kpi_value": {"floatVal": 65818604.0}, "timestamp": {"timestamp": 1665690677.974898}} +[2022-10-13 19:51:18,021] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:18,031] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:18,079] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:18,160] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:51:18,165] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "2"}}, "kpi_value": {"floatVal": 74598184.0}, "timestamp": {"timestamp": 1665690678.160558}} +[2022-10-13 19:51:18,226] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:18,227] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:18,231] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:18,232] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:18,335] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:18,341] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:18,411] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:18,454] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:51:18,457] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "3"}}, "kpi_value": {"floatVal": 106542600000.0}, "timestamp": {"timestamp": 1665690678.454449}} +[2022-10-13 19:51:18,601] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:18,602] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:18,602] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:18,607] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:18,607] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:18,710] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:18,773] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:18,967] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:18,968] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:19,142] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:51:19,150] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "4"}}, "kpi_value": {"floatVal": 95937634000.0}, "timestamp": {"timestamp": 1665690679.142608}} +[2022-10-13 19:51:19,249] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:19,867] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "5"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690679.863966}} +[2022-10-13 19:51:19,998] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:20,001] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "6"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690679.935508}} +[2022-10-13 19:51:20,124] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:20,236] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "7"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690680.232737}} +[2022-10-13 19:51:20,397] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:20,402] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "8"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690680.377912}} +[2022-10-13 19:51:20,432] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:51:20,437] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:20,441] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "9"}}, "kpi_value": {"floatVal": 62653290.0}, "timestamp": {"timestamp": 1665690680.432872}} +[2022-10-13 19:51:20,499] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:20,509] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:51:20,513] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "10"}}, "kpi_value": {"floatVal": 58005260000.0}, "timestamp": {"timestamp": 1665690680.509589}} +[2022-10-13 19:51:20,545] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:20,571] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:51:20,576] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "11"}}, "kpi_value": {"floatVal": 37991130.0}, "timestamp": {"timestamp": 1665690680.571881}} +[2022-10-13 19:51:20,582] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:20,644] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:51:20,647] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "12"}}, "kpi_value": {"floatVal": 52790895000.0}, "timestamp": {"timestamp": 1665690680.644798}} +[2022-10-13 19:51:20,746] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:20,746] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:20,793] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:20,800] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "13"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690680.714218}} +[2022-10-13 19:51:20,914] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:20,979] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:20,986] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "14"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690680.786866}} +[2022-10-13 19:51:21,017] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:21,018] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:21,022] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "15"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690680.856782}} +[2022-10-13 19:51:21,038] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:21,041] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "16"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690680.956801}} +[2022-10-13 19:51:21,047] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:21,275] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:21,276] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:21,539] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:21,539] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:21,637] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:21,695] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:21,834] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:21,835] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:21,842] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:21,843] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:21,953] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:22,013] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:22,188] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:22,189] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:22,194] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:22,194] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:22,295] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:22,361] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:22,581] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:22,581] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:22,587] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:22,588] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:22,695] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:22,754] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:22,919] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:22,919] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:24,089] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:24,089] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:24,279] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:24,379] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:24,636] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:24,637] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:24,936] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:24,936] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:25,034] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:25,149] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:25,329] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:25,330] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:25,337] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:25,338] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:25,442] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:25,527] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:25,739] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:25,739] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:25,745] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:25,745] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:25,878] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:25,947] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:26,157] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:26,157] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:26,161] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:26,161] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:26,299] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:26,368] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:26,540] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:26,540] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:28,343] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:28,343] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:28,502] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:28,605] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:28,841] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:28,841] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:29,241] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:29,241] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:29,400] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:29,468] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:29,645] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:29,646] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:29,651] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:29,651] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:29,740] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:29,799] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:29,999] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:30,000] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:30,006] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:30,007] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:30,119] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:30,219] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:30,416] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:30,417] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:30,421] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:30,421] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:30,530] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:30,593] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:30,774] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:30,774] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:32,226] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:32,226] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:32,418] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:32,508] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:32,794] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:32,794] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:33,142] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:33,142] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:33,308] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:33,365] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:33,601] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:33,601] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:33,606] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:33,607] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:33,705] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:33,776] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:33,945] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:33,945] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:33,951] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:33,951] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:34,053] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:34,119] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:34,312] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:34,314] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:34,319] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:34,320] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:34,408] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:34,482] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:34,655] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:34,656] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:36,326] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:36,326] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:36,500] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:36,575] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:36,851] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:36,852] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:37,192] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:37,192] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:37,304] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:37,417] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:37,593] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:37,593] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:37,599] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:37,599] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:37,718] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:37,794] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:38,043] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:38,043] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:38,049] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:38,050] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:38,212] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:38,283] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:38,442] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:38,442] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:38,447] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:38,448] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:38,557] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:38,644] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:38,829] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:38,830] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:40,195] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:40,196] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:40,383] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:40,485] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:40,782] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:40,782] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:41,095] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:41,096] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:41,215] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:41,295] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:41,469] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:41,470] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:41,475] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:41,475] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:41,588] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:41,646] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:41,819] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:41,819] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:41,827] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:41,828] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:41,927] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:41,993] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:42,156] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:42,157] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:42,163] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:42,163] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:42,284] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:42,373] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:42,546] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:42,547] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:44,191] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5167e1f-95d9-4fed-98a5-3c1df6f4d431]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5167e1f-95d9-4fed-98a5-3c1df6f4d431\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:44,192] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:44,356] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:44,434] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5167e1f-95d9-4fed-98a5-3c1df6f4d431]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5167e1f-95d9-4fed-98a5-3c1df6f4d431\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:44,683] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:44,686] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:45,048] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:45,049] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:45,157] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:45,227] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:45,375] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:45,376] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:45,381] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:45,381] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:45,479] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:45,533] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:45,704] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:45,705] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:45,711] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:45,711] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:45,833] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:45,928] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:46,134] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:46,134] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:46,138] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:46,138] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:46,267] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:46,335] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:46,549] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:46,550] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:47,804] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[01c6a5c3-6e56-4b89-a902-7ee9c0c487c1]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"01c6a5c3-6e56-4b89-a902-7ee9c0c487c1\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:47,805] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:47,965] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5167e1f-95d9-4fed-98a5-3c1df6f4d431]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5167e1f-95d9-4fed-98a5-3c1df6f4d431\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:48,027] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:51:48,095] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5167e1f-95d9-4fed-98a5-3c1df6f4d431]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5167e1f-95d9-4fed-98a5-3c1df6f4d431\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[01c6a5c3-6e56-4b89-a902-7ee9c0c487c1]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"01c6a5c3-6e56-4b89-a902-7ee9c0c487c1\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:48,100] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "1"}}, "kpi_value": {"floatVal": 66176548.0}, "timestamp": {"timestamp": 1665690708.072563}} +[2022-10-13 19:51:48,160] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:51:48,185] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:48,191] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "2"}}, "kpi_value": {"floatVal": 71588860.0}, "timestamp": {"timestamp": 1665690708.160992}} +[2022-10-13 19:51:48,208] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:48,397] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:48,398] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:48,455] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:51:48,460] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "3"}}, "kpi_value": {"floatVal": 102334820000.0}, "timestamp": {"timestamp": 1665690708.455282}} +[2022-10-13 19:51:48,530] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:48,682] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:48,683] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:48,784] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:48,851] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:49,024] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:49,025] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:49,032] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:49,032] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:49,130] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:49,213] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:51:49,226] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:49,231] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "4"}}, "kpi_value": {"floatVal": 96467950000.0}, "timestamp": {"timestamp": 1665690709.213763}} +[2022-10-13 19:51:49,327] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:49,437] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:49,438] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:49,449] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:49,449] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:49,560] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:49,616] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:49,802] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:49,803] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:49,808] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:49,808] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:49,867] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "5"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690709.863346}} +[2022-10-13 19:51:49,915] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:49,986] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:49,990] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "6"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690709.986428}} +[2022-10-13 19:51:50,002] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:50,034] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,176] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:50,176] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:50,237] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "7"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690710.232708}} +[2022-10-13 19:51:50,360] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,371] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "8"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690710.368235}} +[2022-10-13 19:51:50,432] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_received, endpoint_uuid=13/1/2, metric=packets_received, metric_sense=received +[2022-10-13 19:51:50,435] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,439] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "9"}}, "kpi_value": {"floatVal": 62749012.0}, "timestamp": {"timestamp": 1665690710.432594}} +[2022-10-13 19:51:50,505] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_received, endpoint_uuid=13/1/2, metric=bytes_received, metric_sense=received +[2022-10-13 19:51:50,526] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,530] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "10"}}, "kpi_value": {"floatVal": 58108920000.0}, "timestamp": {"timestamp": 1665690710.50589}} +[2022-10-13 19:51:50,571] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/packets_transmitted, endpoint_uuid=13/1/2, metric=packets_transmitted, metric_sense=transmitted +[2022-10-13 19:51:50,644] INFO:device.service.drivers.emulated.EmulatedDriver:[SyntheticSamplingParameters:get] resource_key=/endpoints/endpoint[13/1/2]/state/bytes_transmitted, endpoint_uuid=13/1/2, metric=bytes_transmitted, metric_sense=transmitted +[2022-10-13 19:51:50,693] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,697] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "11"}}, "kpi_value": {"floatVal": 35000300.0}, "timestamp": {"timestamp": 1665690710.571977}} +[2022-10-13 19:51:50,726] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,730] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "12"}}, "kpi_value": {"floatVal": 48280502000.0}, "timestamp": {"timestamp": 1665690710.645052}} +[2022-10-13 19:51:50,742] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,746] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "13"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690710.714067}} +[2022-10-13 19:51:50,797] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,800] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "14"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690710.786465}} +[2022-10-13 19:51:50,810] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,860] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "15"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690710.856479}} +[2022-10-13 19:51:50,916] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:50,959] DEBUG:monitoring.client.MonitoringClient:IncludeKpi: {"kpi_id": {"kpi_id": {"uuid": "16"}}, "kpi_value": {"floatVal": 0.0}, "timestamp": {"timestamp": 1665690710.95606}} +[2022-10-13 19:51:50,975] DEBUG:monitoring.client.MonitoringClient:IncludeKpi result: {} +[2022-10-13 19:51:52,110] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7eeff6ff-336b-47f8-9bad-d795deb3f8ba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7eeff6ff-336b-47f8-9bad-d795deb3f8ba\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:52,111] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:52,315] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5167e1f-95d9-4fed-98a5-3c1df6f4d431]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5167e1f-95d9-4fed-98a5-3c1df6f4d431\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[01c6a5c3-6e56-4b89-a902-7ee9c0c487c1]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"01c6a5c3-6e56-4b89-a902-7ee9c0c487c1\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:52,421] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[aade6001-f00b-5e2f-a357-6a0a9d3de870]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[eb287d83-f05e-53ec-ab5a-adf6bd2b5418]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"eb287d83-f05e-53ec-ab5a-adf6bd2b5418\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[0ef74f99-1acc-57bd-ab9d-4b958b06c513]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[50296d99-58cc-5ce7-82f5-fc8ee4eec2ec]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"50296d99-58cc-5ce7-82f5-fc8ee4eec2ec\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b503176-4a49-46a8-bbda-5c70fbf2fee7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b503176-4a49-46a8-bbda-5c70fbf2fee7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bdf278ce-59f4-4b51-bd86-0ede56ef1aa7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bdf278ce-59f4-4b51-bd86-0ede56ef1aa7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[99a7bf97-97f0-457f-8292-d1efc2416220]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"99a7bf97-97f0-457f-8292-d1efc2416220\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[fec17a4c-3f5d-4b74-ac3a-8530194061f7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"fec17a4c-3f5d-4b74-ac3a-8530194061f7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[209b0fbd-fb4b-4a0d-9417-5c35405fabc4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"209b0fbd-fb4b-4a0d-9417-5c35405fabc4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e2392d9-e18b-4915-a90d-789e1d83bfbc]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e2392d9-e18b-4915-a90d-789e1d83bfbc\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0685b676-8ef5-42ea-aece-66f3a6cee048]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0685b676-8ef5-42ea-aece-66f3a6cee048\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[8998d552-e081-4578-9538-e768c0662f03]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"8998d552-e081-4578-9538-e768c0662f03\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[9a3d2857-2361-4a4c-ad46-03d2c957afbf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"9a3d2857-2361-4a4c-ad46-03d2c957afbf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d9da3b2c-bb6b-482a-a111-0ef9ce76d029]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d9da3b2c-bb6b-482a-a111-0ef9ce76d029\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a3358cc5-a599-43eb-b3b5-f0d67cdcd1f4\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[d914a080-e37e-4dc1-bc7c-33677760d36a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"d914a080-e37e-4dc1-bc7c-33677760d36a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[6e34b204-9dec-457d-81ae-0cbb0b2ab33b]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"6e34b204-9dec-457d-81ae-0cbb0b2ab33b\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e0969af6-ec20-4326-8da6-cddc1cf4c6e6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e0969af6-ec20-4326-8da6-cddc1cf4c6e6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1235875d-14ce-49c7-bbba-c1327c1e7af7]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1235875d-14ce-49c7-bbba-c1327c1e7af7\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[4db741d6-1790-4f32-8a2b-57ad570ca456]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"4db741d6-1790-4f32-8a2b-57ad570ca456\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b864103-40b9-4b27-bd2c-2f6c8e1b91eb]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b864103-40b9-4b27-bd2c-2f6c8e1b91eb\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[a015bdd1-5c1e-423d-a6ac-07d3c9f78849]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"a015bdd1-5c1e-423d-a6ac-07d3c9f78849\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5099c90-9933-4b90-bf42-8bef3398fa66]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5099c90-9933-4b90-bf42-8bef3398fa66\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[52dfec35-59c3-4a67-9a48-33646c2b1adf]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"52dfec35-59c3-4a67-9a48-33646c2b1adf\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[b683032d-c4e9-41ae-8937-2729c09f412d]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"b683032d-c4e9-41ae-8937-2729c09f412d\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[535d956f-8c21-4bf7-99da-b3459a775942]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"535d956f-8c21-4bf7-99da-b3459a775942\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[1e8792d9-2833-4b98-a010-f85c2ea65a95]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"1e8792d9-2833-4b98-a010-f85c2ea65a95\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[eb5f2eb8-1052-490c-94f6-1ec3db7ab72f]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"eb5f2eb8-1052-490c-94f6-1ec3db7ab72f\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7b39ea1f-c4d2-4e7e-81be-117de1028269]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7b39ea1f-c4d2-4e7e-81be-117de1028269\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[86a43271-10a7-40b3-9cf9-df841eabb061]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"86a43271-10a7-40b3-9cf9-df841eabb061\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[bf916710-25c6-49ac-9eb9-ad77daa849f5]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"bf916710-25c6-49ac-9eb9-ad77daa849f5\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[be0b9092-fba4-4880-b56e-b3e26d2d2408]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"be0b9092-fba4-4880-b56e-b3e26d2d2408\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[e2b1fe80-68f7-4582-9dda-b56e953c9ae9]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"e2b1fe80-68f7-4582-9dda-b56e953c9ae9\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[30994efe-8345-4590-9e4b-c2c2e34b86d8]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"30994efe-8345-4590-9e4b-c2c2e34b86d8\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[31d50d0a-848a-4731-8ee2-6889dca5371a]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"31d50d0a-848a-4731-8ee2-6889dca5371a\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[105c13e5-9f4a-4128-b6b4-09e4c1545353]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"105c13e5-9f4a-4128-b6b4-09e4c1545353\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[54101047-968d-4e6e-9af2-9895ecde1bba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"54101047-968d-4e6e-9af2-9895ecde1bba\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[cf370714-fa9f-410d-8045-82141e146ac6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"cf370714-fa9f-410d-8045-82141e146ac6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"0c5e1dcb-b5af-4295-b2ae-9b22f9da59a6\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[c5167e1f-95d9-4fed-98a5-3c1df6f4d431]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"c5167e1f-95d9-4fed-98a5-3c1df6f4d431\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[01c6a5c3-6e56-4b89-a902-7ee9c0c487c1]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"01c6a5c3-6e56-4b89-a902-7ee9c0c487c1\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/service[7eeff6ff-336b-47f8-9bad-d795deb3f8ba]", "resource_value": "{\"capacity_unit\": \"GHz\", \"capacity_value\": 50.0, \"direction\": \"UNIDIRECTIONAL\", \"input_sip\": \"aade6001-f00b-5e2f-a357-6a0a9d3de870\", \"layer_protocol_name\": \"PHOTONIC_MEDIA\", \"layer_protocol_qualifier\": \"tapi-photonic-media:PHOTONIC_LAYER_QUALIFIER_NMC\", \"output_sip\": \"0ef74f99-1acc-57bd-ab9d-4b958b06c513\", \"uuid\": \"7eeff6ff-336b-47f8-9bad-d795deb3f8ba\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "aade6001-f00b-5e2f-a357-6a0a9d3de870"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "0ef74f99-1acc-57bd-ab9d-4b958b06c513"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "eb287d83-f05e-53ec-ab5a-adf6bd2b5418"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "endpoint_uuid": {"uuid": "50296d99-58cc-5ce7-82f5-fc8ee4eec2ec"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "O1-OLS"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-open-line-system"} +[2022-10-13 19:51:52,754] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:52,755] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "O1-OLS"}} +[2022-10-13 19:51:53,094] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:53,095] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:53,220] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:53,322] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:53,541] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:53,542] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:53,551] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:53,551] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:53,704] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:100\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED"]}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:53,794] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.400]", "resource_value": "{\"id\": \"13/1/2.400\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[400]", "resource_value": "{\"address_ip\": \"3.3.2.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 400, \"name\": \"13/1/2\", \"vlan_id\": 400}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_PACKETS_RECEIVED"]}], "device_id": {"device_uuid": {"uuid": "R1-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:54,012] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:54,013] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R1-EMU"}} +[2022-10-13 19:51:54,016] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:54,017] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:54,133] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:54,201] DEBUG:context.client.ContextClient:SetDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_BYTES_TRANSMITTED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:54,403] DEBUG:context.client.ContextClient:SetDevice result: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:54,403] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice reply: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:54,411] DEBUG:device.service.DeviceServiceServicerImpl:ConfigureDevice request: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"65000:200\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} +[2022-10-13 19:51:54,412] DEBUG:context.client.ContextClient:GetDevice request: {"device_uuid": {"uuid": "R3-EMU"}} +[2022-10-13 19:51:54,543] DEBUG:context.client.ContextClient:GetDevice result: {"device_config": {"config_rules": [{"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/0/0]", "resource_value": "{\"sample_types\": {}, \"type\": \"optical\", \"uuid\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/endpoints/endpoint[13/1/2]", "resource_value": "{\"sample_types\": {\"101\": \"/endpoints/endpoint[13/1/2]/state/packets_transmitted\", \"102\": \"/endpoints/endpoint[13/1/2]/state/packets_received\", \"201\": \"/endpoints/endpoint[13/1/2]/state/bytes_transmitted\", \"202\": \"/endpoints/endpoint[13/1/2]/state/bytes_received\"}, \"type\": \"copper\", \"uuid\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"name\": \"b9fd25e2265e-NetInst\", \"route_distinguisher\": \"0:0\", \"type\": \"L3VRF\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/0/0.1]", "resource_value": "{\"id\": \"13/0/0.1\", \"interface\": \"13/0/0\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 0}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/interface[13/1/2.500]", "resource_value": "{\"id\": \"13/1/2.500\", \"interface\": \"13/1/2\", \"name\": \"b9fd25e2265e-NetInst\", \"subinterface\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/protocols[BGP]", "resource_value": "{\"as\": 65000, \"identifier\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"protocol_name\": \"BGP\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[STATIC][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"STATIC\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/table_connections[DIRECTLY_CONNECTED][BGP][IPV4]", "resource_value": "{\"address_family\": \"IPV4\", \"dst_protocol\": \"BGP\", \"name\": \"b9fd25e2265e-NetInst\", \"src_protocol\": \"DIRECTLY_CONNECTED\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_import]", "resource_value": "{\"import_policy\": \"b9fd25e2265e-NetInst_import\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/network_instance[b9fd25e2265e-NetInst]/inter_instance_policies[b9fd25e2265e-NetInst_export]", "resource_value": "{\"export_policy\": \"b9fd25e2265e-NetInst_export\", \"name\": \"b9fd25e2265e-NetInst\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/0/0\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/0/0]/subinterface[0]", "resource_value": "{\"address_ip\": \"0.0.0.0\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 0, \"name\": \"13/0/0\", \"vlan_id\": 1}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]", "resource_value": "{\"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetIf\", \"mtu\": 1512, \"name\": \"13/1/2\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/interface[13/1/2]/subinterface[500]", "resource_value": "{\"address_ip\": \"3.3.1.1\", \"address_prefix\": 24, \"description\": \"b7dfdd2d-3b50-4290-8bb0-b9fd25e2265e-NetSubIf\", \"index\": 500, \"name\": \"13/1/2\", \"vlan_id\": 500}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_import][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_import\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_import]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_import\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_import\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/bgp_defined_set[b9fd25e2265e-NetInst_rt_export][route-target:65000:333]", "resource_value": "{\"ext_community_member\": \"route-target:65000:333\", \"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]", "resource_value": "{\"policy_name\": \"b9fd25e2265e-NetInst_export\"}"}}, {"action": "CONFIGACTION_SET", "custom": {"resource_key": "/routing_policy/policy_definition[b9fd25e2265e-NetInst_export]/statement[3]", "resource_value": "{\"ext_community_set_name\": \"b9fd25e2265e-NetInst_rt_export\", \"match_set_options\": \"ANY\", \"policy_name\": \"b9fd25e2265e-NetInst_export\", \"policy_result\": \"ACCEPT_ROUTE\", \"statement_name\": \"3\"}"}}]}, "device_drivers": ["DEVICEDRIVER_UNDEFINED"], "device_endpoints": [{"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/0/0"}}, "endpoint_type": "optical", "kpi_sample_types": []}, {"endpoint_id": {"device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "endpoint_uuid": {"uuid": "13/1/2"}}, "endpoint_type": "copper", "kpi_sample_types": ["KPISAMPLETYPE_PACKETS_RECEIVED", "KPISAMPLETYPE_BYTES_RECEIVED", "KPISAMPLETYPE_PACKETS_TRANSMITTED", "KPISAMPLETYPE_BYTES_TRANSMITTED"]}], "device_id": {"device_uuid": {"uuid": "R3-EMU"}}, "device_operational_status": "DEVICEOPERATIONALSTATUS_ENABLED", "device_type": "emu-packet-router"} diff --git a/src/common/Constants.py b/src/common/Constants.py index f18d4384035f2310355d7a16c5a709720b5b07e9..955c4b8bddd8787268f6ca14f5952b25e87705af 100644 --- a/src/common/Constants.py +++ b/src/common/Constants.py @@ -46,6 +46,7 @@ class ServiceNameEnum(Enum): COMPUTE = 'compute' CYBERSECURITY = 'cybersecurity' INTERDOMAIN = 'interdomain' + L3AM = 'l3-attackmitigator' PATHCOMP = 'pathcomp' WEBUI = 'webui' @@ -61,6 +62,7 @@ DEFAULT_SERVICE_GRPC_PORTS = { ServiceNameEnum.DLT .value : 8080, ServiceNameEnum.COMPUTE .value : 9090, ServiceNameEnum.CYBERSECURITY.value : 10000, + ServiceNameEnum.L3AM .value : 10002, ServiceNameEnum.INTERDOMAIN .value : 10010, ServiceNameEnum.PATHCOMP .value : 10020, } diff --git a/src/l3_attackmitigator/client/l3_attackmitigatorClient.py b/src/l3_attackmitigator/client/l3_attackmitigatorClient.py index 77e09a2f718fb7d0748666842117f60652bebdea..424d9dfbf0b1ae3d9dd372149a5566aa5dd6bc8d 100644 --- a/src/l3_attackmitigator/client/l3_attackmitigatorClient.py +++ b/src/l3_attackmitigator/client/l3_attackmitigatorClient.py @@ -13,13 +13,18 @@ # limitations under the License. import grpc, logging +from common.Constants import ServiceNameEnum +from common.Settings import get_service_host, get_service_port_grpc from common.tools.client.RetryDecorator import retry, delay_exponential from common.proto.l3_attackmitigator_pb2_grpc import ( L3AttackmitigatorStub, ) from common.proto.l3_attackmitigator_pb2 import ( - Output, - EmptyMitigator + L3AttackmitigatorOutput, +) + +from common.proto.context_pb2 import ( + Empty ) LOGGER = logging.getLogger(__name__) @@ -28,8 +33,10 @@ DELAY_FUNCTION = delay_exponential(initial=0.01, increment=2.0, maximum=5.0) RETRY_DECORATOR = retry(max_retries=MAX_RETRIES, delay_function=DELAY_FUNCTION, prepare_method_name='connect') class l3_attackmitigatorClient: - def __init__(self, address, port): - self.endpoint = "{}:{}".format(address, port) + def __init__(self, host=None, port=None): + if not host: host = get_service_host(ServiceNameEnum.L3AM) + if not port: port = get_service_port_grpc(ServiceNameEnum.L3AM) + self.endpoint = "{}:{}".format(host, port) LOGGER.debug("Creating channel to {}...".format(self.endpoint)) self.channel = None self.stub = None @@ -47,16 +54,9 @@ class l3_attackmitigatorClient: self.stub = None @RETRY_DECORATOR - def SendOutput(self, request: Output) -> EmptyMitigator: + def SendOutput(self, request: L3AttackmitigatorOutput) -> Empty: LOGGER.debug('SendOutput request: {}'.format(request)) response = self.stub.SendOutput(request) LOGGER.debug('SendOutput result: {}'.format(response)) return response - @RETRY_DECORATOR - def GetMitigation(self, request: EmptyMitigator) -> EmptyMitigator: - LOGGER.debug('GetMitigation request: {}'.format(request)) - response = self.stub.GetMitigation(request) - LOGGER.debug('GetMitigation result: {}'.format(response)) - return response - diff --git a/src/l3_attackmitigator/service/l3_attackmitigatorServiceServicerImpl.py b/src/l3_attackmitigator/service/l3_attackmitigatorServiceServicerImpl.py index da950df7533fb80c587a8c918628832625470b0e..f4b34cda141f41a30ca4cceb5da3686e1171e482 100644 --- a/src/l3_attackmitigator/service/l3_attackmitigatorServiceServicerImpl.py +++ b/src/l3_attackmitigator/service/l3_attackmitigatorServiceServicerImpl.py @@ -42,7 +42,6 @@ LOGGER = logging.getLogger(__name__) CONTEXT_CHANNEL = "192.168.165.78:1010" SERVICE_CHANNEL = "192.168.165.78:3030" - class l3_attackmitigatorServiceServicerImpl(L3AttackmitigatorServicer): def __init__(self): LOGGER.info("Creating Attack Mitigator Service") @@ -51,6 +50,9 @@ class l3_attackmitigatorServiceServicerImpl(L3AttackmitigatorServicer): self.last_tag = 0 self.sequence_id = 0 + self.context_client = ContextClient() + self.service_client = ServiceClient() + def GenerateRuleValue(self, ip_o, ip_d, port_o, port_d): value = { "ipv4:source-address": ip_o, @@ -108,10 +110,10 @@ class l3_attackmitigatorServiceServicerImpl(L3AttackmitigatorServicer): service_id.service_uuid.uuid = service_uuid # Get service form Context - context_client = ContextClient() + #context_client = ContextClient() try: - _service: Service = context_client.GetService(service_id) + _service: Service = self.context_client.GetService(service_id) except: raise Exception("Service({:s}) not found".format(grpc_message_to_json_string(service_id))) @@ -153,8 +155,8 @@ class l3_attackmitigatorServiceServicerImpl(L3AttackmitigatorServicer): acl_entry.action.log_action = AclLogActionEnum.ACLLOGACTION_NOLOG # Update the Service with the new ACL RuleSet - service_client = ServiceClient() - service_reply: ServiceId = service_client.UpdateService(service_request) + #service_client = ServiceClient() + service_reply: ServiceId = self.service_client.UpdateService(service_request) # TODO: Log the service_reply details @@ -184,7 +186,8 @@ class l3_attackmitigatorServiceServicerImpl(L3AttackmitigatorServicer): while sentinel: try: - service = self.GetService(service_id) + #service = self.GetService(service_id) + service = self.context_client.GetService(service_id) sentinel = False except Exception as e: counter = counter + 1 @@ -213,28 +216,14 @@ class l3_attackmitigatorServiceServicerImpl(L3AttackmitigatorServicer): ) LOGGER.info("Service with new rule:\n{}".format(service)) - self.UpdateService(service) + self.service_client.UpdateService(service) - service2 = self.GetService(service_id) + #service2 = self.GetService(service_id) + service2 = self.context_client.GetService(service_id) LOGGER.info("Service obtained from ServiceId after updating with the new rule:\n{}".format(service2)) return Empty(message=f"OK, received values: {last_tag} with confidence {last_value}.") - def GetService(self, service_id): - with grpc.insecure_channel(CONTEXT_CHANNEL) as channel: - stub = ContextServiceStub(channel) - return stub.GetService(service_id) - - def ListServiceIds(self, context_id): - with grpc.insecure_channel(CONTEXT_CHANNEL) as channel: - stub = ContextServiceStub(channel) - return stub.ListServiceIds(context_id) - - def UpdateService(self, service): - with grpc.insecure_channel(SERVICE_CHANNEL) as channel: - stub = ServiceServiceStub(channel) - stub.UpdateService(service) - def GetMitigation(self, request, context): logging.info("Returning mitigation strategy...") k = self.last_value * 2 diff --git a/src/l3_centralizedattackdetector/Dockerfile b/src/l3_centralizedattackdetector/Dockerfile index 0a980d8b10b45a6096a8afae03c3a2ceeb638b88..081dc7bd571fbad3e813e7729960ae7159a20318 100644 --- a/src/l3_centralizedattackdetector/Dockerfile +++ b/src/l3_centralizedattackdetector/Dockerfile @@ -44,6 +44,10 @@ WORKDIR /var/teraflow/common COPY src/common/. ./ RUN rm -rf proto +RUN mkdir -p /var/teraflow/l3_attackmitigator +WORKDIR /var/teraflow/l3_attackmitigator +COPY src/l3_attackmitigator/. ./ + # Create proto sub-folder, copy .proto files, and generate Python code RUN mkdir -p /var/teraflow/common/proto WORKDIR /var/teraflow/common/proto diff --git a/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py b/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py index 7ee533806dab9bf5810a0df731221e87310b1b70..f35adfda6df43e803355056ba9a83f0864c99630 100644 --- a/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py +++ b/src/l3_centralizedattackdetector/service/l3_centralizedattackdetectorServiceServicerImpl.py @@ -36,6 +36,8 @@ from common.proto.monitoring_pb2 import Kpi from common.tools.timestamp.Converters import timestamp_utcnow_to_float from common.proto.context_pb2 import Timestamp +from l3_attackmitigator.client.l3_attackmitigatorClient import l3_attackmitigatorClient + LOGGER = logging.getLogger(__name__) current_dir = os.path.dirname(os.path.abspath(__file__)) MODEL_FILE = os.path.join(current_dir, "ml_model/crypto_5g_rf_spider_features.onnx") @@ -56,6 +58,8 @@ class l3_centralizedattackdetectorServiceServicerImpl(L3Centralizedattackdetecto self.predicted_class_kpi_id = None self.class_probability_kpi_id = None + self.attackmitigator_client = l3_attackmitigatorClient() + def create_predicted_class_kpi(self, client: MonitoringClient, service_id): kpi_description: KpiDescriptor = KpiDescriptor() kpi_description.kpi_description = "L3 security status of service {}".format(service_id) @@ -179,13 +183,16 @@ class l3_centralizedattackdetectorServiceServicerImpl(L3Centralizedattackdetecto ) try: - with grpc.insecure_channel("192.168.165.78:10002") as channel: - stub = L3AttackmitigatorStub(channel) + """with grpc.insecure_channel("192.168.165.78:10002") as channel: + stub = L3AttackmitigatorStub(channel) logging.info("Sending the connection information to the Attack Mitigator component...") - response = stub.SendOutput(output) - logging.info( - "Attack Mitigator notified and received response: ", response.message - ) # FIX No message received + response = stub.SendOutput(output)""" + + logging.info("Sending the connection information to the Attack Mitigator component...") + response = self.attackmitigator_client.SendOutput(output) + logging.info( + "Attack Mitigator notified and received response: ", response.message + ) # FIX No message received return Empty(message="OK, information received and mitigator notified abou the attack") except Exception as e: