X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=vpnmanager%2Fapi%2Fsrc%2Fmain%2Fyang%2Fodl-l3vpn.yang;h=ef1af3baeb270a189760bdd89acd3991f44e87b2;hb=2cb614254701461fc81d18df284389e99521083c;hp=4e7aec52b0ae7046e56adf08aada39e84cb1b33c;hpb=35631566cc1c319e83d150f53ea9529f0ce7e015;p=netvirt.git diff --git a/vpnmanager/api/src/main/yang/odl-l3vpn.yang b/vpnmanager/api/src/main/yang/odl-l3vpn.yang index 4e7aec52b0..ef1af3baeb 100644 --- a/vpnmanager/api/src/main/yang/odl-l3vpn.yang +++ b/vpnmanager/api/src/main/yang/odl-l3vpn.yang @@ -273,17 +273,22 @@ module odl-l3vpn { default "active"; } } - leaf ipv4-configured { - type boolean; - description - "This VPN Instance handles IPv4 traffic"; - default false; - } - leaf ipv6-configured { - type boolean; - description - "This VPN Instance handles IPv6 traffic"; - default false; + leaf ip-address-family-configured { + type enumeration { + enum "undefined" { + value "0"; + } + enum "ipv4" { + value "4"; + } + enum "ipv6" { + value "6"; + } + enum "ipv4-and-ipv6" { + value "10"; + } + } + default "undefined"; } leaf bgpvpn-type { type enumeration {