diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-05-11 11:01:08 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-05-13 06:59:33 +0000 |
commit | c6e09d4309ede503d7947fb817691d9e391a8794 (patch) | |
tree | 80a834e09bec82487c99b28221f72792922f9704 /v3po/api/src/main/yang/v3po.yang | |
parent | bda71e90c86e80dd4a3d6ace620abd718700ddd5 (diff) |
HONEYCOMG-37 Enable ipv6 addresses for vxlan-tunnels
+ Add logging to other interface type customizers
Change-Id: I177c0af26991c5f421b513f5fd9964ca1c23027e
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/api/src/main/yang/v3po.yang')
-rw-r--r-- | v3po/api/src/main/yang/v3po.yang | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/v3po/api/src/main/yang/v3po.yang b/v3po/api/src/main/yang/v3po.yang index e346ae144..ca335aa1c 100644 --- a/v3po/api/src/main/yang/v3po.yang +++ b/v3po/api/src/main/yang/v3po.yang @@ -191,15 +191,15 @@ module v3po { when "../if:type = 'v3po:vxlan-tunnel'"; leaf src { - /* mandatory true; */ - type inet:ipv4-address; + /*mandatory true;*/ + type inet:ip-address; } leaf dst { - /* mandatory true; */ - type inet:ipv4-address; + /*mandatory true;*/ + type inet:ip-address; } leaf vni { - /* mandatory true; */ + /*mandatory true;*/ type vxlan-vni; } leaf encap-vrf-id { @@ -338,11 +338,13 @@ module v3po { when "../if:type = 'v3po:vxlan-tunnel'"; leaf src { - type inet:ipv4-address; + type inet:ip-address; } leaf dst { - type inet:ipv4-address; + type inet:ip-address; } + + leaf vni { type uint32; } |