diff options
author | Peter Mikus <pmikus@cisco.com> | 2018-10-17 14:34:45 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2018-10-23 06:20:24 +0000 |
commit | 1a032931a494e283184fcc049a27163c086789ab (patch) | |
tree | 130f7b04b36b6bb450409436064b1bda9a80710c /resources/tools/testbed-setup | |
parent | e5789c572f543f709b3ac5e1a19ec51dd7ca2b96 (diff) |
CSIT-1255 1-Node VPP_Device Documentation
Change-Id: I0152bd9c0d2a97aa206819b46e8e4c0fe7d643eb
Signed-off-by: Peter Mikus <pmikus@cisco.com>
(cherry picked from commit ccabfb04a4982c89d70b8bfbff67cc97438aad88)
Diffstat (limited to 'resources/tools/testbed-setup')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.sh b/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.sh index 666839c707..092f6ef9f5 100644 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.sh +++ b/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.sh @@ -61,6 +61,8 @@ for pci_addr in ${pci_whitelist[@]}; do mac_str="mac ba:dc:0f:fe:${mac5}:${mac6}" # Set 802.1Q VLAN id and MAC address ip link set ${pf} vf $(( vf - 1 )) ${mac_str} ${vlan_str} + ip link set ${pf} vf $(( vf - 1 )) trust on + ip link set ${pf} vf $(( vf - 1 )) spoof off done pci_idx=$(( pci_idx + 1 )) ;; |