Verify the operational status of VNF, card, VDUs. Suspending card removes the card, e.g. from CF.
In 6.2 and earlier releases:
show vnf-state
vnf-state running
In 6.3 and later releases:
show vnfmproxy:vnfd <vnfd_name>vnf-state
vnf-state running
show card table
Slot Card Type Oper State SPOF Attach
----------- -------------------------------------- ------------- ---- ------
1: CFC Control Function Virtual Card Active No
2: CFC Control Function Virtual Card Standby -
4: FC 1-Port Service Function Virtual Card Standby -
In 6.2 and earlier releases:
show vdus
CONSTITUENT MEMORY STORAGE
DEVICE DEVICE ELEMENT IS CPU UTILS USAGE
ID CARD TYPE ID NAME GROUP GROUP INFRA INITIALIZED VIM ID UTILS BYTES BYTES
------------------------------------------------------------------------------------------------------------------------------------------------
cf control-function cf1 scm-cf-nc scm-cf-nc ugp true true 76e2f28a-4427-4b1d-9c44-72ff51e0d124 - - -
cf2 scm-cf-nc scm-cf-nc ugp true true b1155c6e-26f1-44c1-8832-0e9a02f7acd3 - - -
sf session-function sf1 - - ugp true false 7822cea9-1707-4790-abb3-33bb4d26b567 - - -
sf2 - - ugp true false 7fd8f37f-59cf-4c9a-811f-faa0abd30b58 - - -
In 6.3 and later releases:
show vnfmproxy:vnfd <vnfd_name> vdus
vdus vdu cf1
card-type control-function
vnfci cf1
device-name vnfd-deployment1
device-group cf-nc
constituent-element-group ugp-standalone
is-infra true
initialized true
vim-id 1ca3fca7-8929-4830-9e35-4cac294b62bf
vnfci cf2
device-name vnfd-deployment2
device-group cf-nc
constituent-element-group ugp-standalone
is-infra true
initialized true
vim-id 6ce2a22c-1c03-4f5e-95a4-c791d09a1024
vdus vdu sf1
card-type session-function
vnfci sf1
constituent-element-group ugp-standalone
is-infra true
initialized false
vim-id de5bec01-c3e4-4bbf-8f45-ac2354fc9fbc
vnfci sf2
constituent-element-group ugp-standalone
is-infra true
initialized false
vim-id 8fe9eebc-614a-464a-8e87-5288be0528c9
UEM changes the status of suspended card to undeployed. For example, UEM Zookeeper:
In 6.2 and earlier releases:
[zk: localhost:2181(CONNECTED) 0] get /config/vnf {"state":"run","name":"abcabc-autovnf-vpc-abcabc"}
[zk: localhost:2181(CONNECTED) 1] get /config/vnfd {"name":"abcabc-autovnf-vpc-abcabc","version":"6.0","deployment-flavor-id":["generic"],
"anti-affinity-cards":["control-function","session-function"],"card-type-to-vdu":{"control-function":["cf"],"session-function":["sf"]}}
[zk: localhost:2181(CONNECTED) 2] get /config/vdus/sf/sf1 {"cpts":[{"vnfc":"sf-vnfc-ugp","cpid":null,"vl":null}],"affinity":null,
"initvars":[{"dest_path":"staros_param.cfg","path_vars":[{"name":"CARD_TYPE_NUM","val":"0x42020100"},{"name":"SLOT_CARD_NUMBER","val":"3"},
{"name":"VNFM_PROXY_ADDRS","val":"101.101.14.9,101.101.14.16,101.101.14.13"}]}],"operation":"create","ceg-id":"ugp","vnfci-id":"sf1",
"context-vars":null,"nat-pool":null,"vim-id":"abcabc-autovnf-vpc-abcabc-sf-1","volume":null}
[zk: localhost:2181(CONNECTED) 3] get /oper/vdus/sf/sf1 {"id":"sf1","state":"undeployed","vnfcId":"sf-vnfc-ugp",
"uuid":"sf1","host":"tb1ano-osd-compute-2.localdomain","vimId":"7822cea9-1707-4790-abb3-33bb4d26b567",
"cpts":[{"cpid":"eth0","state":"undeployed","subnet":"94c4ea79-eb81-4a7d-b726-4f780a05436f","netmask":"255.255.255.0",
"dhcp":true,"vl":"vl-di-internal1","vnfc":"sf-vnfc-ugp","port_id":"0d5ddc23-5c43-463b-ae14-f1f0b94f90dc","ip_address":"192.168.1.124",
"mac_address":"fa:16:3e:b6:26:da","network":"55d41c29-f8ed-4006-b29c-5ad3bf73bf42"},{"cpid":"eth1","state":"undeployed","nicid":1,
"subnet":"472e0423-a9d8-4eb6-9782-a741afe5b93a","netmask":"255.255.255.0","dhcp":true,"vl":"vl-autoit-abcabc_orch","vnfc":"sf-vnfc-ugp",
"port_id":"04d9911d-1d05-411a-a7b7-4de2b103ea3f","ip_address":"101.101.14.8","mac_address":"fa:16:3e:5e:21:7d","network":"e32cfcd9-eea1-43ad-994f-47e042783b33"},{"cpid":"eth2","state":"undeployed","nicid":2,"subnet":"62488374-27b2-4cae-b8ff-a24287687a95","netmask":"255.255.255.0","dhcp":true,"vl":"vl-abcabc_vpc_svc","vnfc":"sf-vnfc-ugp","port_id":"c7c3058a-7cbd-4631-9f7b-165c54369e45","ip_address":"101.101.12.5","mac_address":"fa:16:3e:36:67:d2","network":"d9f89468-3235-4cbf-8bad-affcf162acc8"}],"monitor":true,"vduId":"sf"}
[zk: localhost:2181(CONNECTED) 4] get /oper/vnf
{"state":"running","name":"abcabc-autovnf-vpc-abcabc"}
[zk: localhost:2181(CONNECTED) 5] get /oper/vdrs/sf1 {"id":"not-set","uuid":"sf1","vduId":"sf","vdrId":"sf1","depName":"abcabc-autovnf-vpc-abcabc-6.0-1","requestId":"operation0000000000","vnfciId":"sf1","externalProps":"{\"properties\":{\"monitor\":\"true\",\"dep-name\":\"abcabc-autovnf-vpc-abcabc-6.0-1\"}}","elementGroupRef":"ugp","vnfc":"sf-vnfc-ugp"}
In 6.3 and later releases:
[zk: 30.31.14.18(CONNECTED) 0] get /config/vnfs/vnfd-deployment/vnf
{"state":"run","name":"vnfd-deployment"}
[zk: 30.31.14.18(CONNECTED) 1] get /config/vnfs/vnfd-deployment/vnfd
{"name":"vnfd-deployment","version":"6.3","deployment-flavor-id":["generic"],"anti-affinity-cards":["control-function","session-function"],"card-type-to-vdu":{"control-function":["cf1"],"session-function":["sf1"]}}
[zk: 30.31.14.18(CONNECTED) 2] get /config/vnfs/vnfd-deployment/vnfvdus/sf1/sf2
{"cpts":[{"vnfc":"sf-vnfc-ugp-standalone","cpid":null,"vl":null}],"affinity":null,"initvars":[{"dest_path":"staros_param.cfg","path_vars":[{"name":"CARD_TYPE_NUM","val":"0x42030100"},{"name":"SLOT_CARD_NUMBER","val":"4"},
{"name":"VNFM_PROXY_ADDRS","val":"30.31.14.12,30.31.14.16"}]}],"operation":"create","virtualPortId":[],"ceg-id":"ugp-standalone","vnfci-id":"sf2","context-vars":null,"nat-pool":null,"vim-id":
"vnfd-deployment-sf1-1","volume":null,"virtual-port-id":[]}
[zk: 30.31.14.18(CONNECTED) 3] get /oper/vnfs/vnfd-deployment/vdus/sf1/sf2
{"id":"sf2","state":"undeployed","vnfId":"vnfd-deployment","vnfcId":"sf-vnfc-ugp-standalone",
"uuid":"sf2","host":"tb2-compute-2.localdomain","vimId":"8fe9eebc-614a-464a-8e87-5288be0528c9","cpts":[{"cpid":"eth0",
"state":"undeployed","subnet":"f3b6a640-bcec-4be4-ab2c-e058042e0f83","netmask":"255.255.255.0","dhcp":true,
"vl":"vl-di-internal1","vnfc":"sf-vnfc-ugp-standalone","port_id":"c69a5d11-b803-4189-bc9e-7bdeea56a820","ip_address":"192.168.10.85",
"mac_address":"fa:16:3e:4f:a4:67","network":"e45b4f35-7438-4250-b8c6-ccc44197776e"},{"cpid":"eth1","state":"undeployed","nicid":1,
"subnet":"786a040c-cb87-482d-ad40-c7e5920fd0c6","netmask":"255.255.255.0","dhcp":true,"vl":"vl-autoit-vim_orch","vnfc":"sf-vnfc-ugp-standalone",
"port_id":"4325c98d-57a6-4a1a-ba4e-a3b77a092d0d",
"ip_address":"30.31.14.15","mac_address":"fa:16:3e:8a:ce:0e","network":"0317c0b9-5e70-4851-9415-3d99f31773b1"},{"cpid":"eth2","state":"undeployed","nicid":2,
"subnet":"55a86704-ff4d-4713-a50b-63a4a6d649a9","netmask":"255.255.255.0","dhcp":true,"vl":"vl-service1","vnfc":"sf-vnfc-ugp-standalone","port_id":"1de3ff06-4b6c-4c17-a53a-2b5da41ec2b0","ip_address":"192.168.12.64",
"mac_address":"fa:16:3e:a7:64:ef","network":"7967637f-5c41-42fb-b79c-3dd183633d54"},{"cpid":"eth3","state":"undeployed","nicid":3,"subnet":"55a86704-ff4d-4713-a50b-63a4a6d649a9","netmask":"255.255.255.0","dhcp":true,"vl":"vl-service1",
"vnfc":"sf-vnfc-ugp-standalone","port_id":"e5ceed96-9953-4d38-92a8-46ecba952b00","ip_address":"192.168.12.55","mac_address":"fa:16:3e:74:b5:fd","network":"7967637f-5c41-42fb-b79c-3dd183633d54"}],"monitor":true,"vduId":"sf1"}
[zk: 30.31.14.18(CONNECTED) 4] get /oper/vnfs/vnfd-deployment/vdus/vnf
{"state":"running","name":"vnfd-deployment"}
[zk: 30.31.14.18(CONNECTED) 6] get /oper/vnfs/vnfd-deployment/vdrs/sf2
{"id":"not-set","vnfId":"vnfd-deployment","uuid":"sf2","vduId":"sf1","vdrId":"sf2","depName":"vnfd-deployment-usp-em-6.3.0","requestId":"operation0000000000","vnfciId":"sf2","externalProps":"{\"properties\":{\"dep-type\":\"UGP\",\"monitor\":\"true\",\"dep-name\":\"vnfd-deployment-usp-em-6.3.0\"}}","elementGroupRef":"ugp-standalone","vnfc":"sf-vnfc-ugp-standalone"}