diff options
author | Lukasz Rajewski <lukasz.rajewski@orange.com> | 2021-09-12 22:28:33 +0200 |
---|---|---|
committer | Michal Jagiello <michal.jagiello@t-mobile.pl> | 2021-11-05 13:46:38 +0000 |
commit | 2e8e663a2e341c5341d3d387a7087626581876b4 (patch) | |
tree | b45751b7af1f0087b2f422be9ee11be73ef7f284 /docs/files | |
parent | 15ac045996c0c2d8d9ba004b6ddd1555e3e58fa1 (diff) |
[DOC] vFW CNF Use Case Istanbul documentation
Update documentation of vFW CNF Use Case for Istanbul
Issue-ID: REQ-931
Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
Change-Id: If6ee8586f5a07c934cd8d502b10f16d0a6371748
Diffstat (limited to 'docs/files')
-rw-r--r-- | docs/files/vFW_CNF_CDS/healthcheck.png | bin | 0 -> 68856 bytes | |||
-rw-r--r-- | docs/files/vFW_CNF_CDS/k8s-resources-response.json | 843 | ||||
-rw-r--r-- | docs/files/vFW_CNF_CDS/scenarios.png | bin | 0 -> 71874 bytes | |||
-rw-r--r-- | docs/files/vFW_CNF_CDS/vfw-generic-vnf-aai.json | 167 | ||||
-rw-r--r-- | docs/files/vFW_CNF_CDS/vpkg-vf-module-aai.json | 133 |
5 files changed, 1143 insertions, 0 deletions
diff --git a/docs/files/vFW_CNF_CDS/healthcheck.png b/docs/files/vFW_CNF_CDS/healthcheck.png Binary files differnew file mode 100644 index 000000000..693e9e74c --- /dev/null +++ b/docs/files/vFW_CNF_CDS/healthcheck.png diff --git a/docs/files/vFW_CNF_CDS/k8s-resources-response.json b/docs/files/vFW_CNF_CDS/k8s-resources-response.json new file mode 100644 index 000000000..3d0f91344 --- /dev/null +++ b/docs/files/vFW_CNF_CDS/k8s-resources-response.json @@ -0,0 +1,843 @@ +{ + "k8s-resource": [ + { + "id": "e5a4eca381ade9439806cf426eb7a07237fe9a8c9088038bd0c8135f728fabe2", + "name": "vfw-1-vfw", + "group": "apps", + "version": "v1", + "kind": "Deployment", + "namespace": "vfirewall", + "labels": [ + "chart=vfw", + "k8splugin.io/rb-instance-id=brave_brattain", + "release=vfw-1-vfw", + "vf-module-name=vfw-1-vfw", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/brave_brattain/query?ApiVersion=v1&Kind=Deployment&Name=vfw-1-vfw&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35940985", + "resource-version": "1635943384048", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/d56c54b9-40cc-4b7a-abce-50454571e39d", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "d56c54b9-40cc-4b7a-abce-50454571e39d" + } + ] + } + ] + } + }, + { + "id": "5b43d0c6e6b3ebb3d279dccbdad024a02995d0e66c2858c866ba9295c34cde62", + "name": "vfw-1-vsn-5f45887f5f-khqdd", + "group": "", + "version": "v1", + "kind": "Pod", + "namespace": "vfirewall", + "labels": [ + "chart=vsn", + "k8splugin.io/rb-instance-id=sharp_torvalds", + "pod-template-hash=5f45887f5f", + "release=vfw-1-vsn", + "vf-module-name=vfw-1-vsn", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/sharp_torvalds/query?ApiVersion=v1&Kind=Pod&Name=vfw-1-vsn-5f45887f5f-khqdd&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35941084", + "resource-version": "1635943399747", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/56f3d02b-5a32-4a97-9e7b-d3c0094c07e8", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "56f3d02b-5a32-4a97-9e7b-d3c0094c07e8" + } + ] + } + ] + } + }, + { + "id": "afce111381db5b5e61d12726d96e4d08b5dc1c7fdb5b069a24bb68c36314d45f", + "name": "kud-lr-onap-nf-20211103t124217642438z-ovn-nat", + "group": "k8s.cni.cncf.io", + "version": "v1", + "kind": "NetworkAttachmentDefinition", + "namespace": "vfirewall", + "labels": [ + "chart=base_template", + "k8splugin.io/rb-instance-id=nifty_lichterman", + "release=vfw-1-base", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/nifty_lichterman/query?ApiVersion=v1&Kind=NetworkAttachmentDefinition&Name=kud-lr-onap-nf-20211103t124217642438z-ovn-nat&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35940925", + "resource-version": "1635943376139", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/abb282c8-c932-45dc-9c62-01938eab32fa", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "abb282c8-c932-45dc-9c62-01938eab32fa" + } + ] + } + ] + } + }, + { + "id": "eaa4c964f1e0559cb061cd543c381e8067fc19524195e04ca25b539fdde19712", + "name": "kud-lr-onap-nf-20211103t124217642438z-unprotected-network", + "group": "k8s.plugin.opnfv.org", + "version": "v1alpha1", + "kind": "Network", + "namespace": "vfirewall", + "labels": [ + "chart=base_template", + "k8splugin.io/rb-instance-id=nifty_lichterman", + "release=vfw-1-base", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/nifty_lichterman/query?ApiVersion=v1alpha1&Kind=Network&Name=kud-lr-onap-nf-20211103t124217642438z-unprotected-network&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35940922", + "resource-version": "1635943376139", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/abb282c8-c932-45dc-9c62-01938eab32fa", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "abb282c8-c932-45dc-9c62-01938eab32fa" + } + ] + } + ] + } + }, + { + "id": "6e5fc95d95eee51f818cd3fbd8fbd40bc29d9fe4c587a1e2840ef4d17fb2fac6", + "name": "vfw-1-vsn-configmap", + "group": "", + "version": "v1", + "kind": "ConfigMap", + "namespace": "vfirewall", + "labels": [ + "chart=vsn", + "k8splugin.io/rb-instance-id=sharp_torvalds", + "release=vfw-1-vsn", + "vf-module-name=vfw-1-vsn", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/sharp_torvalds/query?ApiVersion=v1&Kind=ConfigMap&Name=vfw-1-vsn-configmap&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35941065", + "resource-version": "1635943399747", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/56f3d02b-5a32-4a97-9e7b-d3c0094c07e8", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "56f3d02b-5a32-4a97-9e7b-d3c0094c07e8" + } + ] + } + ] + } + }, + { + "id": "9e587e69bfe74762f66c59c5cb2ed41ca37bafa59b454b4e1432f4c61f0361f7", + "name": "kud-lr-onap-nf-20211103t124217642438z-management-network", + "group": "k8s.plugin.opnfv.org", + "version": "v1alpha1", + "kind": "Network", + "namespace": "vfirewall", + "labels": [ + "chart=base_template", + "k8splugin.io/rb-instance-id=nifty_lichterman", + "release=vfw-1-base", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/nifty_lichterman/query?ApiVersion=v1alpha1&Kind=Network&Name=kud-lr-onap-nf-20211103t124217642438z-management-network&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35940926", + "resource-version": "1635943376139", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/abb282c8-c932-45dc-9c62-01938eab32fa", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "abb282c8-c932-45dc-9c62-01938eab32fa" + } + ] + } + ] + } + }, + { + "id": "20413fe7d44e703f3b498a442184b7e95a1e52afccf68cdc5785bfb1855a70c9", + "name": "vfw-1-vfw-configmap", + "group": "", + "version": "v1", + "kind": "ConfigMap", + "namespace": "vfirewall", + "labels": [ + "chart=vfw", + "k8splugin.io/rb-instance-id=brave_brattain", + "release=vfw-1-vfw", + "vf-module-name=vfw-1-vfw", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/brave_brattain/query?ApiVersion=v1&Kind=ConfigMap&Name=vfw-1-vfw-configmap&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35940973", + "resource-version": "1635943384048", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/d56c54b9-40cc-4b7a-abce-50454571e39d", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "d56c54b9-40cc-4b7a-abce-50454571e39d" + } + ] + } + ] + } + }, + { + "id": "e73732351195c8c10d28413ddff1d968bd53b0b0e395c24b3b0fcd39f46ea730", + "name": "vfw-1-vpkg-mgmt", + "group": "", + "version": "v1", + "kind": "Service", + "namespace": "vfirewall", + "labels": [ + "chart=vpkg", + "k8splugin.io/rb-instance-id=dazzling_nightingale", + "release=vfw-1-vpkg", + "vf-module-name=vfw-1-vpkg", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/dazzling_nightingale/query?ApiVersion=v1&Kind=Service&Name=vfw-1-vpkg-mgmt&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35941017", + "resource-version": "1635943391652", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/314795d7-6005-4462-a9fe-7006538e3ff9", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "314795d7-6005-4462-a9fe-7006538e3ff9" + } + ] + } + ] + } + }, + { + "id": "f65235da9cb098588b2db0c9e7da1ccb00954268fba6bd621bb9ef0b48cd717f", + "name": "vfw-1-vpkg", + "group": "apps", + "version": "v1", + "kind": "Deployment", + "namespace": "vfirewall", + "labels": [ + "chart=vpkg", + "k8splugin.io/rb-instance-id=dazzling_nightingale", + "release=vfw-1-vpkg", + "vf-module-name=vfw-1-vpkg", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/dazzling_nightingale/query?ApiVersion=v1&Kind=Deployment&Name=vfw-1-vpkg&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35941032", + "resource-version": "1635943391652", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/314795d7-6005-4462-a9fe-7006538e3ff9", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "314795d7-6005-4462-a9fe-7006538e3ff9" + } + ] + } + ] + } + }, + { + "id": "87cbdb83bf436703bdb9823e07e1498a7b3ec7fb12ba14193aadd4630649e0ae", + "name": "vfw-1-vpkg-c6bdb954c-mlpz9", + "group": "", + "version": "v1", + "kind": "Pod", + "namespace": "vfirewall", + "labels": [ + "chart=vpkg", + "k8splugin.io/rb-instance-id=dazzling_nightingale", + "pod-template-hash=c6bdb954c", + "release=vfw-1-vpkg", + "vf-module-name=vfw-1-vpkg", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/dazzling_nightingale/query?ApiVersion=v1&Kind=Pod&Name=vfw-1-vpkg-c6bdb954c-mlpz9&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35941033", + "resource-version": "1635943391652", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/314795d7-6005-4462-a9fe-7006538e3ff9", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "314795d7-6005-4462-a9fe-7006538e3ff9" + } + ] + } + ] + } + }, + { + "id": "8c8a65ef11c599eb15a1054ccd590a94305d52d2efa1e72c7581ee2094cace1b", + "name": "vfw-1-vsn", + "group": "apps", + "version": "v1", + "kind": "Deployment", + "namespace": "vfirewall", + "labels": [ + "chart=vsn", + "k8splugin.io/rb-instance-id=sharp_torvalds", + "release=vfw-1-vsn", + "vf-module-name=vfw-1-vsn", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/sharp_torvalds/query?ApiVersion=v1&Kind=Deployment&Name=vfw-1-vsn&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35941083", + "resource-version": "1635943399747", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/56f3d02b-5a32-4a97-9e7b-d3c0094c07e8", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "56f3d02b-5a32-4a97-9e7b-d3c0094c07e8" + } + ] + } + ] + } + }, + { + "id": "677e61310b562007084bc99c42aefb9106438d4c782afc6504d6a6a062b974a8", + "name": "kud-lr-onap-nf-20211103t124217642438z-protected-network", + "group": "k8s.plugin.opnfv.org", + "version": "v1alpha1", + "kind": "Network", + "namespace": "vfirewall", + "labels": [ + "chart=base_template", + "k8splugin.io/rb-instance-id=nifty_lichterman", + "release=vfw-1-base", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/nifty_lichterman/query?ApiVersion=v1alpha1&Kind=Network&Name=kud-lr-onap-nf-20211103t124217642438z-protected-network&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35940927", + "resource-version": "1635943376139", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/abb282c8-c932-45dc-9c62-01938eab32fa", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "abb282c8-c932-45dc-9c62-01938eab32fa" + } + ] + } + ] + } + }, + { + "id": "5538b19871da1fd05b82366c38cbbe88bae4d3444b6a21018f83787327958617", + "name": "vfw-1-vpkg-configmap", + "group": "", + "version": "v1", + "kind": "ConfigMap", + "namespace": "vfirewall", + "labels": [ + "chart=vpkg", + "k8splugin.io/rb-instance-id=dazzling_nightingale", + "release=vfw-1-vpkg", + "vf-module-name=vfw-1-vpkg", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/dazzling_nightingale/query?ApiVersion=v1&Kind=ConfigMap&Name=vfw-1-vpkg-configmap&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35941014", + "resource-version": "1635943391652", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/314795d7-6005-4462-a9fe-7006538e3ff9", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "314795d7-6005-4462-a9fe-7006538e3ff9" + } + ] + } + ] + } + }, + { + "id": "6134c369330c7398807d550c708890b0bcef2affbe5af1f9acde02c5a58c104a", + "name": "vfw-1-vsn-ui", + "group": "", + "version": "v1", + "kind": "Service", + "namespace": "vfirewall", + "labels": [ + "chart=vsn", + "k8splugin.io/rb-instance-id=sharp_torvalds", + "release=vfw-1-vsn", + "vf-module-name=vfw-1-vsn", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/sharp_torvalds/query?ApiVersion=v1&Kind=Service&Name=vfw-1-vsn-ui&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35941068", + "resource-version": "1635943399747", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/56f3d02b-5a32-4a97-9e7b-d3c0094c07e8", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "56f3d02b-5a32-4a97-9e7b-d3c0094c07e8" + } + ] + } + ] + } + }, + { + "id": "633a8c14f7df72b14f4d8e7b77cf7a2f33b71d54136e8582f135678c586fcde3", + "name": "vfw-1-vfw-89bd4bfdb-mshpq", + "group": "", + "version": "v1", + "kind": "Pod", + "namespace": "vfirewall", + "labels": [ + "chart=vfw", + "k8splugin.io/rb-instance-id=brave_brattain", + "pod-template-hash=89bd4bfdb", + "release=vfw-1-vfw", + "vf-module-name=vfw-1-vfw", + "vnf-name=test-vnf" + ], + "selflink": "http://so-cnf-adapter:8090/api/cnf-adapter/v1/instance/brave_brattain/query?ApiVersion=v1&Kind=Pod&Name=vfw-1-vfw-89bd4bfdb-mshpq&Namespace=vfirewall", + "data-owner": "CnfAdapter", + "data-source": "K8sPlugin", + "data-source-version": "35940986", + "resource-version": "1635943384048", + "relationship-list": { + "relationship": [ + { + "related-to": "generic-vnf", + "relationship-label": "tosca.relationships.HostedOn", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + } + ], + "related-to-property": [ + { + "property-key": "generic-vnf.vnf-name", + "property-value": "VF_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "vf-module", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/network/generic-vnfs/generic-vnf/d4af22f0-70e6-47ac-8d5b-4d645fc25757/vf-modules/vf-module/d56c54b9-40cc-4b7a-abce-50454571e39d", + "relationship-data": [ + { + "relationship-key": "generic-vnf.vnf-id", + "relationship-value": "d4af22f0-70e6-47ac-8d5b-4d645fc25757" + }, + { + "relationship-key": "vf-module.vf-module-id", + "relationship-value": "d56c54b9-40cc-4b7a-abce-50454571e39d" + } + ] + } + ] + } + } + ] +} diff --git a/docs/files/vFW_CNF_CDS/scenarios.png b/docs/files/vFW_CNF_CDS/scenarios.png Binary files differnew file mode 100644 index 000000000..53da8668d --- /dev/null +++ b/docs/files/vFW_CNF_CDS/scenarios.png diff --git a/docs/files/vFW_CNF_CDS/vfw-generic-vnf-aai.json b/docs/files/vFW_CNF_CDS/vfw-generic-vnf-aai.json new file mode 100644 index 000000000..89b7f7a2d --- /dev/null +++ b/docs/files/vFW_CNF_CDS/vfw-generic-vnf-aai.json @@ -0,0 +1,167 @@ +{ + "vnf-id": "d4af22f0-70e6-47ac-8d5b-4d645fc25757", + "vnf-name": "VF_vfw_k8s_demo_CNF_LR_1", + "vnf-type": "vfw_k8s_demo_CNF_LR_1/null", + "service-id": "vfw_k8s_demo_CNF_LR_1", + "prov-status": "NVTPROV", + "orchestration-status": "Active", + "in-maint": false, + "is-closed-loop-disabled": false, + "resource-version": "1635943409675", + "model-invariant-id": "a5c188d5-7f0a-44e9-bd92-4a60781cb2cf", + "model-version-id": "033d9730-549a-4ff8-b166-1581fb73aa08", + "model-customization-id": "f107d24c-0a2f-4eb9-96d3-7a631c973cfd", + "relationship-list": { + "relationship": [ + { + "related-to": "tenant", + "relationship-label": "org.onap.relationships.inventory.BelongsTo", + "related-link": "/aai/v21/cloud-infrastructure/cloud-regions/cloud-region/K8sCloudOwner/kud-lr/tenants/tenant/3444a566-2717-4d85-83bd-45c104657173", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "K8sCloudOwner" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "kud-lr" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "3444a566-2717-4d85-83bd-45c104657173" + } + ], + "related-to-property": [ + { + "property-key": "tenant.tenant-name", + "property-value": "kud-lr-tenant" + } + ] + }, + { + "related-to": "cloud-region", + "relationship-label": "org.onap.relationships.inventory.LocatedIn", + "related-link": "/aai/v21/cloud-infrastructure/cloud-regions/cloud-region/K8sCloudOwner/kud-lr", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "K8sCloudOwner" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "kud-lr" + } + ], + "related-to-property": [ + { + "property-key": "cloud-region.owner-defined-type", + "property-value": "t1" + } + ] + }, + { + "related-to": "service-instance", + "relationship-label": "org.onap.relationships.inventory.ComposedOf", + "related-link": "/aai/v21/business/customers/customer/customer_cnf/service-subscriptions/service-subscription/vfw_k8s_demo_CNF_LR_1/service-instances/service-instance/93b89241-104b-40a7-8030-32e3b6eff459", + "relationship-data": [ + { + "relationship-key": "customer.global-customer-id", + "relationship-value": "customer_cnf" + }, + { + "relationship-key": "service-subscription.service-type", + "relationship-value": "vfw_k8s_demo_CNF_LR_1" + }, + { + "relationship-key": "service-instance.service-instance-id", + "relationship-value": "93b89241-104b-40a7-8030-32e3b6eff459" + } + ], + "related-to-property": [ + { + "property-key": "service-instance.service-instance-name", + "property-value": "INSTANCE_vfw_k8s_demo_CNF_LR_1" + } + ] + }, + { + "related-to": "platform", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v21/business/platforms/platform/%3Conapsdk.vid.vid.Platform%20object%20at%200x7f48eddc2c40%3E", + "relationship-data": [ + { + "relationship-key": "platform.platform-name", + "relationship-value": "<onapsdk.vid.vid.Platform object at 0x7f48eddc2c40>" + } + ] + }, + { + "related-to": "line-of-business", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v21/business/lines-of-business/line-of-business/%3Conapsdk.vid.vid.LineOfBusiness%20object%20at%200x7f48eddc2040%3E", + "relationship-data": [ + { + "relationship-key": "line-of-business.line-of-business-name", + "relationship-value": "<onapsdk.vid.vid.LineOfBusiness object at 0x7f48eddc2040>" + } + ] + } + ] + }, + "vf-modules": { + "vf-module": [ + { + "vf-module-id": "abb282c8-c932-45dc-9c62-01938eab32fa", + "vf-module-name": "INSTANCE_vfw_k8s_demo_CNF_LR_1_vf_vfw_k8s_demo_cnf_lr_10..VfVfwK8sDemoCnfLr1..helm_base_template..module-4", + "heat-stack-id": "nifty_lichterman", + "orchestration-status": "Active", + "is-base-vf-module": false, + "automated-assignment": false, + "resource-version": "1635943380124", + "model-invariant-id": "7b0bcafb-6437-461c-bb48-7240f67ee718", + "model-version-id": "5cc1eda3-24e2-4e5e-a4a0-cb18477834f6", + "model-customization-id": "b80dedcd-902e-4c75-939a-310a68acb440", + "module-index": 0 + }, + { + "vf-module-id": "314795d7-6005-4462-a9fe-7006538e3ff9", + "vf-module-name": "INSTANCE_vfw_k8s_demo_CNF_LR_1_vf_vfw_k8s_demo_cnf_lr_10..VfVfwK8sDemoCnfLr1..helm_vpkg..module-2", + "heat-stack-id": "dazzling_nightingale", + "orchestration-status": "Active", + "is-base-vf-module": false, + "automated-assignment": false, + "resource-version": "1635943396304", + "model-invariant-id": "8f3652a6-af23-4d8c-9aa2-3e8d6f1a5b6e", + "model-version-id": "f4e54571-7cc7-4a67-b973-1851b8e540a7", + "model-customization-id": "5f1445b0-9ef2-4eb3-8051-a445fa35f877", + "module-index": 0 + }, + { + "vf-module-id": "56f3d02b-5a32-4a97-9e7b-d3c0094c07e8", + "vf-module-name": "INSTANCE_vfw_k8s_demo_CNF_LR_1_vf_vfw_k8s_demo_cnf_lr_10..VfVfwK8sDemoCnfLr1..helm_vsn..module-1", + "heat-stack-id": "sharp_torvalds", + "orchestration-status": "Active", + "is-base-vf-module": false, + "automated-assignment": false, + "resource-version": "1635943404667", + "model-invariant-id": "46a8e556-6c5f-4acd-9cfc-ea29b51c919e", + "model-version-id": "aa1ecbc5-990e-4ed0-a03e-a135f21763d3", + "model-customization-id": "0e61ce72-5eef-4fd7-b790-2107b67044f6", + "module-index": 0 + }, + { + "vf-module-id": "d56c54b9-40cc-4b7a-abce-50454571e39d", + "vf-module-name": "INSTANCE_vfw_k8s_demo_CNF_LR_1_vf_vfw_k8s_demo_cnf_lr_10..VfVfwK8sDemoCnfLr1..helm_vfw..module-3", + "heat-stack-id": "brave_brattain", + "orchestration-status": "Active", + "is-base-vf-module": false, + "automated-assignment": false, + "resource-version": "1635943387739", + "model-invariant-id": "89f47572-1d25-44b4-a6e0-52d0421a0980", + "model-version-id": "12a89df1-9fad-4045-a90e-dcb64264eed4", + "model-customization-id": "c81f3c71-3f42-4831-b3b2-7ceffb567795", + "module-index": 0 + } + ] + } +} diff --git a/docs/files/vFW_CNF_CDS/vpkg-vf-module-aai.json b/docs/files/vFW_CNF_CDS/vpkg-vf-module-aai.json new file mode 100644 index 000000000..84d62ca6c --- /dev/null +++ b/docs/files/vFW_CNF_CDS/vpkg-vf-module-aai.json @@ -0,0 +1,133 @@ +{ + "vf-module-id": "314795d7-6005-4462-a9fe-7006538e3ff9", + "vf-module-name": "INSTANCE_vfw_k8s_demo_CNF_LR_1_vf_vfw_k8s_demo_cnf_lr_10..VfVfwK8sDemoCnfLr1..helm_vpkg..module-2", + "heat-stack-id": "dazzling_nightingale", + "orchestration-status": "Active", + "is-base-vf-module": false, + "automated-assignment": false, + "resource-version": "1635943396304", + "model-invariant-id": "8f3652a6-af23-4d8c-9aa2-3e8d6f1a5b6e", + "model-version-id": "f4e54571-7cc7-4a67-b973-1851b8e540a7", + "model-customization-id": "5f1445b0-9ef2-4eb3-8051-a445fa35f877", + "module-index": 0, + "relationship-list": { + "relationship": [ + { + "related-to": "k8s-resource", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/cloud-infrastructure/cloud-regions/cloud-region/K8sCloudOwner/kud-lr/tenants/tenant/3444a566-2717-4d85-83bd-45c104657173/k8s-resources/k8s-resource/e73732351195c8c10d28413ddff1d968bd53b0b0e395c24b3b0fcd39f46ea730", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "K8sCloudOwner" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "kud-lr" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "3444a566-2717-4d85-83bd-45c104657173" + }, + { + "relationship-key": "k8s-resource.id", + "relationship-value": "e73732351195c8c10d28413ddff1d968bd53b0b0e395c24b3b0fcd39f46ea730" + } + ], + "related-to-property": [ + { + "property-key": "k8s-resource.name", + "property-value": "vfw-1-vpkg-mgmt" + } + ] + }, + { + "related-to": "k8s-resource", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/cloud-infrastructure/cloud-regions/cloud-region/K8sCloudOwner/kud-lr/tenants/tenant/3444a566-2717-4d85-83bd-45c104657173/k8s-resources/k8s-resource/f65235da9cb098588b2db0c9e7da1ccb00954268fba6bd621bb9ef0b48cd717f", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "K8sCloudOwner" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "kud-lr" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "3444a566-2717-4d85-83bd-45c104657173" + }, + { + "relationship-key": "k8s-resource.id", + "relationship-value": "f65235da9cb098588b2db0c9e7da1ccb00954268fba6bd621bb9ef0b48cd717f" + } + ], + "related-to-property": [ + { + "property-key": "k8s-resource.name", + "property-value": "vfw-1-vpkg" + } + ] + }, + { + "related-to": "k8s-resource", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/cloud-infrastructure/cloud-regions/cloud-region/K8sCloudOwner/kud-lr/tenants/tenant/3444a566-2717-4d85-83bd-45c104657173/k8s-resources/k8s-resource/87cbdb83bf436703bdb9823e07e1498a7b3ec7fb12ba14193aadd4630649e0ae", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "K8sCloudOwner" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "kud-lr" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "3444a566-2717-4d85-83bd-45c104657173" + }, + { + "relationship-key": "k8s-resource.id", + "relationship-value": "87cbdb83bf436703bdb9823e07e1498a7b3ec7fb12ba14193aadd4630649e0ae" + } + ], + "related-to-property": [ + { + "property-key": "k8s-resource.name", + "property-value": "vfw-1-vpkg-c6bdb954c-mlpz9" + } + ] + }, + { + "related-to": "k8s-resource", + "relationship-label": "org.onap.relationships.inventory.Uses", + "related-link": "/aai/v24/cloud-infrastructure/cloud-regions/cloud-region/K8sCloudOwner/kud-lr/tenants/tenant/3444a566-2717-4d85-83bd-45c104657173/k8s-resources/k8s-resource/5538b19871da1fd05b82366c38cbbe88bae4d3444b6a21018f83787327958617", + "relationship-data": [ + { + "relationship-key": "cloud-region.cloud-owner", + "relationship-value": "K8sCloudOwner" + }, + { + "relationship-key": "cloud-region.cloud-region-id", + "relationship-value": "kud-lr" + }, + { + "relationship-key": "tenant.tenant-id", + "relationship-value": "3444a566-2717-4d85-83bd-45c104657173" + }, + { + "relationship-key": "k8s-resource.id", + "relationship-value": "5538b19871da1fd05b82366c38cbbe88bae4d3444b6a21018f83787327958617" + } + ], + "related-to-property": [ + { + "property-key": "k8s-resource.name", + "property-value": "vfw-1-vpkg-configmap" + } + ] + } + ] + } +} |