X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=rwcal%2Fplugins%2Fyang%2Frwcal.yang;h=1ed2f7bdb9af684179279ba7e9babd42da7fb820;hb=4bd9025f301e1e341af70f6f3a0fb5f239f59b44;hp=c04462fb295a496d29896c22fc5d1b7e80ab0597;hpb=07b439824b5eac4dc760ce56b52fbdcf5539db4c;p=osm%2FSO.git diff --git a/rwcal/plugins/yang/rwcal.yang b/rwcal/plugins/yang/rwcal.yang index c04462fb..1ed2f7bd 100644 --- a/rwcal/plugins/yang/rwcal.yang +++ b/rwcal/plugins/yang/rwcal.yang @@ -100,62 +100,6 @@ module rwcal uses connection-status; - typedef sdn-account-type { - description "SDN account type"; - type enumeration { - enum odl; - enum mock; - enum sdnsim; - } - } - - grouping sdn-provider-auth { - leaf account-type { - type sdn-account-type; - } - - choice provider-specific-info { - container odl { - leaf username { - type string { - length "1..255"; - } - } - - leaf password { - type string { - length "1..32"; - } - } - - leaf url { - type string { - length "1..255"; - } - } - } - container mock { - leaf username { - type string; - } - leaf plugin-name { - type string; - default "rwsdn_mock"; - } - } - - container sdnsim { - leaf username { - type string; - } - leaf plugin-name { - type string; - default "rwsdn_sim"; - } - } - } - } - grouping provider-auth { leaf account-type { type manotypes:cloud-account-type; @@ -247,6 +191,11 @@ module rwcal mandatory true; } + leaf region { + type string; + default "RegionOne"; + } + leaf admin { type boolean; default false; @@ -1014,7 +963,7 @@ module rwcal } } - uses manotypes:custom-boot-data; + uses manotypes:supplemental-boot-data; list volumes { key "name"; @@ -1252,7 +1201,7 @@ module rwcal description "Console URL from the VIM, if available"; } - uses manotypes:custom-boot-data; + uses manotypes:supplemental-boot-data; list volumes { key "name"; @@ -1268,7 +1217,6 @@ module rwcal rwpb:field-string-max 64; type string; } - uses manotypes:custom-meta-data; } }