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 | 11395c60f5c204a6c050c5d90c902c4fc5940537 (patch) | |
tree | a5d7261a1f187fd9d5b4c87ca06aeaf2bf734795 /v3po/api/src | |
parent | 65e93b3426fcc61ee821c3674b51f8365721abeb (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')
-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; } |