Loading src/tests/ryu-openflow/data/ietf-l3vpn-service.json→src/tests/ryu-openflow/data/ietf-l3vpn-service-h1-h3.json +7 −7 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ "ietf-l3vpn-svc:l3vpn-svc": { "vpn-services": { "vpn-service": [ {"vpn-id": "ietf-l3vpn-svc"} {"vpn-id": "svc-h1-h3"} ] }, "sites": { Loading @@ -18,7 +18,7 @@ "site-network-access-id": "h1-eth0", "site-network-access-type": "ietf-l3vpn-svc:multipoint", "device-reference": "h1", "vpn-attachment": {"vpn-id": "ietf-l3vpn-svc", "site-role": "ietf-l3vpn-svc:spoke-role"}, "vpn-attachment": {"vpn-id": "svc-h1-h3", "site-role": "ietf-l3vpn-svc:spoke-role"}, "ip-connection": { "ipv4": { "address-allocation-type": "ietf-l3vpn-svc:static-address", Loading Loading @@ -53,22 +53,22 @@ } }, { "site-id": "site_DC2", "site-id": "site_DC3", "management": {"type": "ietf-l3vpn-svc:provider-managed"}, "locations": {"location": [{"location-id": "DC2"}]}, "devices": {"device": [{"device-id": "h3", "location": "DC2"}]}, "locations": {"location": [{"location-id": "DC3"}]}, "devices": {"device": [{"device-id": "h3", "location": "DC3"}]}, "site-network-accesses": { "site-network-access": [ { "site-network-access-id": "h3-eth0", "site-network-access-type": "ietf-l3vpn-svc:multipoint", "device-reference": "h3", "vpn-attachment": {"vpn-id": "ietf-l3vpn-svc", "site-role": "ietf-l3vpn-svc:hub-role"}, "vpn-attachment": {"vpn-id": "svc-h1-h3", "site-role": "ietf-l3vpn-svc:hub-role"}, "ip-connection": { "ipv4": { "address-allocation-type": "ietf-l3vpn-svc:static-address", "addresses": { "provider-address": "10.0.0.1", "provider-address": "10.0.0.3", "customer-address": "10.0.0.3", "prefix-length": 8 } Loading src/tests/ryu-openflow/data/ietf-l3vpn-service-h2-h4.json 0 → 100644 +103 −0 Original line number Diff line number Diff line { "ietf-l3vpn-svc:l3vpn-svc": { "vpn-services": { "vpn-service": [ {"vpn-id": "svc-h2-h4"} ] }, "sites": { "site": [ { "site-id": "site_DC2", "management": {"type": "ietf-l3vpn-svc:provider-managed"}, "locations": {"location": [{"location-id": "DC2"}]}, "devices": {"device": [{"device-id": "h2","location": "DC2"}]}, "site-network-accesses": { "site-network-access": [ { "site-network-access-id": "h2-eth0", "site-network-access-type": "ietf-l3vpn-svc:multipoint", "device-reference": "h2", "vpn-attachment": {"vpn-id": "svc-h2-h4", "site-role": "ietf-l3vpn-svc:spoke-role"}, "ip-connection": { "ipv4": { "address-allocation-type": "ietf-l3vpn-svc:static-address", "addresses": { "provider-address": "10.0.0.2", "customer-address": "10.0.0.2", "prefix-length": 8 } } }, "service": { "svc-mtu": 1500, "svc-input-bandwidth": 1000000000, "svc-output-bandwidth": 1000000000, "qos": { "qos-profile": { "classes": { "class": [ { "class-id": "qos-realtime", "direction": "ietf-l3vpn-svc:both", "latency": {"latency-boundary": 10}, "bandwidth": {"guaranteed-bw-percent": 100} } ] } } } } } ] } }, { "site-id": "site_DC4", "management": {"type": "ietf-l3vpn-svc:provider-managed"}, "locations": {"location": [{"location-id": "DC4"}]}, "devices": {"device": [{"device-id": "h4", "location": "DC4"}]}, "site-network-accesses": { "site-network-access": [ { "site-network-access-id": "h4-eth0", "site-network-access-type": "ietf-l3vpn-svc:multipoint", "device-reference": "h4", "vpn-attachment": {"vpn-id": "svc-h2-h4", "site-role": "ietf-l3vpn-svc:hub-role"}, "ip-connection": { "ipv4": { "address-allocation-type": "ietf-l3vpn-svc:static-address", "addresses": { "provider-address": "10.0.0.4", "customer-address": "10.0.0.4", "prefix-length": 8 } } }, "service": { "svc-mtu": 1500, "svc-input-bandwidth": 1000000000, "svc-output-bandwidth": 1000000000, "qos": { "qos-profile": { "classes": { "class": [ { "class-id": "qos-realtime", "direction": "ietf-l3vpn-svc:both", "latency": {"latency-boundary": 10}, "bandwidth": {"guaranteed-bw-percent": 100} } ] } } } } } ] } } ] } } } Loading
src/tests/ryu-openflow/data/ietf-l3vpn-service.json→src/tests/ryu-openflow/data/ietf-l3vpn-service-h1-h3.json +7 −7 Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ "ietf-l3vpn-svc:l3vpn-svc": { "vpn-services": { "vpn-service": [ {"vpn-id": "ietf-l3vpn-svc"} {"vpn-id": "svc-h1-h3"} ] }, "sites": { Loading @@ -18,7 +18,7 @@ "site-network-access-id": "h1-eth0", "site-network-access-type": "ietf-l3vpn-svc:multipoint", "device-reference": "h1", "vpn-attachment": {"vpn-id": "ietf-l3vpn-svc", "site-role": "ietf-l3vpn-svc:spoke-role"}, "vpn-attachment": {"vpn-id": "svc-h1-h3", "site-role": "ietf-l3vpn-svc:spoke-role"}, "ip-connection": { "ipv4": { "address-allocation-type": "ietf-l3vpn-svc:static-address", Loading Loading @@ -53,22 +53,22 @@ } }, { "site-id": "site_DC2", "site-id": "site_DC3", "management": {"type": "ietf-l3vpn-svc:provider-managed"}, "locations": {"location": [{"location-id": "DC2"}]}, "devices": {"device": [{"device-id": "h3", "location": "DC2"}]}, "locations": {"location": [{"location-id": "DC3"}]}, "devices": {"device": [{"device-id": "h3", "location": "DC3"}]}, "site-network-accesses": { "site-network-access": [ { "site-network-access-id": "h3-eth0", "site-network-access-type": "ietf-l3vpn-svc:multipoint", "device-reference": "h3", "vpn-attachment": {"vpn-id": "ietf-l3vpn-svc", "site-role": "ietf-l3vpn-svc:hub-role"}, "vpn-attachment": {"vpn-id": "svc-h1-h3", "site-role": "ietf-l3vpn-svc:hub-role"}, "ip-connection": { "ipv4": { "address-allocation-type": "ietf-l3vpn-svc:static-address", "addresses": { "provider-address": "10.0.0.1", "provider-address": "10.0.0.3", "customer-address": "10.0.0.3", "prefix-length": 8 } Loading
src/tests/ryu-openflow/data/ietf-l3vpn-service-h2-h4.json 0 → 100644 +103 −0 Original line number Diff line number Diff line { "ietf-l3vpn-svc:l3vpn-svc": { "vpn-services": { "vpn-service": [ {"vpn-id": "svc-h2-h4"} ] }, "sites": { "site": [ { "site-id": "site_DC2", "management": {"type": "ietf-l3vpn-svc:provider-managed"}, "locations": {"location": [{"location-id": "DC2"}]}, "devices": {"device": [{"device-id": "h2","location": "DC2"}]}, "site-network-accesses": { "site-network-access": [ { "site-network-access-id": "h2-eth0", "site-network-access-type": "ietf-l3vpn-svc:multipoint", "device-reference": "h2", "vpn-attachment": {"vpn-id": "svc-h2-h4", "site-role": "ietf-l3vpn-svc:spoke-role"}, "ip-connection": { "ipv4": { "address-allocation-type": "ietf-l3vpn-svc:static-address", "addresses": { "provider-address": "10.0.0.2", "customer-address": "10.0.0.2", "prefix-length": 8 } } }, "service": { "svc-mtu": 1500, "svc-input-bandwidth": 1000000000, "svc-output-bandwidth": 1000000000, "qos": { "qos-profile": { "classes": { "class": [ { "class-id": "qos-realtime", "direction": "ietf-l3vpn-svc:both", "latency": {"latency-boundary": 10}, "bandwidth": {"guaranteed-bw-percent": 100} } ] } } } } } ] } }, { "site-id": "site_DC4", "management": {"type": "ietf-l3vpn-svc:provider-managed"}, "locations": {"location": [{"location-id": "DC4"}]}, "devices": {"device": [{"device-id": "h4", "location": "DC4"}]}, "site-network-accesses": { "site-network-access": [ { "site-network-access-id": "h4-eth0", "site-network-access-type": "ietf-l3vpn-svc:multipoint", "device-reference": "h4", "vpn-attachment": {"vpn-id": "svc-h2-h4", "site-role": "ietf-l3vpn-svc:hub-role"}, "ip-connection": { "ipv4": { "address-allocation-type": "ietf-l3vpn-svc:static-address", "addresses": { "provider-address": "10.0.0.4", "customer-address": "10.0.0.4", "prefix-length": 8 } } }, "service": { "svc-mtu": 1500, "svc-input-bandwidth": 1000000000, "svc-output-bandwidth": 1000000000, "qos": { "qos-profile": { "classes": { "class": [ { "class-id": "qos-realtime", "direction": "ietf-l3vpn-svc:both", "latency": {"latency-boundary": 10}, "bandwidth": {"guaranteed-bw-percent": 100} } ] } } } } } ] } } ] } } }