summaryrefslogtreecommitdiffstats
path: root/lcm/model/src
diff options
context:
space:
mode:
authorEnbo Wang <wangenbo@huawei.com>2019-03-19 08:40:53 +0000
committerEnbo Wang <wangenbo@huawei.com>2019-03-19 08:54:58 +0000
commit602185d0b632359adae3b3eabd8bf8c3234651ad (patch)
treebca973de3555a137cb1beebbab00a7c52d6d8976 /lcm/model/src
parent212f2fe2dfa6c31dd64b5c7defe66ed458cfd4c3 (diff)
Update LCM:rollback action for PNF S/W upgrade
Change mandatory input fields in rollback action to optional and add optional output payload field. Change-Id: Icc1b479c7fcfaeeb315dadd5762e9443d5dfba1c Issue-ID: SDNC-669 Signed-off-by: Enbo Wang <wangenbo@huawei.com>
Diffstat (limited to 'lcm/model/src')
-rw-r--r--lcm/model/src/main/yang/lcm.yang8
1 files changed, 6 insertions, 2 deletions
diff --git a/lcm/model/src/main/yang/lcm.yang b/lcm/model/src/main/yang/lcm.yang
index c9ec3ca8..cbb772fb 100644
--- a/lcm/model/src/main/yang/lcm.yang
+++ b/lcm/model/src/main/yang/lcm.yang
@@ -682,16 +682,20 @@ module LCM {
}
leaf identity-url {
type string;
- mandatory true;
+ mandatory false;
}
leaf snapshot-id {
type string;
- mandatory true;
+ mandatory false;
}
}
output {
uses common-header;
uses status;
+ leaf payload {
+ type payload;
+ mandatory false;
+ }
}
}