From b1595115ba9a10798582887eabacf57ec835dcd5 Mon Sep 17 00:00:00 2001 From: garciaale Date: Mon, 20 Jul 2020 14:31:03 -0400 Subject: [PATCH] Adds description for test EPA-01 Signed-off-by: garciaale --- 02-osm-nfvi-test-plan.md | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/02-osm-nfvi-test-plan.md b/02-osm-nfvi-test-plan.md index 733ac0c..90ab0c0 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 -- GitLab