summaryrefslogtreecommitdiffstats
path: root/v3po/api/src/main/yang/v3po.yang
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
commit5091805511c00d3a59b39131b1d053aa6d9eb2a6 (patch)
treee464b686244cf812536bdc57b0cd70243f04f74d /v3po/api/src/main/yang/v3po.yang
parent4e288bb329065aa8d429992f7b0d74872fc77d1a (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/api/src/main/yang/v3po.yang')
-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
}