vpnmanager: update vpn instance families based on subnetmap updates only
[netvirt.git] / vpnservice / vpnmanager / vpnmanager-api / src / main / yang / odl-l3vpn.yang
index 0857b7a2274a55de5fc27b3014b3f31a60c6f23a..910c0d29216af74e85b4c074fa9ef96e6aab50e0 100644 (file)
@@ -88,9 +88,26 @@ module odl-l3vpn {
               leaf subnet-id {
                   type yang:uuid;
               }
-              leaf nat-prefix {
-                  type boolean;
-                  default false;
+              leaf prefix-cue {
+                  type enumeration {
+                      enum none {
+                          value "0";
+                          description "Nothing special";
+                      }
+                      enum nat {
+                          value "1";
+                          description "NAT prefix";
+                      }
+                      enum phys-net-func {
+                          value "2";
+                          description "Physical Network Function(PNF) prefix";
+                      }
+                      enum subnet-route {
+                          value "3";
+                          description "Subnet Route prefix";
+                      }
+                  }
+                  default "none";
               }
            }
         }
@@ -244,6 +261,18 @@ 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 type {
               description
                  "The type of the VPN Instance.