summaryrefslogtreecommitdiffstats
path: root/routing/routing-impl/src/test/resources/ra
diff options
context:
space:
mode:
Diffstat (limited to 'routing/routing-impl/src/test/resources/ra')
-rw-r--r--routing/routing-impl/src/test/resources/ra/complexPrefix.json12
-rw-r--r--routing/routing-impl/src/test/resources/ra/complexRa.json18
-rw-r--r--routing/routing-impl/src/test/resources/ra/simplePrefix.json10
-rw-r--r--routing/routing-impl/src/test/resources/ra/simpleRa.json13
4 files changed, 53 insertions, 0 deletions
diff --git a/routing/routing-impl/src/test/resources/ra/complexPrefix.json b/routing/routing-impl/src/test/resources/ra/complexPrefix.json
new file mode 100644
index 000000000..ca40fec63
--- /dev/null
+++ b/routing/routing-impl/src/test/resources/ra/complexPrefix.json
@@ -0,0 +1,12 @@
+{
+ "prefix-list": {
+ "prefix": [
+ {
+ "prefix-spec": "2001:0db8:0a0b:12f0:0000:0000:0000:0002/64",
+ "autonomous-flag": "false",
+ "vpp-routing-ra:advertise-router-address" : "false",
+ "valid-lifetime" : "0xffffffff"
+ }
+ ]
+ }
+}
diff --git a/routing/routing-impl/src/test/resources/ra/complexRa.json b/routing/routing-impl/src/test/resources/ra/complexRa.json
new file mode 100644
index 000000000..05079c656
--- /dev/null
+++ b/routing/routing-impl/src/test/resources/ra/complexRa.json
@@ -0,0 +1,18 @@
+{
+ "interfaces": {
+ "interface": [
+ {
+ "name": "eth0",
+ "ipv6-router-advertisements": {
+ "send-advertisements": "true",
+ "min-rtr-adv-interval": "20",
+ "max-rtr-adv-interval": "100",
+ "default-lifetime": "601",
+ "vpp-routing-ra:suppress-link-layer": "false",
+ "vpp-routing-ra:initial-count": "2",
+ "vpp-routing-ra:initial-interval": "15"
+ }
+ }
+ ]
+ }
+}
diff --git a/routing/routing-impl/src/test/resources/ra/simplePrefix.json b/routing/routing-impl/src/test/resources/ra/simplePrefix.json
new file mode 100644
index 000000000..8b5738133
--- /dev/null
+++ b/routing/routing-impl/src/test/resources/ra/simplePrefix.json
@@ -0,0 +1,10 @@
+{
+ "prefix-list": {
+ "prefix": [
+ {
+ "prefix-spec": "2001:0db8:0a0b:12f0:0000:0000:0000:0002/64",
+ "autonomous-flag": "true"
+ }
+ ]
+ }
+}
diff --git a/routing/routing-impl/src/test/resources/ra/simpleRa.json b/routing/routing-impl/src/test/resources/ra/simpleRa.json
new file mode 100644
index 000000000..4a7ce3464
--- /dev/null
+++ b/routing/routing-impl/src/test/resources/ra/simpleRa.json
@@ -0,0 +1,13 @@
+{
+ "interfaces": {
+ "interface": [
+ {
+ "name": "eth0",
+ "ipv6-router-advertisements": {
+ "send-advertisements": "true",
+ "managed-flag": "true"
+ }
+ }
+ ]
+ }
+}