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:19 +0000 |
commit | ccabfb04a4982c89d70b8bfbff67cc97438aad88 (patch) | |
tree | 2f0d64b50dc4afedcd4cdc36b232911e82c7fec2 /resources/tools/testbed-setup/ansible | |
parent | d465d9fba33a323703a2bf40c499d74d0f017091 (diff) |
CSIT-1255 1-Node VPP_Device Documentation
Change-Id: I0152bd9c0d2a97aa206819b46e8e4c0fe7d643eb
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/ansible')
-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 )) ;; |