summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-19 15:04:18 +0000
committerGerrit Code Review <review@openstack.org>2017-01-19 15:04:18 +0000
commit0cabf795b5c241e1b529e15fed328a30d2e61dbf (patch)
tree04cc7c84fd7e6650842f1a57133d4f54c8dcf1ae
parent092acaa5623f872929460145720db454b9e05eef (diff)
parentb315dda52ee2ca9fd514f61803e3726e9deff5b7 (diff)
Merge "Fix typo in sriov.numvfs 9.2 migration"
-rw-r--r--nailgun/nailgun/db/migration/alembic_migrations/versions/fuel_9_2.py2
-rw-r--r--nailgun/nailgun/test/unit/test_migration_fuel_9_2.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/nailgun/nailgun/db/migration/alembic_migrations/versions/fuel_9_2.py b/nailgun/nailgun/db/migration/alembic_migrations/versions/fuel_9_2.py
index da54313..a348d18 100644
--- a/nailgun/nailgun/db/migration/alembic_migrations/versions/fuel_9_2.py
+++ b/nailgun/nailgun/db/migration/alembic_migrations/versions/fuel_9_2.py
@@ -188,7 +188,7 @@ DEFAULT_RELEASE_NIC_NFV_ATTRIBUTES = {
188 'sriov': { 188 'sriov': {
189 'numvfs': {'min': 1, 'type': 'number', 'value': None, 'nullable': True, 189 'numvfs': {'min': 1, 'type': 'number', 'value': None, 'nullable': True,
190 'weight': 20, 'label': 'Custom Number of Virtual Functions', 190 'weight': 20, 'label': 'Custom Number of Virtual Functions',
191 'restrictions': ['"nic_attributes:sriov.enabled.value == "' 191 'restrictions': ['nic_attributes:sriov.enabled.value == "'
192 'false"'] 192 'false"']
193 }, 193 },
194 'enabled': {'type': 'checkbox', 'value': False, 194 'enabled': {'type': 'checkbox', 'value': False,
diff --git a/nailgun/nailgun/test/unit/test_migration_fuel_9_2.py b/nailgun/nailgun/test/unit/test_migration_fuel_9_2.py
index 16f4cd3..0a1619a 100644
--- a/nailgun/nailgun/test/unit/test_migration_fuel_9_2.py
+++ b/nailgun/nailgun/test/unit/test_migration_fuel_9_2.py
@@ -98,7 +98,7 @@ DEFAULT_NIC_ATTRIBUTES = {
98 'sriov': { 98 'sriov': {
99 'numvfs': {'min': 1, 'type': 'number', 'value': None, 'nullable': True, 99 'numvfs': {'min': 1, 'type': 'number', 'value': None, 'nullable': True,
100 'weight': 20, 'label': 'Custom Number of Virtual Functions', 100 'weight': 20, 'label': 'Custom Number of Virtual Functions',
101 'restrictions': ['"nic_attributes:sriov.enabled.value == "' 101 'restrictions': ['nic_attributes:sriov.enabled.value == "'
102 'false"'] 102 'false"']
103 }, 103 },
104 'enabled': {'type': 'checkbox', 'value': False, 104 'enabled': {'type': 'checkbox', 'value': False,