summaryrefslogtreecommitdiffstats
path: root/optical-service/model/src/main/yang/optical-service.yang
diff options
context:
space:
mode:
authorMehreen Kaleem <mehreen.kaleem@us.fujitsu.com>2020-04-15 13:10:12 +0000
committerMehreen Kaleem <mehreen.kaleem@us.fujitsu.com>2020-04-15 13:12:28 +0000
commitbdd9078cc1287c68817d0be392a8bb1e4172d00b (patch)
tree6d45938057cf050c66b038b5a79221d92dea0d4a /optical-service/model/src/main/yang/optical-service.yang
parentda9e225fb39b7720c6092d19bb5c8dbe4d002539 (diff)
Updated the yang for optical-service
package Change-Id: Ie212e8de35c4ac2b0239b21be07e16d9e8431d28 Issue-ID: SDNC-1144 Signed-off-by: Mehreen Kaleem <mehreen.kaleem@us.fujitsu.com>
Diffstat (limited to 'optical-service/model/src/main/yang/optical-service.yang')
-rw-r--r--optical-service/model/src/main/yang/optical-service.yang65
1 files changed, 21 insertions, 44 deletions
diff --git a/optical-service/model/src/main/yang/optical-service.yang b/optical-service/model/src/main/yang/optical-service.yang
index 911bd488..720b83b5 100644
--- a/optical-service/model/src/main/yang/optical-service.yang
+++ b/optical-service/model/src/main/yang/optical-service.yang
@@ -43,50 +43,20 @@ module opticalservice {
container payload {
- leaf domain-type {
- type string;
- }
-
- leaf service-name {
- type string;
- }
-
- leaf service-rate {
- type string;
- }
- leaf service-protocol {
- type string;
- }
-
- leaf coding-func {
- type string;
- }
-
- container service-a-end {
- uses service-end-g;
- }
-
- container service-z-end {
- uses service-end-g;
- }
-
- leaf service-layer {
- type string;
+ list param {
+
+ key "name";
+ leaf name {
+ type string;
+ }
+
+ leaf value {
+ type string;
+ }
}
}
}
- grouping service-end-g {
-
- leaf port-id {
- type string;
- }
-
- leaf port-name {
- type string;
- }
- }
-
grouping request-source-g {
leaf request-id {
@@ -111,17 +81,24 @@ module opticalservice {
leaf ack-final-indicator {
type string;
}
-
}
grouping optical-service-delete-request {
-
+
uses request-source-g;
container payload {
- leaf service-name {
- type string;
+ list param {
+
+ key "name";
+ leaf name {
+ type string;
+ }
+
+ leaf value {
+ type string;
+ }
}
}
}