X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=models%2Fplugins%2Fyang%2Frw-vlr.yang;h=88e8e43a6d0bb39251e15a600d337cb4ccdfedb8;hb=a3bb91f092d378448cb870eccd45d43865de143c;hp=739dbec646b153d58041b465ad7bed0da00dc448;hpb=6f07e6f33f751ab4ffe624f6037f887b243bece2;p=osm%2FSO.git diff --git a/models/plugins/yang/rw-vlr.yang b/models/plugins/yang/rw-vlr.yang index 739dbec6..88e8e43a 100644 --- a/models/plugins/yang/rw-vlr.yang +++ b/models/plugins/yang/rw-vlr.yang @@ -1,7 +1,7 @@ /* * - * Copyright 2016 RIFT.IO Inc + * Copyright 2016-2017 RIFT.IO Inc * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -32,13 +32,22 @@ module rw-vlr } import rw-cloud { - prefix "rwcloud"; + prefix "rw-cloud"; } import ietf-yang-types { prefix "yang"; } + import rw-project { + prefix "rw-project"; + } + + revision 2017-02-08 { + description + "Update model to support projects."; + } + revision 2015-09-30 { description "Initial revision. This YANG file augments @@ -47,15 +56,24 @@ module rw-vlr "Derived from earlier versions of base YANG files"; } - augment /vlr:vlr-catalog/vlr:vlr { + augment /rw-project:project/vlr:vlr-catalog/vlr:vlr { leaf cloud-account { description "The cloud account to use when requesting resources for this vlr"; type leafref { - path "/rwcloud:cloud/rwcloud:account/rwcloud:name"; + path "../../../rw-cloud:cloud/rw-cloud:account/rw-cloud:name"; } } + leaf om-datacenter { + description + "Openmano datacenter name to use when instantiating + the network service. This is only used when openmano + is selected as the cloud account. This should be superceded + by multiple cloud accounts when that becomes available."; + type string; + } + leaf network_pool { description "The network pool the resource was allocated from.";