Added the Port Profile information to each VIF type in
``vif_plug_linux_bridge``. This information will be populated to
Nova trough os_vif.host_info function.
Change-Id: Ib693388f7a7eb9aa359976a1d0aba35e5b325ddb
Blueprint: vif-port-profile
HostPluginInfo plugin_name field is the name of the possible
different plugins that could be used, defined in-tree or out-of-tree
this project.
To avoid typing errors, PLUGIN_NAME constant is added to each project.
Closes-Bug: #1714472
Change-Id: Ibb3b65314958ae56a2389704903c04dc985114d7
- This change ensures that the mtu is always set
by the linux bridge plugin if provided.
related-bug: #bug/1684326
Change-Id: I9f901dcf67823a6dd78b9b18cb3e06a3f6a13e37
Don't setup iptables rules in the Linux Bridge driver
if Neutron is providing security groups filtering.
When neutron is providing filtering, it handles everything
ranging from security-group enforcement to anti-spoofing
rules so Nova/os-vif shouldn't need to do anything on plug.
Change-Id: I19d62a8ac730aba2586b9f8eb08e153746ec2bcb
This adds an MTU field to the network model and
has the vif_plug_ovs and vif_plug_linux_bridge drivers
check for it before referencing the global config variable.
Closes-Bug: #1623876
Change-Id: I327c901a285bca23560f49a921a5d030f7f71cad
When a compute service is allocating ports with the network service,
it needs to pass across information about the capabilities of the
compute host. Currently each plugin provides information about its
own capabilities. This introduces a ComputeInfo class which,
initially, just contains a dict of PluginInfo classes.
With this change, there is a versioning constraint between the
compute and network hosts. The compute host must not pass the network
host a ComputeInfo object with a version that the network host
is unable to deserialize(). This implies that as a general rule the
version of os-vif on the network host must be at least as new as the
version on the compute hosts. During a live upgrade, the network
hosts must be upgraded before the compute hosts.
Change-Id: I7b51c97b5e03ffa51a56ceb3d4f97e188508379d
While most of the vendor plugins will be in separate repositories,
the os-vif library will include the Linux bridge plugin as one of
the reference implementations.
Change-Id: If53e1e987991a9695ff4390bb9a52d7a80c0e2ee