[openstack-dev] [nova][vlan trunking] Guest networking configuration for vlan trunk

Robert Li (baoli) baoli at cisco.com
Mon May 22 20:23:43 UTC 2017

Hi Levi,

Thanks for the info. I noticed that support in the nova code, but was wondering why something similar is not available for vlan trunking.


On 5/22/17, 3:34 PM, "Moshe Levi" <moshele at mellanox.com<mailto:moshele at mellanox.com>> wrote:

Hi Robert,
The closes thing that I know about is tagging of SR-IOV physical function’s VLAN tag to guests see [1]
Maybe you can leverage the same mechanism to config vlan trunking in guest.

[1] - https://specs.openstack.org/openstack/nova-specs/specs/ocata/implemented/sriov-pf-passthrough-neutron-port-vlan.html

From: Robert Li (baoli) [mailto:baoli at cisco.com]
Sent: Monday, May 22, 2017 8:49 PM
To: openstack-dev at lists.openstack.org
Subject: [openstack-dev] [nova][vlan trunking] Guest networking configuration for vlan trunk


I’m trying to find out if there is support in nova (in terms of metadata and cfgdrive) to configure vlan trunking in the guest. In the ‘CLI usage example’ provided in this wiki https://wiki.openstack.org/wiki/Neutron/TrunkPort, it indicates:

# The typical cloud image will auto-configure the first NIC (eg. eth0) only and not the vlan interfaces (eg. eth0.VLAN-ID).
ssh VM0-ADDRESS sudo ip link add link eth0 name eth0.101 type vlan id 101

I’d like to understand why the support of configuring vlan interfaces in the guest is not added. And should it be added?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20170522/92318bee/attachment.html>

More information about the OpenStack-dev mailing list