summaryrefslogtreecommitdiffstats
path: root/srv6/srv6-impl/src/test/resources/named-segments.json
diff options
context:
space:
mode:
Diffstat (limited to 'srv6/srv6-impl/src/test/resources/named-segments.json')
-rw-r--r--srv6/srv6-impl/src/test/resources/named-segments.json74
1 files changed, 74 insertions, 0 deletions
diff --git a/srv6/srv6-impl/src/test/resources/named-segments.json b/srv6/srv6-impl/src/test/resources/named-segments.json
new file mode 100644
index 000000000..039db0b81
--- /dev/null
+++ b/srv6/srv6-impl/src/test/resources/named-segments.json
@@ -0,0 +1,74 @@
+{
+ "named-segment-lists": {
+ "named-segment-list": [
+ {
+ "name": "a::e-0",
+ "config": {
+ "name": "a::e-0"
+ },
+ "segments": {
+ "segment": [
+ {
+ "index": 1,
+ "config": {
+ "index": 1,
+ "type": "type-2",
+ "sid-value": "c::"
+ }
+ },
+ {
+ "index": 2,
+ "config": {
+ "index": 2,
+ "type": "type-2",
+ "sid-value": "b::"
+ }
+ },
+ {
+ "index": 3,
+ "config": {
+ "index": 3,
+ "type": "type-2",
+ "sid-value": "a::"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "name": "a::e-1",
+ "config": {
+ "name": "a::e-1"
+ },
+ "segments": {
+ "segment": [
+ {
+ "index": 1,
+ "config": {
+ "index": 1,
+ "type": "type-2",
+ "sid-value": "b::"
+ }
+ },
+ {
+ "index": 2,
+ "config": {
+ "index": 2,
+ "type": "type-2",
+ "sid-value": "c::"
+ }
+ },
+ {
+ "index": 3,
+ "config": {
+ "index": 3,
+ "type": "type-2",
+ "sid-value": "a::"
+ }
+ }
+ ]
+ }
+ }
+ ]
+ }
+}