Hi Anda, physnet is used for physical NIC mapping on provider networks.
"The physical_device_mappings parameter is not limited to be a 1-1 mapping between physical networks and NICs. This enables you to map the same physical network to more than one NIC. For example, if physnet2 is connected to eth3 and eth4, then physnet2:eth3,physnet2:eth4 is a valid option." https://docs.openstack.org/ocata/networking-guide/config-sriov.html#whitelist-pci-devices-nova-compute-compute On Sat, Jun 17, 2017 at 12:19 PM, Anda Nicolae <anico...@lenovo.com> wrote: > Hi all, > > > > I am trying to install Contrail using fab and testbed.py. I need to enable > sriov in Contrail. > > > > The physical nics from compute node where I need to enable sriov have > sriov capability (I've checked this using lspci -v). Although compute nodes > do not have ASPM support (BIOS does not have this option), I've found on > this mailing list that sriov works even if ASPM is disabled. [1] > > > > [1] http://lists.opencontrail.org/pipermail/dev_lists. > opencontrail.org/2017-April/003164.html > > > > I have added the following lines in testbed.py: > > env.sriov = { > > host3 :[ {'interface' : 'eth5', 'VF' : 7, 'physnets' : ['physnet1', > 'physnet2']}] > > host4 :[ {'interface' : 'eth5', 'VF' : 7, 'physnets' : > ['physnet1', 'physnet2']}] > > } > > > > eth5 the interface on which data plane traffic (traffic from the VMs > created on the compute nodes) is forwarded. > > My question is: what does physnet represent? > > > > Thanks, > > Anda > > _______________________________________________ > Dev mailing list > Dev@lists.opencontrail.org > http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org > > -- Jakub Pavlik +420 602 177 027 jpav...@mirantis.com
_______________________________________________ Dev mailing list Dev@lists.opencontrail.org http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org