summaryrefslogtreecommitdiffstats
path: root/v3po
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2016-08-15 09:04:22 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-08-15 13:15:17 +0000
commit244a9a5a77782e7c24d5377d633e44b84f91972a (patch)
tree09260a1b49fccf6cdf69ce2a4cd19d0f4c09838d /v3po
parent108cf86484c5792cf8db0caada0a0f11582e03fc (diff)
HONEYCOMB-125: yang model for ARP termination table management
Change-Id: Ibf7139eb85ffd4fac489f42ebba5041b585f5dcf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'v3po')
-rw-r--r--v3po/api/src/main/yang/v3po.yang18
1 files changed, 17 insertions, 1 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang
index d9b0c5bce..9ef133979 100644
--- a/v3po/api/src/main/yang/v3po.yang
+++ b/v3po/api/src/main/yang/v3po.yang
@@ -154,6 +154,22 @@ module v3po {
type boolean;
default false;
}
+
+ container arp-termination-table {
+ when "../v3po:arp-termination = 'true'";
+
+ // TODO(HONEYCOMB-133): add support for read (after VPP-230 is done)
+ list arp-termination-table-entry {
+ key "ip-address phys-address";
+ leaf ip-address {
+ // FIXME: change to ip-address-no-zone after https://bugs.opendaylight.org/show_bug.cgi?id=6413 is resolved
+ type inet:ip-address;
+ }
+ leaf phys-address {
+ type yang:phys-address;
+ }
+ }
+ }
}
// TODO express constraints for L2 FIB entries in YANG if possible
@@ -189,7 +205,7 @@ module v3po {
"L2 FIB action. For filter action, entry must be configured as static.";
}
leaf bridged-virtual-interface {
- when "../v3po:action = 'forward'";
+ when "../action = 'forward'";
type boolean;
config false; // FIXME setting bvi is currently not supported by VPP's binary api
}