Merge "Enable hardware offload support"
This commit is contained in:
commit
dd4505efd6
@ -208,6 +208,11 @@ options:
|
||||
default: False
|
||||
description: |
|
||||
Enable SR-IOV networking support across Neutron and Nova.
|
||||
enable-hardware-offload:
|
||||
type: boolean
|
||||
default: False
|
||||
description: |
|
||||
Enable OVS hardware offload support across Neutron and Nova.
|
||||
supported-pci-vendor-devs:
|
||||
type: string
|
||||
default:
|
||||
|
@ -486,6 +486,7 @@ def neutron_api_relation_joined(rid=None):
|
||||
neutron_url = '%s:%s' % (base_url, api_port('neutron-server'))
|
||||
relation_data = {
|
||||
'enable-sriov': config('enable-sriov'),
|
||||
'enable-hardware-offload': config('enable-hardware-offload'),
|
||||
'neutron-url': neutron_url,
|
||||
'neutron-plugin': config('neutron-plugin'),
|
||||
}
|
||||
|
@ -408,6 +408,7 @@ class NeutronAPIHooksTests(CharmTestCase):
|
||||
neutron_url = '%s:%s' % (host, port)
|
||||
_relation_data = {
|
||||
'enable-sriov': False,
|
||||
'enable-hardware-offload': False,
|
||||
'neutron-plugin': 'ovs',
|
||||
'neutron-url': neutron_url,
|
||||
'neutron-security-groups': 'no',
|
||||
@ -440,6 +441,7 @@ class NeutronAPIHooksTests(CharmTestCase):
|
||||
neutron_url = '%s:%s' % (host, port)
|
||||
_relation_data = {
|
||||
'enable-sriov': False,
|
||||
'enable-hardware-offload': False,
|
||||
'neutron-plugin': 'ovs',
|
||||
'neutron-url': neutron_url,
|
||||
'neutron-security-groups': 'no',
|
||||
|
Loading…
x
Reference in New Issue
Block a user