diff options
Diffstat (limited to 'v3po/api/src')
-rw-r--r-- | v3po/api/src/main/yang/v3po.yang | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang index 828a095b0..6333ec58d 100644 --- a/v3po/api/src/main/yang/v3po.yang +++ b/v3po/api/src/main/yang/v3po.yang @@ -227,12 +227,10 @@ module v3po { } leaf outgoing-interface { - type string; - // mandatory true; - // mandatory for forward action - // FIXME VPP's CLI does not require to set iface id for filter action - // VPP's binary api in constrast to CLI does some checks on the iface id value, - // so currently it has to be set for all actions + // either filter must be specified or interface(can't be both) + when "../action != 'l2-fib-filter'"; + type if:interface-ref; + // mandatory true; - when is not actually resolved, so mandatory can't be in place description "One of interfaces assigned to the FIB table's bridge-domain."; } |