pyang: missing key in neutron port attribute
[neutron.git] / model / src / main / yang / neutron-ports.yang
index a7ae07f78d16d9efb578044dd3e2d3850de16ad8..8f1e9062a951e880a3b44012271d8635cc6687e2 100644 (file)
@@ -54,12 +54,19 @@ module neutron-ports {
         list extra-dhcp-opts {
             description "Extra DHCP options";
             reference "http://developer.openstack.org/api-ref-networking-v2.html";
+            key "opt-name ip-version";
             leaf opt-name {
                 type string;
             }
             leaf opt-value {
                 type string;
             }
+            leaf ip-version {
+                type enumeration {
+                    enum 4;
+                    enum 6;
+                }
+            }
         }
         leaf device-owner {
             type string;