Output of VNFLCM operations does not include host path in "_links" field.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tacker |
Fix Released
|
Undecided
|
Sheel Rana |
Bug Description
When executing VNFLCM operations, output does not contain host path in '_links' field.
Operations include:
1. Creates a new VNF instance resource
2. Show VNF Instance
3. List VNF Instance
4. Show VNF LCM operation occurrence
5. List VNF LCM operation occurrence
<Operation log>
[stack@rana ~]$ openstack vnflcm create b1bb0ce7-
+------
| Field | Value |
+------
| ID | 5e2acb7a-
| Instantiation State | NOT_INSTANTIATED |
| Links | { |
| | "self": { |
| | "href": "/vnflcm/
| | }, |
| | "instantiate": { |
| | "href": "/vnflcm/
| | } |
| | } |
| VNF Instance Description | None |
| VNF Instance Name | vnf-5e2acb7a-
| VNF Product Name | Sample VNF |
| VNF Provider | Company |
| VNF Software Version | 1.0 |
| VNFD ID | b1bb0ce7-
| VNFD Version | 1.0 |
| vnfPkgId | |
+------
[stack@rana ~]$
[stack@rana ~]$ openstack vnflcm show 5e2acb7a-
+------
| Field | Value |
+------
| ID | 5e2acb7a-
| Instantiation State | INSTANTIATED |
| Links | { |
| | "self": { |
| | "href": "/vnflcm/
| | }, |
| | "terminate": { |
| | "href": "/vnflcm/
| | }, |
| | "heal": { |
| | "href": "/vnflcm/
| | }, |
| | "changeExtConn": { |
| | "href": "/vnflcm/
| | } |
| | } |
| VIM Connection Info | [ |
| | { |
| | "id": "bc439e6f-
| | "vimId": "4663c434-
| | "vimType": "ETSINFV.
| | "interfaceInfo": {}, |
| | "accessInfo": {} |
| | } |
| | ] |
| VNF Instance Description | None |
| VNF Instance Name | vnf-5e2acb7a-
| VNF Product Name | Sample VNF |
| VNF Provider | Company |
| VNF Software Version | 1.0 |
| VNFD ID | b1bb0ce7-
| VNFD Version | 1.0 |
| vnfPkgId | |
+------
[stack@rana ~]$
Current output : "href": "/vnflcm/
Expected output : "href": "http://
*here "http://
Changed in tacker: | |
assignee: | nobody → Sheel Rana (ranasheel2000) |
status: | New → In Progress |
summary: |
- Output of VNF LCM operations does not include host path in "_links" + Output of VNFLCM operations does not include host path in "_links" field. |
description: | updated |
description: | updated |
Changed in tacker: | |
status: | In Progress → Fix Committed |
Expected execution logs after fix, will submit patch soon: ======= ======= ======= ======= ======= ======= ======= =
=======
[stack@rana ~]$ openstack vnflcm show 5e2acb7a- 13ea-40bf- bf34-f0d74b7887 c7 ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ ------- ------- ------+ ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------+ 13ea-40bf- bf34-f0d74b7887 c7 |
+------
| Field | Value |
+------
| ID | 5e2acb7a-
| Instantiation State | INSTANTIATED | localhost: 9890/vnflcm/ v1/vnf_ instances/ 5e2acb7a- 13ea-40bf- bf34-f0d74b7887 c7" | localhost: 9890/vnflcm/ v1/vnf_ instances/ 5e2acb7a- 13ea-40bf- bf34-f0d74b7887 c7/terminate" | localhost: 9890/vnflcm/ v1/vnf_ instances/ 5e2acb7a- 13ea-40bf- bf34-f0d74b7887 c7/heal" | localhost: 9890/vnflcm/ v1/vnf_ instances/ 5e2acb7a- 13ea-40bf- bf34-f0d74b7887 c7/change_ ext_conn" |
| Links | { |
| | "self": { |
| | "href": "http://
| | }, |
| | "terminate": { |
| | "href": "http://
| | }, |
| | "heal": { |
| | "href": "http://
| | }, |
| | "changeExtConn": { |
| | "href": "http://
| | } |
| | } |
| VIM Connection Info | [ |
| | { ...