Skip to content
Snippets Groups Projects
Commit 2051a61b authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Hackfest - ContainerLab:

- Add dc-2-dc-l3-service.json descriptor
parent c2c0f3c1
No related branches found
No related tags found
3 merge requests!142Release TeraFlowSDN 2.1,!132NetSoft Hackfest extensions, gNMI Driver, gNMI L3NM Service Handler, multiple fixes,!113Draft: NetSoft Hackfest extensions
{
"services": [
{
"service_id": {
"context_id": {"context_uuid": {"uuid": "admin"}}, "service_uuid": {"uuid": "dc-2-dc-l3-svc"}
},
"service_type": 1,
"service_status": {"service_status": 1},
"service_endpoint_ids": [
{"device_id":{"device_uuid":{"uuid":"DC1"}},"endpoint_uuid":{"uuid":"int"}},
{"device_id":{"device_uuid":{"uuid":"DC2"}},"endpoint_uuid":{"uuid":"int"}}
],
"service_constraints": [],
"service_config": {"config_rules": [
{"action": 1, "custom": {"resource_key": "/device[SRL1]/settings", "resource_value": {
"static_routes": [{"prefix": "172.16.2.0/24", "next_hop": "172.0.0.2"}]
}}},
{"action": 1, "custom": {"resource_key": "/device[SRL1]/endpoint[ethernet-1/1]/settings", "resource_value": {
"ipv4_address": "172.0.0.1", "ipv4_prefix": 30, "sub_interface_index": 0
}}},
{"action": 1, "custom": {"resource_key": "/device[SRL1]/endpoint[ethernet-1/2]/settings", "resource_value": {
"ipv4_address": "172.16.1.1", "ipv4_prefix": 24, "sub_interface_index": 0
}}},
{"action": 1, "custom": {"resource_key": "/device[SRL2]/settings", "resource_value": {
"static_routes": [{"prefix": "172.16.1.0/24", "next_hop": "172.0.0.1"}]
}}},
{"action": 1, "custom": {"resource_key": "/device[SRL2]/endpoint[ethernet-1/1]/settings", "resource_value": {
"ipv4_address": "172.0.0.2", "ipv4_prefix": 30, "sub_interface_index": 0
}}},
{"action": 1, "custom": {"resource_key": "/device[SRL2]/endpoint[ethernet-1/2]/settings", "resource_value": {
"ipv4_address": "172.16.2.1", "ipv4_prefix": 24, "sub_interface_index": 0
}}}
]}
}
]
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment