networking-arista already uses PBR:-
setuptools.setup(
setup_requires=['pbr>=1.8'],
pbr=True)
This patch removes `MANIFEST.in` file as pbr generates a
sensible manifest from git files and some standard files
and it removes the need for an explicit `MANIFEST.in` file.
Change-Id: I4507cac0d45c3ccb46050d31bce6056b783fc4b4
arista_ml2.py was becoming quite large and a dumping ground for
code. This change begins the process of organizing the driver in
a more structured, and manageable way.
Change-Id: I050cdbdc028d7acda940eb932df7052ad2698967
There is a CLI in CVX which configures keystone Authentication and
no need to rely on ML2 driver to send the authentication information
to CVX.
Change-Id: I9c3526ae0bc19873361c7fa8b49e9a92be5f1954
If a higher level mechanism driver assigns a physical
network to a segment that we are binding, use that
segment rather than looking up the physical network
based on host_id.
Change-Id: I5536ce61a9dd65cd8ff5eb7ee6163bbd4b115a0e
Neutron changed the way resources are extended after Pike milestone-1. As a
result, there's a race condition where the sync thread
makes calls on the plugin before the ML2 plugin has finished
initialization. ML2 supports the get_workers() command to spawn agents for ML2
drivers. This change moves the sync thread to from the API Service to a
child worker process.
Change-Id: Id36018093bc1356dbe7986cbe664f07c35d6c224
The well known service type constants are in
neutron_lib.plugins.constants, but for legacy reasons a few still exist
and are referenced from neutron_lib.constants [1] that we'd like to
remove.
This patch switches references over to neutron_lib's plugin constants.
[1] https://github.com/openstack/neutron-lib/blob/master/neutron_lib/constants.py#L353
Change-Id: Iea954a5c916b527c7bb9d1db761204c3297b1fa6
The keys to the json output of 'show network physical-topology hosts'
command changed from hostname to chassis ID. This patch makes the code to work
with older and latest version of the command's output.
Change-Id: Ibfe35e7da4555ea9a5f77645eaca0a498b83cb87
The upstream plugin will catch any exception, so there is not need to
import this exception from Neutron. We can raise our specific exception
and remove this dependency.
Change-Id: I6df50480eef474511fe18a8b7c6d5d0d1afb666b
The arista_provisioned_vms table should contain only ports which are
provisioned by the arista mechanism driver. This patch verifies the
device owner of a port before adding it to the table.
Change-Id: I0ce405f305157a0dbb4873cccbf4031256630683
With this change HPB is compatible with MLAG pairs by listing
them as peer1_peer2 in the physical network's name.
Change-Id: Idd86162b9d315c174c583f41be98b4e1a163eff5
The existing code fails to detect a port migration if the port status
is in 'DOWN' state. With this patch, detection of a port migration
relies only on change in 'binding:host_id'.
This patch also fixes failure of deleting a network due to orphan port
in the arista_provisioned_vms database by deleting all entries from the
table if they exist.
Change-Id: I4faa8c9aafc39dce9e0773fcf2ff4836b86080dd
In ocata, the tenant network port for baremetal instances
is owned by compute:<zone> instead of baremetal:<zone>. The
vnic_type for those ports is still 'baremetal', so use the
vnic_type to identify baremetal ports.
Change-Id: I677148a7964ea4b3673cc918999073b2cd5caafd
We were assuming that all ports with binding::profiles would have
local_link_information. This assumption is incorrect, so we should
handle such ports gracefully rather than throwing a KeyError.
Change-Id: Id73e43199c933bc7eb6e71f75d4e6f04cce6c091
Use the setting if provided in local.conf and switch to
using neutron_server_config_add as Q_EXTRA_PLUGIN_CONF*
is deprecated.
Change-Id: I955075e5a4f208a6b136b35f9e462249e2dcdca2
Implements validate_network_rbac_policy_change which is
needed in NeutronNets after adding registry decorator in
neutron.db.db_base_plugin_v2.
Change-Id: Ia77fb2a5a820cab9125c0177e87418c7f0869430
This patch fixes unit tests failure due to adopting oslo-versioned
objects (ovo) for neutorn db by adding the core plugin instance to
the plugin directroy in the test.
Change-Id: Ib0de20addf428c88c169e46ac3b63e4eb0efdb2d
Recent changes to oslo.db introduced a subtle change that requires explicit
call to flush() some subtransactions. This adds flush to test case that
required flush to initialized data.
Change-Id: I4b952c9863dd8210741c780a5f13132310a8a135