Loading src/nbi/tests/data/slice/post_connection_group_to_network_slice2.json 0 → 100644 +62 −0 Original line number Diff line number Diff line { "connection-group": [ { "id": "line2", "connectivity-type": "point-to-point", "connectivity-construct": [ { "id": 1, "p2p-sender-sdp": "1", "p2p-receiver-sdp": "3", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "10" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "5000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.001" } ] } } }, { "id": 2, "p2p-sender-sdp": "3", "p2p-receiver-sdp": "1", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "20" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "1000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.001" } ] } } } ] } ] } No newline at end of file src/nbi/tests/data/slice/post_match_criteria_to_sdp1_in_slice2.json 0 → 100644 +40 −0 Original line number Diff line number Diff line { "match-criterion": [ { "index": 2, "match-type": [ { "type": "ietf-network-slice-service:vlan", "value": [ "201" ] }, { "type": "ietf-network-slice-service:source-ip-prefix", "value": [ "172.1.201.22/24" ] }, { "type": "ietf-network-slice-service:source-tcp-port", "value": [ "10200" ] }, { "type": "ietf-network-slice-service:destination-ip-prefix", "value": [ "172.16.104.222/24" ] }, { "type": "ietf-network-slice-service:destination-tcp-port", "value": [ "10500" ] } ], "target-connection-group-id": "line2" } ] } No newline at end of file src/nbi/tests/data/slice/post_network_slice2.json 0 → 100644 +189 −0 Original line number Diff line number Diff line { "slice-service": [ { "id": "slice2", "description": "network slice 2, connect to VM2", "sdps": { "sdp": [ { "id": "1", "node-id": "172.16.204.220", "sdp-ip-address": [ "172.16.204.220" ], "service-match-criteria": { "match-criterion": [ { "index": 1, "match-type": [ { "type": "ietf-network-slice-service:vlan", "value": [ "201" ] }, { "type": "ietf-network-slice-service:destination-ip-prefix", "value": [ "172.16.104.221/24" ] }, { "type": "ietf-network-slice-service:destination-tcp-port", "value": [ "10500" ] }, { "type": "ietf-network-slice-service:source-ip-prefix", "value": [ "172.1.201.22/24" ] }, { "type": "ietf-network-slice-service:source-tcp-port", "value": [ "10200" ] } ], "target-connection-group-id": "line1" } ] }, "attachment-circuits": { "attachment-circuit": [ { "id": "AC POP to VM2", "description": "AC VM2 connected to POP", "ac-node-id": "172.16.204.220", "ac-tp-id": "201" } ] } }, { "id": "2", "node-id": "172.16.61.10", "sdp-ip-address": [ "172.16.61.10" ], "service-match-criteria": { "match-criterion": [ { "index": 1, "match-type": [ { "type": "ietf-network-slice-service:vlan", "value": [ "31" ] }, { "type": "ietf-network-slice-service:source-ip-prefix", "value": [ "172.16.104.221/24" ] }, { "type": "ietf-network-slice-service:source-tcp-port", "value": [ "10500" ] }, { "type": "ietf-network-slice-service:destination-ip-prefix", "value": [ "172.1.201.22/24" ] }, { "type": "ietf-network-slice-service:destination-tcp-port", "value": [ "10200" ] } ], "target-connection-group-id": "line1" } ] }, "attachment-circuits": { "attachment-circuit": [ { "id": "AC ONT", "description": "AC connected to PC", "ac-node-id": "172.16.61.10", "ac-tp-id": "200", "ac-ipv4-address": "172.16.61.10" } ] } } ] }, "connection-groups": { "connection-group": [ { "id": "line1", "connectivity-type": "point-to-point", "connectivity-construct": [ { "id": 1, "p2p-sender-sdp": "1", "p2p-receiver-sdp": "2", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "10" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "5000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.001" } ] } } }, { "id": 2, "p2mp-sender-sdp": "2", "p2mp-receiver-sdp": "1", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "20" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "1000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.001" } ] } } } ] } ] } } ] } No newline at end of file src/nbi/tests/data/slice/post_sdp_to_network_slice2.json 0 → 100644 +62 −0 Original line number Diff line number Diff line { "sdp": [ { "id": "3", "node-id": "172.16.61.11", "sdp-ip-address": [ "172.16.61.11" ], "service-match-criteria": { "match-criterion": [ { "index": 1, "match-type": [ { "type": "ietf-network-slice-service:vlan", "value": [ "31" ] }, { "type": "ietf-network-slice-service:source-ip-prefix", "value": [ "172.16.104.222/24" ] }, { "type": "ietf-network-slice-service:source-tcp-port", "value": [ "10500" ] }, { "type": "ietf-network-slice-service:destination-ip-prefix", "value": [ "172.1.201.22/24" ] }, { "type": "ietf-network-slice-service:destination-tcp-port", "value": [ "10200" ] } ], "target-connection-group-id": "line2" } ] }, "attachment-circuits": { "attachment-circuit": [ { "id": "AC ONT", "description": "AC connected to PC2", "ac-node-id": "172.16.61.11", "ac-tp-id": "200", "ac-ipv4-address": "172.16.61.11" } ] } } ] } No newline at end of file Loading
src/nbi/tests/data/slice/post_connection_group_to_network_slice2.json 0 → 100644 +62 −0 Original line number Diff line number Diff line { "connection-group": [ { "id": "line2", "connectivity-type": "point-to-point", "connectivity-construct": [ { "id": 1, "p2p-sender-sdp": "1", "p2p-receiver-sdp": "3", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "10" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "5000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.001" } ] } } }, { "id": 2, "p2p-sender-sdp": "3", "p2p-receiver-sdp": "1", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "20" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "1000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.001" } ] } } } ] } ] } No newline at end of file
src/nbi/tests/data/slice/post_match_criteria_to_sdp1_in_slice2.json 0 → 100644 +40 −0 Original line number Diff line number Diff line { "match-criterion": [ { "index": 2, "match-type": [ { "type": "ietf-network-slice-service:vlan", "value": [ "201" ] }, { "type": "ietf-network-slice-service:source-ip-prefix", "value": [ "172.1.201.22/24" ] }, { "type": "ietf-network-slice-service:source-tcp-port", "value": [ "10200" ] }, { "type": "ietf-network-slice-service:destination-ip-prefix", "value": [ "172.16.104.222/24" ] }, { "type": "ietf-network-slice-service:destination-tcp-port", "value": [ "10500" ] } ], "target-connection-group-id": "line2" } ] } No newline at end of file
src/nbi/tests/data/slice/post_network_slice2.json 0 → 100644 +189 −0 Original line number Diff line number Diff line { "slice-service": [ { "id": "slice2", "description": "network slice 2, connect to VM2", "sdps": { "sdp": [ { "id": "1", "node-id": "172.16.204.220", "sdp-ip-address": [ "172.16.204.220" ], "service-match-criteria": { "match-criterion": [ { "index": 1, "match-type": [ { "type": "ietf-network-slice-service:vlan", "value": [ "201" ] }, { "type": "ietf-network-slice-service:destination-ip-prefix", "value": [ "172.16.104.221/24" ] }, { "type": "ietf-network-slice-service:destination-tcp-port", "value": [ "10500" ] }, { "type": "ietf-network-slice-service:source-ip-prefix", "value": [ "172.1.201.22/24" ] }, { "type": "ietf-network-slice-service:source-tcp-port", "value": [ "10200" ] } ], "target-connection-group-id": "line1" } ] }, "attachment-circuits": { "attachment-circuit": [ { "id": "AC POP to VM2", "description": "AC VM2 connected to POP", "ac-node-id": "172.16.204.220", "ac-tp-id": "201" } ] } }, { "id": "2", "node-id": "172.16.61.10", "sdp-ip-address": [ "172.16.61.10" ], "service-match-criteria": { "match-criterion": [ { "index": 1, "match-type": [ { "type": "ietf-network-slice-service:vlan", "value": [ "31" ] }, { "type": "ietf-network-slice-service:source-ip-prefix", "value": [ "172.16.104.221/24" ] }, { "type": "ietf-network-slice-service:source-tcp-port", "value": [ "10500" ] }, { "type": "ietf-network-slice-service:destination-ip-prefix", "value": [ "172.1.201.22/24" ] }, { "type": "ietf-network-slice-service:destination-tcp-port", "value": [ "10200" ] } ], "target-connection-group-id": "line1" } ] }, "attachment-circuits": { "attachment-circuit": [ { "id": "AC ONT", "description": "AC connected to PC", "ac-node-id": "172.16.61.10", "ac-tp-id": "200", "ac-ipv4-address": "172.16.61.10" } ] } } ] }, "connection-groups": { "connection-group": [ { "id": "line1", "connectivity-type": "point-to-point", "connectivity-construct": [ { "id": 1, "p2p-sender-sdp": "1", "p2p-receiver-sdp": "2", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "10" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "5000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.001" } ] } } }, { "id": 2, "p2mp-sender-sdp": "2", "p2mp-receiver-sdp": "1", "service-slo-sle-policy": { "slo-policy": { "metric-bound": [ { "metric-type": "ietf-network-slice-service:one-way-delay-maximum", "metric-unit": "milliseconds", "bound": "20" }, { "metric-type": "ietf-network-slice-service:one-way-bandwidth", "metric-unit": "Mbps", "bound": "1000" }, { "metric-type": "ietf-network-slice-service:two-way-packet-loss", "metric-unit": "percentage", "percentile-value": "0.001" } ] } } } ] } ] } } ] } No newline at end of file
src/nbi/tests/data/slice/post_sdp_to_network_slice2.json 0 → 100644 +62 −0 Original line number Diff line number Diff line { "sdp": [ { "id": "3", "node-id": "172.16.61.11", "sdp-ip-address": [ "172.16.61.11" ], "service-match-criteria": { "match-criterion": [ { "index": 1, "match-type": [ { "type": "ietf-network-slice-service:vlan", "value": [ "31" ] }, { "type": "ietf-network-slice-service:source-ip-prefix", "value": [ "172.16.104.222/24" ] }, { "type": "ietf-network-slice-service:source-tcp-port", "value": [ "10500" ] }, { "type": "ietf-network-slice-service:destination-ip-prefix", "value": [ "172.1.201.22/24" ] }, { "type": "ietf-network-slice-service:destination-tcp-port", "value": [ "10200" ] } ], "target-connection-group-id": "line2" } ] }, "attachment-circuits": { "attachment-circuit": [ { "id": "AC ONT", "description": "AC connected to PC2", "ac-node-id": "172.16.61.11", "ac-tp-id": "200", "ac-ipv4-address": "172.16.61.11" } ] } } ] } No newline at end of file