From 6a90726a7134f16c36ce2aacfaf96e2f88476c4f Mon Sep 17 00:00:00 2001 From: Enbo Wang Date: Mon, 20 Jan 2020 14:51:13 +0800 Subject: Update pnf-id to pnf-name in LCM API In order to be compatible with Pnf entry in A&AI, update pnf-id to pnf-name. Change-Id: Ibb76fd754c4a657a6f4af4453b3c819670fb96c2 Issue-ID: SDNC-856 Signed-off-by: Enbo Wang --- lcm/model/src/main/resources/lcm.20180329.json | 4 ++-- lcm/model/src/main/yang/lcm.yang | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'lcm/model') diff --git a/lcm/model/src/main/resources/lcm.20180329.json b/lcm/model/src/main/resources/lcm.20180329.json index 18512fc35..b84189858 100644 --- a/lcm/model/src/main/resources/lcm.20180329.json +++ b/lcm/model/src/main/resources/lcm.20180329.json @@ -1628,7 +1628,7 @@ "$ref": "#/definitions/Optional.empty", "description": "identifies a specific VM within the given service/vnf to which\\n this action is to be applied" }, - "pnf-id": { + "pnf-name": { "$ref": "#/definitions/Optional.empty", "description": "identifies the PNF to which this action is to be applied." } @@ -4358,7 +4358,7 @@ "$ref": "#/definitions/Optional.empty", "description": "identifies a specific VM within the given service/vnf to which\\n this action is to be applied" }, - "LCM:pnf-id": { + "LCM:pnf-name": { "$ref": "#/definitions/Optional.empty", "description": "identifies the PNF to which this action is to be applied." } diff --git a/lcm/model/src/main/yang/lcm.yang b/lcm/model/src/main/yang/lcm.yang index d2ca5feb5..188068a68 100644 --- a/lcm/model/src/main/yang/lcm.yang +++ b/lcm/model/src/main/yang/lcm.yang @@ -313,12 +313,11 @@ module LCM { type string; mandatory false; } - leaf pnf-id { + leaf pnf-name { description "identifies the PNF to which this action is to be applied."; type string; mandatory false; } - } } -- cgit 1.2.3-korg