Commit Graph

6 Commits

Author SHA1 Message Date
Kien Nguyen d8e39cd8a6 Add ConflictConfigOption Exception
Change-Id: I448cf979fb87de7fe57325cca579b47b43c37f36
2017-11-15 08:36:35 +07:00
Hongbin Lu da736d115b Allow multiple binding drivers
In before, only one binding driver is allowed. This patch introduces
a new config to support multiple binding drivers. The first use case
is to allow SR-IOV binding to be co-existed with other binding.

* Rename the config 'driver' to 'default_driver' in 'binding' group.
  This is for making it clear that it is allowed to have more than
  one type of bindings.
* Introduce a new config called 'enabled_drivers'.
* Allow client to pass a driver name to port_bind and port_unbind.
  If this parameter is None, kuryr will load the default driver.

Partial-Implements: blueprint sriov-binding
Change-Id: I14b23379de9f2459ba97d5d82dfdb51553370cb1
2017-10-17 12:06:57 -04:00
Hong Hui Xiao 3f88afa5a9 Add the missing AddressInUseException
Commit fd904a6a656e338ece36f5353273bcb7220066ee uses an exception from
kuryr lib. However, it missed to add the exception.

Change-Id: I52507a547a5f20254e86a0b5cda9eb0b70617ead
Closes-Bug: #1651062
2016-12-19 04:02:32 -05:00
vikaschoudhary16 116052f9db Nested-Containers: vlan driver
Add support to enable isolation of container's traffic within
host(nova instances) using vlan segmentations.

Partially Implements blueprint containers-in-instances
Change-Id: If4800594adfac27a8f30dedac4787d79c8634b65
2016-11-28 14:52:10 +00:00
Dongcan Ye 4ade0e23a6 Add ExportPortFailure exception
When creating security group rule failed, kuryr-libnetwork raise
an exception:
'module' object has no attribute 'ExportPortFailure'.
Meanwhile ExportPortFailure is missing in the imported module.

This patch add missing ExportPortFailure in kuryr-lib.

Change-Id: Ia5cbe785d3bdecf0981438aa850d9d9da3ab38c8
Closes-Bug: #1627911
2016-09-27 08:48:28 +00:00
vikaschoudhary16 47490acec9 Refactoring: Drop all the code except common one
Related patchset in kuryr-libnetwork:
https://review.openstack.org/#/c/337350/

Implements blueprint code-refactoring
Change-Id: I91a402a159817462535e77296217a9dd7eb0fd08
2016-07-19 14:56:17 +05:30