Change-Id: I11e1880bbda242961b0361228b0e32616fcde8a9
Signed-off-by: mpany <madhusmita.p@altencalsoftlabs.com>
BuiltIn.Log ${flow_dump}
: FOR ${table} IN @{DEFAULT_FLOW_TABLES}
\ Builtin.Should Match Regexp ${flow_dump} .*table=${table}.*priority=0
+
+Get Project Id
+ [Arguments] ${project_name}
+ [Documentation] Returns project ID for the given project name.
+ ${project_id} = OpenStack CLI openstack project show ${project_name} -f value -c id
+ [Return] ${project_id}
+
+Set Instance Quota For Project
+ [Arguments] ${num_instances} ${project_id}
+ [Documentation] Set quota for the created instances using the specific project id.
+ ${output} = OpenStack CLI openstack quota set --instances ${num_instances} ${project_id}
+ [Return] ${output}