From 5091805511c00d3a59b39131b1d053aa6d9eb2a6 Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Mon, 15 Aug 2016 09:04:22 +0200 Subject: HONEYCOMB-125: yang model for ARP termination table management Change-Id: Ibf7139eb85ffd4fac489f42ebba5041b585f5dcf Signed-off-by: Marek Gradzki --- v3po/api/src/main/yang/v3po.yang | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) 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 } -- cgit 1.2.3-korg