Coverage for n2vc/tests/unit/testdata/test_db_descriptors.py: 100%

2 statements  

« prev     ^ index     » next       coverage.py v7.6.12, created at 2025-05-07 06:04 +0000

1# Copyright 2022 Canonical Ltd. 

2# 

3# Licensed under the Apache License, Version 2.0 (the "License"); 

4# you may not use this file except in compliance with the License. 

5# You may obtain a copy of the License at 

6# 

7# http://www.apache.org/licenses/LICENSE-2.0 

8# 

9# Unless required by applicable law or agreed to in writing, software 

10# distributed under the License is distributed on an "AS IS" BASIS, 

11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 

12# See the License for the specific language governing permissions and 

13# limitations under the License. 

14 

15db_nsrs_text = """ 

16--- 

17- _id: dbfbd751-3de4-4e68-bd40-ec5ae0a53898 

18 name: k8s-ns 

19 name-ref: k8s-ns 

20 short-name: k8s-ns 

21 admin-status: ENABLED 

22 nsState: READY 

23 currentOperation: IDLE 

24 currentOperationID: null 

25 errorDescription: null 

26 errorDetail: null 

27 deploymentStatus: null 

28 configurationStatus: 

29 - elementType: VNF 

30 elementUnderConfiguration: 1b6a4eb3-4fbf-415e-985c-4aeb3161eec0 

31 status: READY 

32 - elementType: VNF 

33 elementUnderConfiguration: 17892d73-aa19-4b87-9a00-1d094f07a6b3 

34 status: READY 

35 vcaStatus: null 

36 nsd: 

37 _id: 12f320b5-2a57-40f4-82b5-020a6b1171d7 

38 id: k8s_proxy_charm-ns 

39 version: '1.0' 

40 name: k8s_proxy_charm-ns 

41 vnfd-id: 

42 - k8s_proxy_charm-vnf 

43 virtual-link-desc: 

44 - id: mgmtnet 

45 mgmt-network: true 

46 - id: datanet 

47 df: 

48 - id: default-df 

49 vnf-profile: 

50 - id: vnf1 

51 virtual-link-connectivity: 

52 - constituent-cpd-id: 

53 - constituent-base-element-id: vnf1 

54 constituent-cpd-id: vnf-mgmt-ext 

55 virtual-link-profile-id: mgmtnet 

56 - constituent-cpd-id: 

57 - constituent-base-element-id: vnf1 

58 constituent-cpd-id: vnf-data-ext 

59 virtual-link-profile-id: datanet 

60 vnfd-id: k8s_proxy_charm-vnf 

61 - id: vnf2 

62 virtual-link-connectivity: 

63 - constituent-cpd-id: 

64 - constituent-base-element-id: vnf2 

65 constituent-cpd-id: vnf-mgmt-ext 

66 virtual-link-profile-id: mgmtnet 

67 - constituent-cpd-id: 

68 - constituent-base-element-id: vnf2 

69 constituent-cpd-id: vnf-data-ext 

70 virtual-link-profile-id: datanet 

71 vnfd-id: k8s_proxy_charm-vnf 

72 description: NS with 2 VNFs with cloudinit connected by datanet and mgmtnet VLs 

73 _admin: 

74 userDefinedData: {} 

75 revision: 1 

76 created: 1658990740.88281 

77 modified: 1658990741.09266 

78 projects_read: 

79 - 51e0e80fe533469d98766caa16552a3e 

80 projects_write: 

81 - 51e0e80fe533469d98766caa16552a3e 

82 onboardingState: ONBOARDED 

83 operationalState: ENABLED 

84 usageState: NOT_IN_USE 

85 storage: 

86 fs: mongo 

87 path: /app/storage/ 

88 folder: '12f320b5-2a57-40f4-82b5-020a6b1171d7:1' 

89 pkg-dir: k8s_proxy_charm_ns 

90 descriptor: k8s_proxy_charm_ns/k8s_proxy_charm_nsd.yaml 

91 zipfile: k8s_proxy_charm_ns.tar.gz 

92 datacenter: bad7338b-ae46-43d4-a434-c3337a8054ac 

93 resource-orchestrator: osmopenmano 

94 description: default description 

95 constituent-vnfr-ref: 

96 - 1b6a4eb3-4fbf-415e-985c-4aeb3161eec0 

97 - 17892d73-aa19-4b87-9a00-1d094f07a6b3 

98 operational-status: running 

99 config-status: configured 

100 detailed-status: Done 

101 orchestration-progress: {} 

102 create-time: 1658998097.57611 

103 nsd-name-ref: k8s_proxy_charm-ns 

104 operational-events: [] 

105 nsd-ref: k8s_proxy_charm-ns 

106 nsd-id: 12f320b5-2a57-40f4-82b5-020a6b1171d7 

107 vnfd-id: 

108 - 6d9e1ca1-f387-4d01-9876-066fc7311e0f 

109 instantiate_params: 

110 nsdId: 12f320b5-2a57-40f4-82b5-020a6b1171d7 

111 nsName: k8s-ns 

112 nsDescription: default description 

113 vimAccountId: bad7338b-ae46-43d4-a434-c3337a8054ac 

114 vld: 

115 - name: mgmtnet 

116 vim-network-name: osm-ext 

117 additionalParamsForNs: null 

118 ns-instance-config-ref: dbfbd751-3de4-4e68-bd40-ec5ae0a53898 

119 id: dbfbd751-3de4-4e68-bd40-ec5ae0a53898 

120 ssh-authorized-key: null 

121 flavor: 

122 - id: '0' 

123 memory-mb: 1024 

124 name: mgmtVM-flv 

125 storage-gb: '10' 

126 vcpu-count: 1 

127 vim_info: 

128 'vim:bad7338b-ae46-43d4-a434-c3337a8054ac': 

129 vim_details: null 

130 vim_id: 17a9ba76-beb7-4ad4-a481-97de37174866 

131 vim_status: DONE 

132 - vcpu-count: 1 

133 memory-mb: 1024 

134 storage-gb: '10' 

135 name: mgmtVM-flv 

136 id: '1' 

137 image: 

138 - id: '0' 

139 image: ubuntu18.04 

140 vim_info: 

141 'vim:bad7338b-ae46-43d4-a434-c3337a8054ac': 

142 vim_details: null 

143 vim_id: 919fc71a-6acd-4ee3-8123-739a9abbc2e7 

144 vim_status: DONE 

145 - image: 'Canonical:UbuntuServer:18.04-LTS:latest' 

146 vim-type: azure 

147 id: '1' 

148 - image: 'ubuntu-os-cloud:image-family:ubuntu-1804-lts' 

149 vim-type: gcp 

150 id: '2' 

151 - image: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509 

152 vim-type: aws 

153 id: '3' 

154 affinity-or-anti-affinity-group: [] 

155 revision: 1 

156 vld: 

157 - id: mgmtnet 

158 mgmt-network: true 

159 name: mgmtnet 

160 type: null 

161 vim_info: 

162 'vim:bad7338b-ae46-43d4-a434-c3337a8054ac': 

163 vim_account_id: bad7338b-ae46-43d4-a434-c3337a8054ac 

164 vim_network_name: osm-ext 

165 vim_details: > 

166 {admin_state_up: true, availability_zone_hints: [], 

167 availability_zones: [nova], created_at: '2019-10-17T23:44:03Z', 

168 description: '', encapsulation: vlan, encapsulation_id: 2148, 

169 encapsulation_type: vlan, id: 21ea5d92-24f1-40ab-8d28-83230e277a49, 

170 ipv4_address_scope: null, 

171 ipv6_address_scope: null, is_default: false, mtu: 1500, name: osm-ext, port_security_enabled: true, project_id: 456b6471010b4737b47a0dd599c920c5, 'provider:network_type': vlan, 'provider:physical_network': physnet1, 'provider:segmentation_id': 2148, revision_number: 1009, 

172 'router:external': true, segmentation_id: 2148, shared: true, status: ACTIVE, subnets: [{subnet: {allocation_pools: [{end: 172.21.249.255, start: 172.21.248.1}], cidr: 172.21.248.0/22, created_at: '2019-10-17T23:44:07Z', description: '', dns_nameservers: [], 

173 enable_dhcp: true, gateway_ip: 172.21.251.254, host_routes: [], id: d14f68b7-8287-41fe-b533-dafb2240680a, ip_version: 4, ipv6_address_mode: null, ipv6_ra_mode: null, name: osm-ext-subnet, network_id: 21ea5d92-24f1-40ab-8d28-83230e277a49, project_id: 456b6471010b4737b47a0dd599c920c5, 

174 revision_number: 5, service_types: [], subnetpool_id: null, tags: [], tenant_id: 456b6471010b4737b47a0dd599c920c5, updated_at: '2020-09-14T15:15:06Z'}}], tags: [], tenant_id: 456b6471010b4737b47a0dd599c920c5, type: data, updated_at: '2022-07-05T18:39:02Z'} 

175 vim_id: 21ea5d92-24f1-40ab-8d28-83230e277a49 

176 vim_status: ACTIVE 

177 - id: datanet 

178 mgmt-network: false 

179 name: datanet 

180 type: null 

181 vim_info: 

182 'vim:bad7338b-ae46-43d4-a434-c3337a8054ac': 

183 vim_account_id: bad7338b-ae46-43d4-a434-c3337a8054ac 

184 vim_network_name: null 

185 vim_details: > 

186 {admin_state_up: true, availability_zone_hints: [], 

187 availability_zones: [nova], created_at: '2022-07-28T08:41:59Z', 

188 description: '', encapsulation: vxlan, encapsulation_id: 27, 

189 encapsulation_type: vxlan, id: 34056287-3cd5-42cb-92d3-413382b50813, 

190 ipv4_address_scope: null, 

191 ipv6_address_scope: null, mtu: 1450, name: k8s-ns-datanet, port_security_enabled: true, project_id: 71c7971a7cab4b72bd5c10dbe6617f1e, 'provider:network_type': vxlan, 'provider:physical_network': null, 'provider:segmentation_id': 27, revision_number: 2, 'router:external': false, 

192 segmentation_id: 27, shared: false, status: ACTIVE, subnets: [{subnet: {allocation_pools: [{end: 192.168.181.254, start: 192.168.181.1}], cidr: 192.168.181.0/24, created_at: '2022-07-28T08:41:59Z', description: '', dns_nameservers: [], enable_dhcp: true, gateway_ip: null, 

193 host_routes: [], id: ab2920f8-881b-4bef-82a5-9582a7930786, ip_version: 4, ipv6_address_mode: null, ipv6_ra_mode: null, name: k8s-ns-datanet-subnet, network_id: 34056287-3cd5-42cb-92d3-413382b50813, project_id: 71c7971a7cab4b72bd5c10dbe6617f1e, revision_number: 0, 

194 service_types: [], subnetpool_id: null, tags: [], tenant_id: 71c7971a7cab4b72bd5c10dbe6617f1e, updated_at: '2022-07-28T08:41:59Z'}}], tags: [], tenant_id: 71c7971a7cab4b72bd5c10dbe6617f1e, type: bridge, updated_at: '2022-07-28T08:41:59Z'} 

195 vim_id: 34056287-3cd5-42cb-92d3-413382b50813 

196 vim_status: ACTIVE 

197 _admin: 

198 created: 1658998097.58182 

199 modified: 1658998193.42562 

200 projects_read: 

201 - 51e0e80fe533469d98766caa16552a3e 

202 projects_write: 

203 - 51e0e80fe533469d98766caa16552a3e 

204 nsState: INSTANTIATED 

205 current-operation: null 

206 nslcmop: null 

207 operation-type: null 

208 deployed: 

209 RO: 

210 vnfd: [] 

211 operational-status: running 

212 VCA: 

213 - target_element: vnf/vnf1 

214 member-vnf-index: vnf1 

215 vdu_id: null 

216 kdu_name: null 

217 vdu_count_index: 0 

218 operational-status: init 

219 detailed-status: '' 

220 step: initial-deploy 

221 vnfd_id: k8s_proxy_charm-vnf 

222 vdu_name: null 

223 type: k8s_proxy_charm 

224 ee_descriptor_id: simple-ee 

225 charm_name: '' 

226 ee_id: dbfbd751-3de4-4e68-bd40-ec5ae0a53898-k8s.simple-ee-z0-vnf1-vnf.k8s 

227 application: simple-ee-z0-vnf1-vnf 

228 model: dbfbd751-3de4-4e68-bd40-ec5ae0a53898-k8s 

229 config_sw_installed: true 

230 - target_element: vnf/vnf2 

231 member-vnf-index: vnf2 

232 vdu_id: null 

233 kdu_name: null 

234 vdu_count_index: 0 

235 operational-status: init 

236 detailed-status: '' 

237 step: initial-deploy 

238 vnfd_id: k8s_proxy_charm-vnf 

239 vdu_name: null 

240 type: k8s_proxy_charm 

241 ee_descriptor_id: simple-ee 

242 charm_name: '' 

243 ee_id: dbfbd751-3de4-4e68-bd40-ec5ae0a53898-k8s.simple-ee-z0-vnf2-vnf.k8s 

244 application: simple-ee-z0-vnf2-vnf 

245 model: dbfbd751-3de4-4e68-bd40-ec5ae0a53898-k8s 

246 config_sw_installed: true 

247 K8s: [] 

248""" 

