/*
*
- * 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.
prefix "manotypes";
}
+ import ietf-inet-types {
+ prefix "inet";
+ }
+
import vlr {
prefix "vlr";
}
+ import vnfd-base {
+ prefix "vnfd-base";
+ }
+
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
"Derived from earlier versions of base YANG files";
}
- augment /vlr:vlr-catalog/vlr:vlr {
- leaf cloud-account {
+ augment /rw-project:project/vlr:vlr-catalog/vlr:vlr {
+
+ leaf datacenter {
description
- "The cloud account to use when requesting resources for
- this vlr";
- type leafref {
- path "/rwcloud:cloud/rwcloud:account/rwcloud:name";
- }
+ "Datacenter name to use when instantiating
+ the network service.";
+ type string;
}
+
leaf network_pool {
description "The network pool the resource was allocated from.";
type string;
"The error message in case of a failed VLR operational status";
type string;
}
+
+ list virtual-connection-points {
+ key name;
+ uses vnfd-base:common-connection-point;
+
+ leaf-list associated-cps {
+ type string;
+ }
+
+ leaf connection-point-id {
+ description "VIM identifier for connection point";
+ type string;
+ }
+
+ leaf ip-address {
+ description "IP Address of virtual connection point";
+ type inet:ip-address;
+ }
+ leaf mac-address {
+ description "MAC Address of the virtual connection point";
+ type string;
+ }
+ }
}
}