X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwcal%2Fplugins%2Fyang%2Frwcal.yang;h=9daefb106b44b703f86d22440164f4bb693c2796;hb=c83255e5aaedf0b65b1391d99716b17a773aa5fe;hp=9519d05b0b5f9edbe64b0f41539548be7b6ade9f;hpb=168899eaf1e5b8b75110d1a4f2b9d739644370e4;p=osm%2FSO.git diff --git a/rwcal/plugins/yang/rwcal.yang b/rwcal/plugins/yang/rwcal.yang index 9519d05b..9daefb10 100644 --- a/rwcal/plugins/yang/rwcal.yang +++ b/rwcal/plugins/yang/rwcal.yang @@ -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,10 +987,21 @@ 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; } + leaf mgmt-network { + description + "Explicit mgmt-network name, otherwise the mgmt-network from + Cloud account is used"; + type string; + } + leaf allocate-public-address { description "If this VDU needs public IP address"; type boolean; @@ -991,6 +1018,18 @@ module rwcal type string; } } + + uses manotypes:supplemental-boot-data; + + list volumes { + key "name"; + + leaf name { + description "Name of the disk-volumes, e.g. vda, vdb etc"; + type string; + } + uses manotypes:volume-info; + } } container vdu-init-params { @@ -1031,6 +1070,10 @@ module rwcal type boolean; default false; } + leaf port-security-enabled { + description "Enables the port security"; + type boolean; + } uses connection-point-type; } @@ -1213,8 +1256,27 @@ module rwcal type string; description "Console URL from the VIM, if available"; } + + uses manotypes:supplemental-boot-data; + + list volumes { + key "name"; + + leaf name { + description "Name of the disk-volumes, e.g. vda, vdb etc"; + type string; + } + + leaf volume-id { + description "CAL assigned volume-id "; + rwpb:field-inline "true"; + rwpb:field-string-max 64; + type string; + } + } } + container vnf-resources { rwpb:msg-new VNFResources; config false;