6 commonHeader: &commonHeader
8 requestId: "123456-1000"
9 subRequestId: sub-123456-1000
10 actionIdentifiers: &assign-ai
11 blueprintName: PNF_CDS_RESTCONF
12 blueprintVersion: "1.0.0"
13 actionName: config-assign
16 config-assign-request:
17 resolution-key: &resKey "RES-KEY 61"
18 config-assign-properties:
19 service-instance-id: siid_1234
20 pnf-id: &pnfId pnf-id-2019-07-12
21 service-model-uuid: service-model-uuid
22 pnf-customization-uuid: pnf-customization-uuid
24 commonHeader: *commonHeader
25 actionIdentifiers: *assign-ai
28 eventType: EVENT_COMPONENT_EXECUTED
32 config-assign-response: {}
35 commonHeader: *commonHeader
36 actionIdentifiers: &deploy-ai
37 actionName: config-deploy
38 blueprintName: PNF_CDS_RESTCONF
39 blueprintVersion: "1.0.0"
42 config-deploy-request:
43 resolution-key: *resKey
44 config-deploy-properties:
45 service-instance-id: siid_1234
47 service-model-uuid: service-model-uuid
48 pnf-customization-uuid: pnf-customization-uuid
50 commonHeader: *commonHeader
51 actionIdentifiers: *deploy-ai
53 config-deploy-response: {}
57 eventType: EVENT_COMPONENT_EXECUTED
61 commonHeader: &swugCommonHeader
63 requestId: "123456-1000"
64 subRequestId: sub-123456-1000
65 actionIdentifiers: &preCheck-ai
66 blueprintName: PNF_CDS_RESTCONF
67 blueprintVersion: "1.0.0"
72 resolution-key: &resKey "RES-KEY 61"
73 preCheck-properties: &actionProps
74 service-instance-id: siid_1234
75 pnf-id: &pnfId pnf-id-2019-07-12
76 target-software-version: "2.0.2"
77 service-model-uuid: service-model-uuid
78 pnf-customization-uuid: pnf-customization-uuid
80 commonHeader: *swugCommonHeader
81 actionIdentifiers: *preCheck-ai
84 eventType: EVENT_COMPONENT_EXECUTED
91 commonHeader: *swugCommonHeader
92 actionIdentifiers: &download-ai
93 blueprintName: PNF_CDS_RESTCONF
94 blueprintVersion: "1.0.0"
95 actionName: downloadNESw
99 resolution-key: *resKey
100 downloadNESw-properties: *actionProps
102 commonHeader: *swugCommonHeader
103 actionIdentifiers: *download-ai
106 eventType: EVENT_COMPONENT_EXECUTED
110 downloadNESw-response: {}
113 commonHeader: *swugCommonHeader
114 actionIdentifiers: &activate-ai
115 blueprintName: PNF_CDS_RESTCONF
116 blueprintVersion: "1.0.0"
117 actionName: activateNESw
120 activateNESw-request:
121 resolution-key: *resKey
122 activateNESw-properties: *actionProps
124 commonHeader: *swugCommonHeader
125 actionIdentifiers: *activate-ai
128 eventType: EVENT_COMPONENT_EXECUTED
132 activateNESw-response: {}
135 commonHeader: *swugCommonHeader
136 actionIdentifiers: &postCheck-ai
137 blueprintName: PNF_CDS_RESTCONF
138 blueprintVersion: "1.0.0"
139 actionName: postCheck
143 resolution-key: *resKey
144 postCheck-properties: *actionProps
146 commonHeader: *swugCommonHeader
147 actionIdentifiers: *postCheck-ai
150 eventType: EVENT_COMPONENT_EXECUTED
154 postCheck-response: {}
160 path: [ /aai/v21/network/pnfs/pnf, *pnfId]
162 Accept: application/json
165 Content-Type: application/json
167 ipaddress-v4-oam: &pnfAddress 13.13.13.13
168 ipaddress-v6-oam: 1::13
173 path: &configUri [ /restconf/config, &nodeIdentifier [network-topology:network-topology/topology/topology-netconf/node, *pnfId]]
175 Content-Type: application/json
179 netconf-node-topology:protocol: { name: TLS }
180 netconf-node-topology:host: *pnfAddress
181 netconf-node-topology:key-based:
183 key-id: ODL_private_key_0
184 netconf-node-topology:port: 6513
185 netconf-node-topology:tcp-only: false
186 netconf-node-topology:max-connection-attempts: 5
191 path: [ /restconf/operational, *nodeIdentifier]
194 node: [ { netconf-node-topology:connection-status: connected }]
197 path: [*configUri, &configletResourcePath yang-ext:mount/mynetconf:netconflist]
202 path: [*configUri, *configletResourcePath]
204 Content-Type: application/yang.patch+json
206 ietf-restconf:yang-patch:
212 value: { netconflist: { netconf: [ { netconf-id: "10", netconf-param: "1000" }]}}
216 value: { netconflist: { netconf: [ { netconf-id: "20", netconf-param: "2000" }]}}
220 value: { netconflist: { netconf: [ { netconf-id: "30", netconf-param: "3000" }]}}
223 ietf-yang-patch:yang-patch-status:
228 ### External expectations for Software Upgrade
231 path: &ConfigSwUgUri [*configUri, &configletResourcePath yang-ext:mount/pnf-sw-upgrade:software-upgrade]
233 Accept: application/json
236 Content-Type: application/json
241 current-status: INITIALIZED
242 user-label: trial software update
243 uri: sftp:127.0.0.1/test_software_1.img
244 software-version: 2.0.1
246 password: test_password
248 Content-Type: application/json
253 current-status: INITIALIZED
254 user-label: trial software update
255 uri: sftp:127.0.0.1/test_software_1.img
256 software-version: 2.0.1
258 password: test_password
260 Content-Type: application/json
265 current-status: INITIALIZED
266 user-label: trial software update
267 uri: sftp:127.0.0.1/test_software_1.img
268 software-version: 2.0.1
270 password: test_password
272 current-status: DOWNLOAD_COMPLETED
273 state-change-time: '2020-02-20T13:03:21Z'
274 software-version: 2.0.2
275 user-label: trial software update
276 uri: sftp:127.0.0.1/test_software_1.img
278 password: test_password
280 Content-Type: application/json
285 current-status: INITIALIZED
286 user-label: trial software update
287 uri: sftp:127.0.0.1/test_software_1.img
288 software-version: 2.0.1
290 password: test_password
292 current-status: ACTIVATION_COMPLETED
293 state-change-time: '2020-02-20T13:03:21Z'
294 software-version: 2.0.2
295 user-label: trial software update
296 uri: sftp:127.0.0.1/test_software_1.img
298 password: test_password
303 Content-Type: application/yang.patch+json
305 ietf-restconf:yang-patch:
313 Content-Type: application/yang.patch-status+json
315 { ietf-yang-patch:yang-patch-status: {patch-id: patch-1, ok: [ ] } }
319 path: [*ConfigSwUgUri, upgrade-package/2.0.2]
321 Accept: application/json
324 Content-Type: application/json
328 current-status: DOWNLOAD_IN_PROGRESS
329 state-change-time: '2020-02-20T12:17:34.984Z'
330 software-version: 2.0.2
332 Content-Type: application/json
336 current-status: DOWNLOAD_IN_PROGRESS
337 state-change-time: '2020-02-20T12:52:30Z'
338 software-version: 2.0.2
340 Content-Type: application/json
344 current-status: DOWNLOAD_COMPLETED
345 state-change-time: '2020-02-20T13:03:21Z'
346 software-version: 2.0.2
348 Content-Type: application/json
352 current-status: ACTIVATION_IN_PROGRESS
353 state-change-time: '2020-02-20T13:05:08Z'
354 software-version: 2.0.2
356 Content-Type: application/json
360 current-status: ACTIVATION_IN_PROGRESS
361 state-change-time: '2020-02-20T12:52:30Z'
362 software-version: 2.0.2
364 Content-Type: application/json
368 current-status: ACTIVATION_COMPLETED
369 state-change-time: '2020-02-20T13:07:12Z'
370 software-version: 2.0.2