Bug-180: Floating IP reuse
[osm/SO.git] / rwcal / plugins / yang / rwcal.yang
index 76bd38b..9daefb1 100644 (file)
@@ -231,11 +231,27 @@ module rwcal
           mandatory true;
         }
 
+        leaf user-domain {
+          type string;
+          default "Default";
+          description "Domain of the OpenStack user";
+        }
+        leaf project-domain {
+          type string;
+          default "Default";
+          description "Domain of the OpenStack project";
+        }
+
         leaf tenant {
           type string;
           mandatory true;
         }
 
+        leaf region {
+          type string;
+          default "RegionOne";
+        }
+        
         leaf admin {
           type boolean;
           default false;
@@ -971,6 +987,10 @@ module rwcal
         description "Name of the security group";
         type string;
       }
+      leaf port-security-enabled {
+        description "Enables the port security";
+        type boolean;
+      }
 
       uses connection-point-type;
     }
@@ -999,6 +1019,8 @@ module rwcal
       }
     }
  
+    uses manotypes:supplemental-boot-data;
+
     list volumes {
       key "name";
 
@@ -1048,6 +1070,10 @@ module rwcal
         type boolean;
         default false;
       }
+      leaf port-security-enabled {
+        description "Enables the port security";
+        type boolean;
+      }
 
       uses connection-point-type;
     }
@@ -1109,6 +1135,12 @@ module rwcal
       rwpb:field-string-max 64;
       type string;
     }
+
+    leaf mac-addr {
+      rwpb:field-inline "true";
+      rwpb:field-string-max 48;
+      type string;
+    }
   }
 
   grouping virtual-link-info-params {
@@ -1225,6 +1257,8 @@ module rwcal
       description "Console URL from the VIM, if available";
     }
 
+    uses manotypes:supplemental-boot-data;
+
     list volumes {
       key "name";
 
@@ -1239,7 +1273,6 @@ module rwcal
         rwpb:field-string-max 64;
         type string;
       }
-
     } 
   }