Material for running vFW closed loop
- ONAP.postman_collection.json: REST operations against ONAP component's endpoints;
- TLAB K8s Powder lab ONAP.postman_environment.json: Environment file for Postman collection;
- vFWSNK.zip: Package that contains the Heat template and environment file for the vFirewall and vSink VNF components;
- vPKG.zip: Package that contains the Heat template and environment file for the vPacketGen VNF;
- vFWSNK_SDNC_preload.json: JSON file to upload to SDNC that overrides values in the environment file for the vFirewall and vSink VNF components;
- vPKG_SDNC_preload.json: JSON file to upload to SDNC that overrides values in the environment file for the vPacketGen VNF;
- VNF preload.xml: description of the VNF preload for SDNC
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
View file | ||||
---|---|---|---|---|
|
Setup the Environment
Modify /etc/hosts (UNIX) or C:\Windows\System32\Drivers\etc\hosts (Windows) by adding the following FQDNs:
x155.y98.z37.t 45 portal.api.simpledemo.onap.org
x155.y98.z37.t vid35 policy.api.simpledemo.onap.org
x155.y98.z37.t 34 sdc.api.fe.simpledemo.onap.org
x155.y98.z.t portal-sdk.simpledemo.onap.orgx.y.z.t policy.37.36 vid.api.simpledemo.onap.org
x155.y98.z37.t aai.api.sparky.simpledemo.onap.org
x.y.z.t cli.api.simpledemo.onap.org
x.y.z.t msb.api.discovery46 aai.api.simpledemo.onap.org
x.y.z.t clamp.api.simpledemo.onap.org
In Heat-based installations, for each component, x.y.z.t is the IP address of the VM that hosts that component. In K8S-based installations, x.y.z.t is the IP address of any VM in the cluster (x.y.z.t can be used for all FQDNs).
Create a Vendor Software Product
...
Create Mount Point in APPC (https://wiki.onap.org/display/DW/Automatically+Creating+a+Netconf+Mount+in+APPC+from+SDNC)
PUT {{appc_ip}}:8282/restconf/config/network-topology:network-topology/topology/topology-netconf/node/${vpg_id}
- Username/password: admin/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
- Header: Content-type: application/xml
- ${prop.vpg_hostname} in the XML body is the VNF ID in the VID GUI (vPacketGen VNF Instance information button). Example of XML body:
<node xmlns="urn:TBD:params:xml:ns:yang:network-topology">
<node-id>${prop.vpg_hostname}</node-id>
<host xmlns="urn:opendaylight:netconf-node-topology">${prop.vpg_ipaddress}</host>
<port xmlns="urn:opendaylight:netconf-node-topology">2831</port>
...