diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-03-06 14:47:25 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-03-08 11:16:14 +0000 |
commit | edfda17905645b68e72b683eba2509f75040ad53 (patch) | |
tree | 7ace91fda966fa0854c17f39762ef062a6d87dc7 /v3po/api | |
parent | 1a11603e9f595a061dd392c6a7e19b1bed9ea0ea (diff) |
HC2VPP-95: ND Proxy yang model
Follows VPP change:
https://gerrit.fd.io/r/#/c/5524/
Change-Id: Iea3a3c35374751a4982e3c9d9d90a7540e8592d8
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po/api')
-rw-r--r-- | v3po/api/src/main/yang/nd-proxy.yang | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/v3po/api/src/main/yang/nd-proxy.yang b/v3po/api/src/main/yang/nd-proxy.yang new file mode 100644 index 000000000..ec23d564e --- /dev/null +++ b/v3po/api/src/main/yang/nd-proxy.yang @@ -0,0 +1,46 @@ +module nd-proxy { + yang-version 1; + namespace "urn:opendaylight:params:xml:ns:yang:vpp:nd:proxy"; + prefix "nd-proxy"; + revision "2017-03-15" { + description "Initial revision of neighbour discovery proxy model for VPP"; + } + + import ietf-inet-types { + prefix "inet"; + } + import ietf-interfaces { + prefix "if"; + } + import ietf-ip { + prefix "ip"; + } + import yang-ext { + prefix "ext"; + } + + augment /if:interfaces/if:interface/ip:ipv6 { + ext:augment-identifier "nd-proxy-ip6-augmentation"; + container nd-proxies { + list nd-proxy { + key "address"; + leaf address { + type inet:ipv6-address-no-zone; + } + } + } + } + + augment /if:interfaces-state/if:interface/ip:ipv6 { + ext:augment-identifier "nd-proxy-ip6-state-augmentation"; + container nd-proxies { + list nd-proxy { + key "address"; + leaf address { + type inet:ipv6-address-no-zone; + } + } + } + } + // TODO(HC2VPP-7): move nd-proxy module to interfaces/ip plugin +}
\ No newline at end of file |