Add capabilities flag "supports_multiattach" flag

This adds the flag "supports_multiattach" as False to the
driver's capabilities dictionary to enable it to work with
nova from commit baa8278ca78f onwards.

Change-Id: I08defc8b506a8936bd206885c189a5f1a393d260
This commit is contained in:
Alex Kavanagh 2018-02-21 12:06:49 +00:00
parent 16d06d149e
commit cb136ab1e6
2 changed files with 7 additions and 1 deletions

View File

@ -41,6 +41,11 @@ r="$r|(?:tempest\.api\.compute\.servers\.test_create_server\.ServersTestBootFrom
# console output, and cirros LXD consoles have only a single line of output
r="$r|(?:tempest\.api\.compute\.servers\.test_server_actions\.ServerActionsTestJSON\.test_get_console_output_with_unlimited_size)"
# tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_get_console_output_with_unlimited_size
# also tempest get console fails for the following two for length of output reasons
r="$r|(?:tempest\.api\.compute\.servers\.test_server_actions\.ServerActionsTestJSON\.test_get_console_output)"
# tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_get_console_output
r="$r|(?:tempest\.api\.compute\.servers\.test_server_actions\.ServerActionsTestJSON\.test_get_console_output_server_id_in_shutoff_status)"
# tempest.api.compute.servers.test_server_actions.ServerActionsTestJSON.test_get_console_output_server_id_in_shutoff_status
# XXX: jamespage (09 June 2017) veth pair nics not detected/configured by tempest
# https://review.openstack.org/#/c/472641/

View File

@ -413,7 +413,8 @@ class LXDDriver(driver.ComputeDriver):
"has_imagecache": False,
"supports_recreate": False,
"supports_migrate_to_same_host": False,
"supports_attach_interface": True
"supports_attach_interface": True,
"supports_multiattach": False,
}
def __init__(self, virtapi):