diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-02-13 09:48:11 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-02-13 10:36:43 +0000 |
commit | 51b5027b786d4452940e2331bad2068fbf655547 (patch) | |
tree | 8acc58fa89c1cbe9ce0059463b836eb71ee48d8a /routing/routing-impl/src/test/resources/ra | |
parent | 43dfe4c3bdd859664c0d3eb6967c502f87713e31 (diff) |
HC2VPP-66: unit tests for SLAAC write
Change-Id: I0dd32f2d540a9187fbd97c3818470d2ee1ca47d7
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'routing/routing-impl/src/test/resources/ra')
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" + } + } + ] + } +} |