network to params
This commit is contained in:
parent
7ebceaa8ec
commit
d053ffea0f
@ -6,10 +6,12 @@ require 'test/unit'
|
|||||||
require 'rack/test'
|
require 'rack/test'
|
||||||
require "json"
|
require "json"
|
||||||
|
|
||||||
|
=begin
|
||||||
USERNAME = '<username>'
|
USERNAME = '<username>'
|
||||||
PASSWORD = '<password>'
|
PASSWORD = '<password>'
|
||||||
HOST = '<host>'
|
HOST = '<host>'
|
||||||
PORT = 7070
|
PORT = 7070
|
||||||
|
=end
|
||||||
|
|
||||||
class MyWorld
|
class MyWorld
|
||||||
|
|
||||||
|
|||||||
@ -10,6 +10,7 @@ password_without_privileges: "test"
|
|||||||
openstack:
|
openstack:
|
||||||
flavor: "as_long_as_image"
|
flavor: "as_long_as_image"
|
||||||
image: "08093b30-8393-42c3-8fb3-c4df56deb967"
|
image: "08093b30-8393-42c3-8fb3-c4df56deb967"
|
||||||
|
subnet: "subnet"
|
||||||
project:
|
project:
|
||||||
name: "test_openstack"
|
name: "test_openstack"
|
||||||
env: "test"
|
env: "test"
|
||||||
@ -17,6 +18,7 @@ openstack:
|
|||||||
ec2:
|
ec2:
|
||||||
flavor: "m1.small"
|
flavor: "m1.small"
|
||||||
image: "ami-63071b0a"
|
image: "ami-63071b0a"
|
||||||
|
subnet: "subnet"
|
||||||
project:
|
project:
|
||||||
name: "test_ec2"
|
name: "test_ec2"
|
||||||
env: "test"
|
env: "test"
|
||||||
|
|||||||
@ -18,7 +18,7 @@ Feature: create project
|
|||||||
"flavor": "<%= @config["openstack"]["flavor"] %>",
|
"flavor": "<%= @config["openstack"]["flavor"] %>",
|
||||||
"image": "<%= @config["openstack"]["image"] %>",
|
"image": "<%= @config["openstack"]["image"] %>",
|
||||||
"subnets": [
|
"subnets": [
|
||||||
"private"
|
"<%= @config["openstack"]["subnet"] %>"
|
||||||
],
|
],
|
||||||
"groups": [
|
"groups": [
|
||||||
"default"
|
"default"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user