diff --git a/02-osm-nfvi-test-plan.md b/02-osm-nfvi-test-plan.md index 733ac0ce0dc305da84007b6b04f73fe497ef0908..90ab0c0c2d688e51594b67a8e74addaba1d3ed0e 100644 --- a/02-osm-nfvi-test-plan.md +++ b/02-osm-nfvi-test-plan.md @@ -1522,7 +1522,40 @@ The steps to be done are the following: ### \[EPA-01\] EPA+SR-IOV without underlay -TODO: Under ellaboration. +As a precondition for this test, please make sure: + +1. Your VIM has an accessible management network (in this case called "") +2. Your VIM has the appropriate test image, in this case `ubuntu18.04`. +3. Your VIM uses a phuysical dataplane network (for instance, it was created with `dataplane_physical_net: physnet2` in its configuration). + +Onboard the following packages on OSM ([refer to this repo for OSM packages](https://osm.etsi.org/gitlab/vnf-onboarding/osm-packages)): + +```bash +osm nfpkg-create hackfest_basic_sriov_vnf +osm nspkg-create hackfest_basic_sriov_ns +``` + +Instantiate the NS: + +```bash +osm ns-create --ns_name epa_01-epa_sriov_test --nsd_name hackfest_basic_sriov-ns --vim_account | --ssh_keys --config '{vld: [ {name: mgmtnet, vim-network-name: } ] }' +``` + +Wait for the VM instante to be up and SSH into it (credentials are ubuntu/osm4u). + +After that, check an Ethernet device is enabled on the VM interfaces (you should see it as "Ethernet controller" istead of "Virtio" on the devices list): + +```bash +lspci | grep "Ethernet controller" | grep -v "Virtio" +``` + +Finally, delete the NS and the onboarded packages: + +```bash +osm ns-delete epa_01-epa_sriov_test +osm nsd-delete hackfest_basic_sriov-ns +osm vnfd-delete hackfest_basic_sriov-vnf +``` ### \[EPA-02\] Support for additional EPA capabilities