mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
38 lines
882 B
Ruby
38 lines
882 B
Ruby
class Bluebox
|
|
module BLB
|
|
module Formats
|
|
LB_APPLICATION = {
|
|
'id' => String,
|
|
'ip_v4' => String,
|
|
'ip_v6' => String,
|
|
'name' => String,
|
|
'lb_services' => Array,
|
|
'source_ip_v4' => Fog::Nullable::String,
|
|
}
|
|
|
|
LB_APPLICATIONS = [LB_APPLICATION]
|
|
|
|
LB_SERVICE = {
|
|
'name' => String,
|
|
'port' => Integer,
|
|
'private' => Fog::Boolean,
|
|
'status_username' => String,
|
|
'status_password' => String,
|
|
'status_url' => String,
|
|
'service_type' => String,
|
|
'created' => DateTime,
|
|
'lb_backends' => Array,
|
|
'pem_file_uploaded?' => Fog::Nullable::Boolean,
|
|
}
|
|
|
|
LB_SERVICES = [LB_SERVICE]
|
|
|
|
ADD_MACHINE_TO_LB = {
|
|
'status' => String,
|
|
'text' => String,
|
|
}
|
|
|
|
REMOVE_MACHINE_FROM_BACKEND = 'Record Removed.'
|
|
end
|
|
end
|
|
end
|