Add Create Nano Flavor function 77/63077/2
authorSam Hague <shague@redhat.com>
Wed, 13 Sep 2017 04:28:54 +0000 (00:28 -0400)
committerJamo Luhrsen <jluhrsen@redhat.com>
Wed, 13 Sep 2017 16:27:51 +0000 (16:27 +0000)
Change-Id: I0a683a660cf2839169cd953006e93ad923bde3a0
Signed-off-by: Sam Hague <shague@redhat.com>
csit/libraries/OpenStackOperations.robot

index a0383affcee0740f83d462061071abe1e88129ad..8c680a9b33da22c6161bff87278ca3e597930fec 100644 (file)
@@ -290,6 +290,12 @@ Create Vm Instance With Port On Compute Node
     Log    ${output}
     Should Not Be True    ${rc}
 
+Create Nano Flavor
+    [Documentation]    Create a nano flavor
+    ${rc}    ${output}=    Run And Return Rc And Output    openstack flavor create m1.nano --id auto --ram 64 --disk 0 --vcpus 1
+    Log    ${output}
+    Should Not Be True    ${rc}
+
 Verify VM Is ACTIVE
     [Arguments]    ${vm_name}
     [Documentation]    Run these commands to check whether the created vm instance is active or not.