|
| 1 | +# Configuring and deploying the dataplane |
| 2 | + |
| 3 | +## Assumptions |
| 4 | + |
| 5 | +- The [control plane](control-plane.md) has been created and successfully deployed |
| 6 | + |
| 7 | +## Initialize |
| 8 | + |
| 9 | +Switch to the "openstack" namespace |
| 10 | +``` |
| 11 | +oc project openstack |
| 12 | +``` |
| 13 | +Change to the nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm directory |
| 14 | + |
| 15 | +> **Note**: The IPv6 2-nodesets scenario reuses the dataplane configuration from the standard |
| 16 | +> nfv-ovs-dpdk-sriov-2nodesets scenario, as there are no differences in the EDPM configuration |
| 17 | +> between IPv4 and IPv6 deployments. The IPv6 networking is configured at the |
| 18 | +> control plane level (NNCP and service values). |
| 19 | +
|
| 20 | +``` |
| 21 | +cd examples/dt/nfv/nfv-ovs-dpdk-sriov-2nodesets/edpm |
| 22 | +``` |
| 23 | +Edit the [nodeset/values.yaml](edpm/nodeset/values.yaml), [nodeset2/values.yaml](edpm/nodeset2/values.yaml) |
| 24 | +and [deployment/values.yaml](deployment/values.yaml) files to suit your environment. |
| 25 | +``` |
| 26 | +vi nodeset/values.yaml |
| 27 | +vi nodeset2/values.yaml |
| 28 | +vi deployment/values.yaml |
| 29 | +``` |
| 30 | +Generate the dataplane nodesets CRs. |
| 31 | +``` |
| 32 | +kustomize build nodeset > dataplane-nodeset.yaml |
| 33 | +kustomize build nodeset2 > dataplane-nodeset2.yaml |
| 34 | +``` |
| 35 | +Generate the dataplane deployment CR. |
| 36 | +``` |
| 37 | +kustomize build deployment > dataplane-deployment.yaml |
| 38 | +``` |
| 39 | + |
| 40 | +## Create CRs |
| 41 | +Create the nodesets CRs |
| 42 | +``` |
| 43 | +oc apply -f dataplane-nodeset.yaml |
| 44 | +oc apply -f dataplane-nodeset2.yaml |
| 45 | +``` |
| 46 | +Wait for dataplane nodesets setup to finish |
| 47 | +``` |
| 48 | +oc wait osdpns openstack-edpm --for condition=SetupReady --timeout=600s |
| 49 | +oc wait osdpns openstack-edpm-2 --for condition=SetupReady --timeout=600s |
| 50 | +``` |
| 51 | + |
| 52 | +Start the deployment |
| 53 | +``` |
| 54 | +oc apply -f dataplane-deployment.yaml |
| 55 | +``` |
| 56 | + |
| 57 | +Wait for dataplane deployment to finish |
| 58 | +``` |
| 59 | +oc wait osdpns openstack-edpm --for condition=Ready --timeout=40m |
| 60 | +``` |
0 commit comments