summaryrefslogtreecommitdiffstats
path: root/l3/api/src/main/yang/nd-proxy.yang
diff options
context:
space:
mode:
authorJan Srnicek <jsrnicek@cisco.com>2017-03-10 10:00:43 +0100
committerJan Srnicek <jsrnicek@cisco.com>2017-03-10 10:00:43 +0100
commitfb50d586985f12d1aa39eb6c5fdcd6b8a87b26da (patch)
treed9ddcc1095a51188a8af53daacab6873bb98bf5e /l3/api/src/main/yang/nd-proxy.yang
parent17ef7d8eb8bae7b34c0ccd2d4a7610f607a90f5e (diff)
HC2VPP-7 - L3 split to separate module
ipv4/ipv6/proxy arp/nd proxy Change-Id: I536298dd5584f79f357e94da08d402e67e79bb71 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
Diffstat (limited to 'l3/api/src/main/yang/nd-proxy.yang')
-rw-r--r--l3/api/src/main/yang/nd-proxy.yang45
1 files changed, 45 insertions, 0 deletions
diff --git a/l3/api/src/main/yang/nd-proxy.yang b/l3/api/src/main/yang/nd-proxy.yang
new file mode 100644
index 000000000..11a6ad2b8
--- /dev/null
+++ b/l3/api/src/main/yang/nd-proxy.yang
@@ -0,0 +1,45 @@
+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;
+ }
+ }
+ }
+ }
+} \ No newline at end of file