summaryrefslogtreecommitdiffstats
path: root/generic-resource-api/model/src/main
diff options
context:
space:
mode:
authorgaurav <gaurav.agrawal@huawei.com>2018-07-18 14:11:29 +0530
committerGaurav Agrawal <gaurav.agrawal@huawei.com>2018-07-18 10:57:34 +0000
commitbfae9369f0cf673f3d0948cafd3245e25e14154c (patch)
treeac8f11b7e376d4a8109e63f5356d2a43787e827f /generic-resource-api/model/src/main
parentc9b19bb98a7dd857522524b40227bb6ef74b4dec (diff)
New allotted resource for connectivity attachment.
Addition of a new allotted resource "connectivity attachment" to generic-resource-api schema. Connectivity attachment will be provided by Connectivity service and will be allotted to Site service as part of CCVPN use case. This new allotted-resource can serve for both SOTNAttachment and SDWANAttachment. Change-Id: Iff5ad46a72d55bc83ca36e4703d439e43fe948ce Issue-ID: SDNC-384 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
Diffstat (limited to 'generic-resource-api/model/src/main')
-rw-r--r--generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang67
1 files changed, 67 insertions, 0 deletions
diff --git a/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang b/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang
index 3b751b13..a6a44263 100644
--- a/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang
+++ b/generic-resource-api/model/src/main/yang/GENERIC-RESOURCE-API.yang
@@ -880,6 +880,37 @@ module GENERIC-RESOURCE-API {
}
}
}
+
+ grouping connection-attachment-operation-information {
+ uses sdnc-request-header;
+ uses request-information;
+ uses service-information;
+ uses allotted-resource-information;
+ uses connection-attachment-request-input;
+ }
+
+ grouping connection-attachment-request-input {
+ container connection-attachment-request-input {
+ uses param;
+ }
+ }
+
+ grouping connection-attachment-topology {
+ container brg-topology {
+ uses allotted-resource-identifiers;
+ uses onap-model-information;
+ uses connection-attachment-assignments;
+ container connection-attachment-parameters {
+ uses param;
+ }
+ }
+ }
+
+ grouping connection-attachment-assignments {
+ container connection-attachment-assignments {
+ }
+ }
+
grouping allotted-resource-information {
container allotted-resource-information {
leaf allotted-resource-id {
@@ -1248,6 +1279,11 @@ module GENERIC-RESOURCE-API {
uses instance-reference;
}
}
+ grouping connection-attachment-response-information {
+ container connection-attachment-response-information {
+ uses instance-reference;
+ }
+ }
grouping preload-model-information {
list vnf-preload-list {
key "vnf-name vnf-type";
@@ -1728,6 +1764,26 @@ module GENERIC-RESOURCE-API {
uses allotted-resource-status;
}
}
+ container connection-attachment-allotted-resources {
+ list connection-attachment-allotted-resource {
+ key "allotted-resource-id";
+ leaf allotted-resource-id {
+ type string;
+ mandatory true;
+ }
+ container allotted-resource-data {
+ container allotted-resource-operation-information {
+ uses connection-attachment-operation-information;
+ }
+ uses connection-attachment-topology;
+ container connection-attachment-parameters {
+ uses param;
+ }
+ uses allotted-resource-oper-status;
+ }
+ uses allotted-resource-status;
+ }
+ }
rpc service-topology-operation {
input {
uses service-operation-information;
@@ -1832,4 +1888,15 @@ module GENERIC-RESOURCE-API {
}
}
+ rpc connection-attachment-topology-operation {
+ input {
+ uses connection-attachment-operation-information;
+ }
+ output {
+ uses topology-response-common;
+ uses connection-attachment-response-information;
+ uses service-response-information;
+ }
+ }
+
} ////closes the module