Merge from master
[osm/SO.git] / rwlaunchpad / plugins / rwvns / yang / rwsdn.yang
index e590436..fba317f 100644 (file)
@@ -98,6 +98,7 @@ module rwsdn
       enum odl;
       enum mock;
       enum sdnsim;
+      enum openstack;
     }
   }
 
@@ -152,6 +153,62 @@ module rwsdn
           default "rwsdn_sim";
         }
       }
+
+      container openstack {
+        leaf key {
+          type string;
+          mandatory true;
+        }
+
+        leaf secret {
+          type string;
+          mandatory true;
+        }
+
+        leaf auth_url {
+          type string;
+          mandatory true;
+        }
+
+        leaf tenant {
+          type string;
+          mandatory true;
+        }
+
+        leaf admin {
+          type boolean;
+          default false;
+        }
+
+        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 region {
+          type string;
+          default "RegionOne";
+        }
+
+        leaf plugin-name {
+          type string;
+          default "rwsdn_openstack";
+        }
+
+        leaf cert-validate {
+          type boolean;
+          default false;
+          description "Certificate validatation policy in case of SSL/TLS connection";
+        }
+      }
+
     }
   }
 
@@ -341,6 +398,9 @@ module rwsdn
         leaf rsp-name {
           type string;
         }
+        leaf rsp-id {
+          type yang:uuid;
+        }
         leaf port-id {
           rwpb:field-inline "true";
           rwpb:field-string-max 64;