mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[brightbox|compute] format fixes for tests
This commit is contained in:
parent
efcef8972b
commit
499e4bada6
1 changed files with 15 additions and 6 deletions
|
@ -110,7 +110,8 @@ class Brightbox
|
||||||
"description" => String,
|
"description" => String,
|
||||||
"source" => String,
|
"source" => String,
|
||||||
"status" => String,
|
"status" => String,
|
||||||
"owner" => String
|
"owner" => String,
|
||||||
|
"username" => Fog::Nullable::String,
|
||||||
}
|
}
|
||||||
|
|
||||||
INTERFACE = {
|
INTERFACE = {
|
||||||
|
@ -131,7 +132,8 @@ class Brightbox
|
||||||
"hostname" => String,
|
"hostname" => String,
|
||||||
"created_at" => String,
|
"created_at" => String,
|
||||||
"started_at" => Fog::Nullable::String,
|
"started_at" => Fog::Nullable::String,
|
||||||
"deleted_at" => Fog::Nullable::String
|
"deleted_at" => Fog::Nullable::String,
|
||||||
|
"username" => Fog::Nullable::String
|
||||||
}
|
}
|
||||||
|
|
||||||
SERVER_GROUP = {
|
SERVER_GROUP = {
|
||||||
|
@ -139,6 +141,7 @@ class Brightbox
|
||||||
"resource_type" => String,
|
"resource_type" => String,
|
||||||
"url" => String,
|
"url" => String,
|
||||||
"name" => String,
|
"name" => String,
|
||||||
|
"created_at" => String,
|
||||||
"default" => Fog::Boolean,
|
"default" => Fog::Boolean,
|
||||||
"description" => Fog::Nullable::String
|
"description" => Fog::Nullable::String
|
||||||
}
|
}
|
||||||
|
@ -237,7 +240,8 @@ class Brightbox
|
||||||
"compatibility_mode" => Fog::Boolean,
|
"compatibility_mode" => Fog::Boolean,
|
||||||
"virtual_size" => Integer,
|
"virtual_size" => Integer,
|
||||||
"disk_size" => Integer,
|
"disk_size" => Integer,
|
||||||
"ancestor" => Fog::Brightbox::Nullable::Image
|
"ancestor" => Fog::Brightbox::Nullable::Image,
|
||||||
|
"username" => Fog::Nullable::String
|
||||||
}
|
}
|
||||||
|
|
||||||
LOAD_BALANCER = {
|
LOAD_BALANCER = {
|
||||||
|
@ -271,10 +275,12 @@ class Brightbox
|
||||||
"server_groups" => [Brightbox::Compute::Formats::Nested::SERVER_GROUP],
|
"server_groups" => [Brightbox::Compute::Formats::Nested::SERVER_GROUP],
|
||||||
"snapshots" => [Brightbox::Compute::Formats::Nested::IMAGE],
|
"snapshots" => [Brightbox::Compute::Formats::Nested::IMAGE],
|
||||||
"interfaces" => [Brightbox::Compute::Formats::Nested::INTERFACE],
|
"interfaces" => [Brightbox::Compute::Formats::Nested::INTERFACE],
|
||||||
"zone" => Fog::Brightbox::Nullable::Zone
|
"zone" => Fog::Brightbox::Nullable::Zone,
|
||||||
|
"username" => Fog::Nullable::String
|
||||||
}
|
}
|
||||||
|
|
||||||
SERVER_GROUP = {
|
SERVER_GROUP = {
|
||||||
|
"created_at" => String,
|
||||||
"id" => String,
|
"id" => String,
|
||||||
"resource_type" => String,
|
"resource_type" => String,
|
||||||
"url" => String,
|
"url" => String,
|
||||||
|
@ -420,7 +426,8 @@ class Brightbox
|
||||||
"compatibility_mode" => Fog::Boolean,
|
"compatibility_mode" => Fog::Boolean,
|
||||||
"virtual_size" => Integer,
|
"virtual_size" => Integer,
|
||||||
"disk_size" => Integer,
|
"disk_size" => Integer,
|
||||||
"ancestor" => Fog::Brightbox::Nullable::Image
|
"ancestor" => Fog::Brightbox::Nullable::Image,
|
||||||
|
"username" => Fog::Nullable::String
|
||||||
}
|
}
|
||||||
|
|
||||||
INTERFACE = {
|
INTERFACE = {
|
||||||
|
@ -470,10 +477,12 @@ class Brightbox
|
||||||
"snapshots" => [Brightbox::Compute::Formats::Nested::IMAGE],
|
"snapshots" => [Brightbox::Compute::Formats::Nested::IMAGE],
|
||||||
"server_groups" => [Brightbox::Compute::Formats::Nested::SERVER_GROUP],
|
"server_groups" => [Brightbox::Compute::Formats::Nested::SERVER_GROUP],
|
||||||
"interfaces" => [Brightbox::Compute::Formats::Nested::INTERFACE],
|
"interfaces" => [Brightbox::Compute::Formats::Nested::INTERFACE],
|
||||||
"zone" => Brightbox::Compute::Formats::Nested::ZONE
|
"zone" => Brightbox::Compute::Formats::Nested::ZONE,
|
||||||
|
"username" => Fog::Nullable::String
|
||||||
}
|
}
|
||||||
|
|
||||||
SERVER_GROUP = {
|
SERVER_GROUP = {
|
||||||
|
"created_at" => String,
|
||||||
"id" => String,
|
"id" => String,
|
||||||
"resource_type" => String,
|
"resource_type" => String,
|
||||||
"url" => String,
|
"url" => String,
|
||||||
|
|
Loading…
Add table
Reference in a new issue