diff options
Diffstat (limited to 'v3po/api/src')
-rw-r--r-- | v3po/api/src/main/yang/v3po.yang | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang index fff8293d5..c1c0ce23d 100644 --- a/v3po/api/src/main/yang/v3po.yang +++ b/v3po/api/src/main/yang/v3po.yang @@ -328,6 +328,28 @@ module v3po { } } + /* + * Defines the supported decap node for vxlan. + */ + identity decap-node { + description + "Define the supported decap node"; + } + identity l2-input { + base decap-node; + description + "The next decap node is l2-input"; + } + identity nsh-proxy { + base decap-node; + description + "The next decap node is nsh-proxy"; + } + typedef vxlan-decap-node { + type identityref { + base "decap-node"; + } + } grouping vxlan-base-attributes { // FIXME: this should be in an vxlan-specific extension leaf src { @@ -345,6 +367,10 @@ module v3po { leaf encap-vrf-id { type uint32; } + leaf decap-next { + type vxlan-decap-node; + default "l2-input"; + } } grouping gre-base-attributes { |