diff --git a/SoftLayer/CLI/virt/create_options.py b/SoftLayer/CLI/virt/create_options.py index a4bfca45b..7bacd8bf0 100644 --- a/SoftLayer/CLI/virt/create_options.py +++ b/SoftLayer/CLI/virt/create_options.py @@ -51,6 +51,7 @@ def _add_flavor_rows(flavor_key, flavor_label, flavor_options): _add_flavor_rows('BL2', 'balanced local - ssd', result['flavors']) _add_flavor_rows('C1', 'compute', result['flavors']) _add_flavor_rows('M1', 'memory', result['flavors']) + _add_flavor_rows('AC', 'GPU', result['flavors']) # CPUs standard_cpus = [int(x['template']['startCpus']) for x in result['processors'] diff --git a/SoftLayer/fixtures/SoftLayer_Virtual_Guest.py b/SoftLayer/fixtures/SoftLayer_Virtual_Guest.py index 83ddcb15e..776db8778 100644 --- a/SoftLayer/fixtures/SoftLayer_Virtual_Guest.py +++ b/SoftLayer/fixtures/SoftLayer_Virtual_Guest.py @@ -121,6 +121,26 @@ } } }, + { + 'flavor': { + 'keyName': 'AC1_1X2X100' + }, + 'template': { + 'supplementalCreateObjectOptions': { + 'flavorKeyName': 'AC1_1X2X100' + } + } + }, + { + 'flavor': { + 'keyName': 'ACL1_1X2X100' + }, + 'template': { + 'supplementalCreateObjectOptions': { + 'flavorKeyName': 'ACL1_1X2X100' + } + } + }, ], 'processors': [ { diff --git a/tests/CLI/modules/vs_tests.py b/tests/CLI/modules/vs_tests.py index e9b8cf46c..6bdb36635 100644 --- a/tests/CLI/modules/vs_tests.py +++ b/tests/CLI/modules/vs_tests.py @@ -123,6 +123,7 @@ def test_create_options(self): 'flavors (balanced local - ssd)': ['BL2_1X2X100'], 'flavors (compute)': ['C1_1X2X25'], 'flavors (memory)': ['M1_1X2X100'], + 'flavors (GPU)': ['AC1_1X2X100', 'ACL1_1X2X100'], 'local disk(0)': ['25', '100'], 'memory': [1024, 2048, 3072, 4096], 'memory (dedicated host)': [8192, 65536],