249 

250db_vnfrs_text = """ 

251- _id: 1b6a4eb3-4fbf-415e-985c-4aeb3161eec0 

252 id: 1b6a4eb3-4fbf-415e-985c-4aeb3161eec0 

253 nsr-id-ref: dbfbd751-3de4-4e68-bd40-ec5ae0a53898 

254 member-vnf-index-ref: vnf1 

255 additionalParamsForVnf: null 

256 created-time: 1658998097.58036 

257 vnfd-ref: k8s_proxy_charm-vnf 

258 vnfd-id: 6d9e1ca1-f387-4d01-9876-066fc7311e0f 

259 vim-account-id: bad7338b-ae46-43d4-a434-c3337a8054ac 

260 vca-id: null 

261 vdur: 

262 - _id: 38912ff7-5bdd-4228-911f-c2bee259c44a 

263 additionalParams: 

264 OSM: 

265 count_index: 0 

266 member_vnf_index: vnf1 

267 ns_id: dbfbd751-3de4-4e68-bd40-ec5ae0a53898 

268 vdu: 

269 mgmtVM-0: 

270 count_index: 0 

271 interfaces: 

272 dataVM-xe0: 

273 name: dataVM-xe0 

274 mgmtVM-eth0: 

275 name: mgmtVM-eth0 

276 vdu_id: mgmtVM 

277 vdu_id: mgmtVM 

278 vim_account_id: bad7338b-ae46-43d4-a434-c3337a8054ac 

279 vnf_id: 1b6a4eb3-4fbf-415e-985c-4aeb3161eec0 

280 vnfd_id: 6d9e1ca1-f387-4d01-9876-066fc7311e0f 

281 vnfd_ref: k8s_proxy_charm-vnf 

282 affinity-or-anti-affinity-group-id: [] 

283 alt-image-ids: 

284 - '1' 

285 - '2' 

286 - '3' 

287 cloud-init: '6d9e1ca1-f387-4d01-9876-066fc7311e0f:file:cloud-config.txt' 

288 count-index: 0 

289 id: 38912ff7-5bdd-4228-911f-c2bee259c44a 

290 interfaces: 

291 - external-connection-point-ref: vnf-mgmt-ext 

292 internal-connection-point-ref: mgmtVM-eth0-int 

293 mgmt-interface: true 

294 mgmt-vnf: true 

295 name: mgmtVM-eth0 

296 ns-vld-id: mgmtnet 

297 position: 1 

298 type: PARAVIRT 

299 compute_node: nfvisrv11 

300 ip-address: 172.21.248.199 

301 mac-address: 'fa:16:3e:4d:65:e9' 

302 pci: null 

303 vlan: 2148 

304 - external-connection-point-ref: vnf-data-ext 

305 internal-connection-point-ref: dataVM-xe0-int 

306 name: dataVM-xe0 

307 ns-vld-id: datanet 

308 position: 2 

309 type: PARAVIRT 

310 compute_node: nfvisrv11 

311 ip-address: 192.168.181.179 

312 mac-address: 'fa:16:3e:ca:b5:d3' 

313 pci: null 

314 vlan: null 

315 internal-connection-point: 

316 - connection-point-id: mgmtVM-eth0-int 

317 id: mgmtVM-eth0-int 

318 name: mgmtVM-eth0-int 

319 - connection-point-id: dataVM-xe0-int 

320 id: dataVM-xe0-int 

321 name: dataVM-xe0-int 

322 ip-address: 172.21.248.199 

323 ns-flavor-id: '0' 

324 ns-image-id: '0' 

325 ssh-access-required: true 

326 ssh-keys: 

327 - > 

328 ssh-rsa 

329 AAAAB3NzaC1yc2EAAAADAQABAAACAQDW3dtEDKfwZL0WZp6LeJUZFlZzYAHP7M4AsJwl2YFO/wmblfrTpWZ8tRyGwyjQacB7Zb7J07wD5AZACE71A3Nc9zjI22/gWN7N8X+ZxH6ywcr1GdXBqZDBeOdzD4pRb11E9mydGZ9l++KtFRtlF4G7IFYuxkOiSCJrkgiKuVDGodtQ/6VUKwxuI8U6N7MxtIBN2L3IfvMwuNyTo1daiUabQMwQKt/Q8Zpp78zsZ6SoxU+eYAHzbeTjAfNwhA88nRzRZn7tQW+gWl9wbSINbr2+JetTN+BTot/CMPmKzzul9tZrzhSzck1QSM3UDrD36ctRdaLABnWCoxpm0wJthNt693xVrFP+bMgK2BR0fyu9WwVEcHkC9CZ8yoi37k5rGVtoDw6sW6lxQ5QKS+Plv/YjGKqK3Ro/UoIEhgxcW53uz4PveyMBss4geB9ad/1T8dtugd288qfCWJRBpJBrE497EalhHolF3L/2bEu3uCKN0TY4POzqP/5cuAUc/uTJ2mjZewJdlJtrn7IyFtSUypeuVmXRx5LwByQw9EwPhUZlKVjYEHYmu5YTKlFSWyorWgRLBBIK7LLPj+bCGgLeT+fXmip6eFquAyVtoQfDofQ/gc0OXEA1uKfK2VFKg1le+joz1WA/XieGSvKRQ4aZorYgi/FzbpxKj2a60cZubJMq5w== 

330 root@lcm-7b6bcf7cdd-5h2ql 

331 - >- 

332 ssh-rsa 

333 AAAAB3NzaC1yc2EAAAADAQABAAABAQDtg65/Jh3KDWC9+YzkTz8Md/uhalkjPo15DSxlUNWzYQNFUzaG5Pt0trDwQ29UOQIUy1CB9HpWSZMTA1ESet/+cyXWkZ9MznAmGLQBdnwqWU792UQf6rv74Zpned8MbnKQXfs8gog1ZFFKRMcwitNRqs8xs8XsPLE/l1Jo2QemhM0fIRofjJiLKYaKeGP59Fb8UlIeGDaxmIFgLs8bAZvrmjbae3o4b1fZDNboqlQbHb9rakxI9uCnsaBrCmelXpP9EFmENx85vdHEwCAfCRvSWKnbXuOojJJzFM5odoWFZo8AuIhEb5ZiLkGet3CvCfWZZPpQc4TuNDaY0t1XUegH 

334 juju-client-key 

335 vdu-id-ref: mgmtVM 

336 vdu-name: mgmtVM 

337 vim_info: 

338 'vim:bad7338b-ae46-43d4-a434-c3337a8054ac': 

339 interfaces: 

340 - vim_info: > 

341 {admin_state_up: true, allowed_address_pairs: [], 

342 'binding:host_id': nfvisrv11, 'binding:profile': {}, 

343 'binding:vif_details': {bridge_name: br-int, connectivity: l2, 

344 datapath_type: system, ovs_hybrid_plug: true, port_filter: true}, 

345 'binding:vif_type': ovs, 'binding:vnic_type': normal, 

346 created_at: '2022-07-28T08:42:04Z', description: '', device_id: 1fabddca-0dcf-4702-a5f3-5cc028c2aba7, device_owner: 'compute:nova', extra_dhcp_opts: [], fixed_ips: [{ip_address: 172.21.248.199, subnet_id: d14f68b7-8287-41fe-b533-dafb2240680a}], id: e053d44f-1d67-4274-b85d-1cef243353d6, 

347 mac_address: 'fa:16:3e:4d:65:e9', name: mgmtVM-eth0, network_id: 21ea5d92-24f1-40ab-8d28-83230e277a49, port_security_enabled: true, project_id: 71c7971a7cab4b72bd5c10dbe6617f1e, revision_number: 4, security_groups: [1de4b2c2-e4be-4e91-985c-d887e2715949], status: ACTIVE, 

348 tags: [], tenant_id: 71c7971a7cab4b72bd5c10dbe6617f1e, updated_at: '2022-07-28T08:42:16Z'} 

349 mac_address: 'fa:16:3e:4d:65:e9' 

350 vim_net_id: 21ea5d92-24f1-40ab-8d28-83230e277a49 

351 vim_interface_id: e053d44f-1d67-4274-b85d-1cef243353d6 

352 compute_node: nfvisrv11 

353 pci: null 

354 vlan: 2148 

355 ip_address: 172.21.248.199 

356 mgmt_vnf_interface: true 

357 mgmt_vdu_interface: true 

358 - vim_info: > 

359 {admin_state_up: true, allowed_address_pairs: [], 

360 'binding:host_id': nfvisrv11, 'binding:profile': {}, 

361 'binding:vif_details': {bridge_name: br-int, connectivity: l2, 

362 datapath_type: system, ovs_hybrid_plug: true, port_filter: true}, 

363 'binding:vif_type': ovs, 'binding:vnic_type': normal, 

364 created_at: '2022-07-28T08:42:04Z', description: '', device_id: 1fabddca-0dcf-4702-a5f3-5cc028c2aba7, device_owner: 'compute:nova', extra_dhcp_opts: [], fixed_ips: [{ip_address: 192.168.181.179, subnet_id: ab2920f8-881b-4bef-82a5-9582a7930786}], id: 8a34c944-0fc1-41ae-9dbc-9743e5988162, 

365 mac_address: 'fa:16:3e:ca:b5:d3', name: dataVM-xe0, network_id: 34056287-3cd5-42cb-92d3-413382b50813, port_security_enabled: true, project_id: 71c7971a7cab4b72bd5c10dbe6617f1e, revision_number: 4, security_groups: [1de4b2c2-e4be-4e91-985c-d887e2715949], status: ACTIVE, 

366 tags: [], tenant_id: 71c7971a7cab4b72bd5c10dbe6617f1e, updated_at: '2022-07-28T08:42:15Z'} 

367 mac_address: 'fa:16:3e:ca:b5:d3' 

368 vim_net_id: 34056287-3cd5-42cb-92d3-413382b50813 

369 vim_interface_id: 8a34c944-0fc1-41ae-9dbc-9743e5988162 

370 compute_node: nfvisrv11 

371 pci: null 

372 vlan: null 

373 ip_address: 192.168.181.179 

374 vim_details: > 

375 {'OS-DCF:diskConfig': MANUAL, 'OS-EXT-AZ:availability_zone': nova, 

376 'OS-EXT-SRV-ATTR:host': nfvisrv11, 

377 'OS-EXT-SRV-ATTR:hypervisor_hostname': nfvisrv11, 

378 'OS-EXT-SRV-ATTR:instance_name': instance-0002967a, 

379 'OS-EXT-STS:power_state': 1, 'OS-EXT-STS:task_state': null, 

380 'OS-EXT-STS:vm_state': active, 'OS-SRV-USG:launched_at': '2022-07-28T08:42:17.000000', 'OS-SRV-USG:terminated_at': null, accessIPv4: '', accessIPv6: '', addresses: {k8s-ns-datanet: [{'OS-EXT-IPS-MAC:mac_addr': 'fa:16:3e:ca:b5:d3', 'OS-EXT-IPS:type': fixed, 

381 addr: 192.168.181.179, version: 4}], osm-ext: [{'OS-EXT-IPS-MAC:mac_addr': 'fa:16:3e:4d:65:e9', 'OS-EXT-IPS:type': fixed, addr: 172.21.248.199, version: 4}]}, config_drive: '', created: '2022-07-28T08:42:06Z', flavor: {id: 17a9ba76-beb7-4ad4-a481-97de37174866, 

382 links: [{href: 'http://172.21.247.1:8774/flavors/17a9ba76-beb7-4ad4-a481-97de37174866', rel: bookmark}]}, hostId: 2aa7155bd281bd308d8e3776af56d428210c21aab788a8cbdf5ef500, id: 1fabddca-0dcf-4702-a5f3-5cc028c2aba7, image: {id: 919fc71a-6acd-4ee3-8123-739a9abbc2e7, 

383 links: [{href: 'http://172.21.247.1:8774/images/919fc71a-6acd-4ee3-8123-739a9abbc2e7', rel: bookmark}]}, key_name: null, links: [{href: 'http://172.21.247.1:8774/v2.1/servers/1fabddca-0dcf-4702-a5f3-5cc028c2aba7', rel: self}, {href: 'http://172.21.247.1:8774/servers/1fabddca-0dcf-4702-a5f3-5cc028c2aba7', 

384 rel: bookmark}], metadata: {}, name: k8s-ns-vnf1-mgmtVM-0, 'os-extended-volumes:volumes_attached': [], progress: 0, security_groups: [{name: default}, {name: default}], status: ACTIVE, tenant_id: 71c7971a7cab4b72bd5c10dbe6617f1e, updated: '2022-07-28T08:42:17Z', 

385 user_id: f043c84f940b4fc8a01a98714ea97c80} 

386 vim_id: 1fabddca-0dcf-4702-a5f3-5cc028c2aba7 

387 vim_status: ACTIVE 

388 vim_name: k8s-ns-vnf1-mgmtVM-0 

389 virtual-storages: 

390 - id: mgmtVM-storage 

391 size-of-storage: '10' 

392 status: ACTIVE 

393 vim-id: 1fabddca-0dcf-4702-a5f3-5cc028c2aba7 

394 name: k8s-ns-vnf1-mgmtVM-0 

395 connection-point: 

396 - name: vnf-mgmt-ext 

397 connection-point-id: mgmtVM-eth0-int 

398 connection-point-vdu-id: mgmtVM 

399 id: vnf-mgmt-ext 

400 - name: vnf-data-ext 

401 connection-point-id: dataVM-xe0-int 

402 connection-point-vdu-id: mgmtVM 

403 id: vnf-data-ext 

404 ip-address: 172.21.248.199 

405 revision: 1 

406 _admin: 

407 created: 1658998097.58048 

408 modified: 1658998097.58048 

409 projects_read: 

410 - 51e0e80fe533469d98766caa16552a3e 

411 projects_write: 

412 - 51e0e80fe533469d98766caa16552a3e 

413 nsState: INSTANTIATED 

414"""