Class: Softlayer::Network::Tunnel::Module::Context
- Defined in:
- lib/softlayer/network/tunnel/module/context.rb,
lib/softlayer/network/tunnel/module/context/address.rb,
lib/softlayer/network/tunnel/module/context/address/translation.rb
Defined Under Namespace
Modules: Address Classes: Representer
Constant Summary collapse
- SERVICE =
'SoftLayer_Network_Tunnel_Module_Context'
Instance Attribute Summary collapse
-
#account ⇒ Object
Returns the value of attribute account.
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#active_transaction ⇒ Object
Returns the value of attribute active_transaction.
-
#address_translation_count ⇒ Object
Returns the value of attribute address_translation_count.
-
#address_translations ⇒ Object
Returns the value of attribute address_translations.
-
#advanced_configuration_flag ⇒ Object
Returns the value of attribute advanced_configuration_flag.
-
#all_available_service_subnet_count ⇒ Object
Returns the value of attribute all_available_service_subnet_count.
-
#all_available_service_subnets ⇒ Object
Returns the value of attribute all_available_service_subnets.
-
#billing_item ⇒ Object
Returns the value of attribute billing_item.
-
#create_date ⇒ Object
Returns the value of attribute create_date.
-
#customer_peer_ip_address ⇒ Object
Returns the value of attribute customer_peer_ip_address.
-
#customer_subnet_count ⇒ Object
Returns the value of attribute customer_subnet_count.
-
#customer_subnets ⇒ Object
Returns the value of attribute customer_subnets.
-
#datacenter ⇒ Object
Returns the value of attribute datacenter.
-
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#internal_peer_ip_address ⇒ Object
Returns the value of attribute internal_peer_ip_address.
-
#internal_subnet_count ⇒ Object
Returns the value of attribute internal_subnet_count.
-
#internal_subnets ⇒ Object
Returns the value of attribute internal_subnets.
-
#modify_date ⇒ Object
Returns the value of attribute modify_date.
-
#name ⇒ Object
Returns the value of attribute name.
-
#phase_one_authentication ⇒ Object
Returns the value of attribute phase_one_authentication.
-
#phase_one_diffie_hellman_group ⇒ Object
Returns the value of attribute phase_one_diffie_hellman_group.
-
#phase_one_encryption ⇒ Object
Returns the value of attribute phase_one_encryption.
-
#phase_one_keylife ⇒ Object
Returns the value of attribute phase_one_keylife.
-
#phase_two_authentication ⇒ Object
Returns the value of attribute phase_two_authentication.
-
#phase_two_diffie_hellman_group ⇒ Object
Returns the value of attribute phase_two_diffie_hellman_group.
-
#phase_two_encryption ⇒ Object
Returns the value of attribute phase_two_encryption.
-
#phase_two_keylife ⇒ Object
Returns the value of attribute phase_two_keylife.
-
#phase_two_perfect_forward_secrecy ⇒ Object
Returns the value of attribute phase_two_perfect_forward_secrecy.
-
#preshared_key ⇒ Object
Returns the value of attribute preshared_key.
-
#service_subnet_count ⇒ Object
Returns the value of attribute service_subnet_count.
-
#service_subnets ⇒ Object
Returns the value of attribute service_subnets.
-
#static_route_subnet_count ⇒ Object
Returns the value of attribute static_route_subnet_count.
-
#static_route_subnets ⇒ Object
Returns the value of attribute static_route_subnets.
-
#transaction_history ⇒ Object
Returns the value of attribute transaction_history.
-
#transaction_history_count ⇒ Object
Returns the value of attribute transaction_history_count.
Class Method Summary collapse
- .get_authentication_default ⇒ Object
- .get_authentication_options ⇒ Object
- .get_diffie_hellman_group_default ⇒ Object
- .get_diffie_hellman_group_options ⇒ Object
- .get_encryption_default ⇒ Object
- .get_encryption_options ⇒ Object
- .get_keylife_limits ⇒ Object
- .get_phase_one_keylife_default ⇒ Object
- .get_phase_two_keylife_default ⇒ Object
Instance Method Summary collapse
-
#add_customer_subnet_to_network_tunnel(message) ⇒ Object
subnet_id.
-
#add_private_subnet_to_network_tunnel(message) ⇒ Object
subnet_id.
-
#add_service_subnet_to_network_tunnel(message) ⇒ Object
subnet_id.
- #apply_configurations_to_device ⇒ Object
-
#create_address_translation(message) ⇒ Object
translation.
-
#create_address_translations(message) ⇒ Object
translations.
-
#delete_address_translation(message) ⇒ Object
translation_id.
- #download_address_translation_configurations ⇒ Object
- #download_parameter_configurations ⇒ Object
-
#edit_address_translation(message) ⇒ Object
translation.
-
#edit_address_translations(message) ⇒ Object
translations.
-
#edit_object(message) ⇒ Object
template_object.
- #get_account ⇒ Object
- #get_active_transaction ⇒ Object
- #get_address_translation_configurations ⇒ Object
- #get_address_translations ⇒ Object
- #get_all_available_service_subnets ⇒ Object
- #get_billing_item ⇒ Object
- #get_customer_subnets ⇒ Object
- #get_datacenter ⇒ Object
- #get_internal_subnets ⇒ Object
- #get_object ⇒ Object
- #get_parameter_configurations_for_customer_view ⇒ Object
- #get_service_subnets ⇒ Object
- #get_static_route_subnets ⇒ Object
- #get_transaction_history ⇒ Object
-
#remove_customer_subnet_from_network_tunnel(message) ⇒ Object
subnet_id.
-
#remove_private_subnet_from_network_tunnel(message) ⇒ Object
subnet_id.
-
#remove_service_subnet_from_network_tunnel(message) ⇒ Object
subnet_id.
Methods inherited from Model
all, all_request_for, create, find, #init_headers, parse, process_message, #request, request, service_name, #service_name, #to_hash, #to_softlayer
Methods included from Model::Operations
extended, #filter, included, #limit, #mask, #request_headers
Instance Attribute Details
#account ⇒ Object
Returns the value of attribute account.
34 35 36 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 34 def account @account end |
#account_id ⇒ Object
Returns the value of attribute account_id.
8 9 10 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 8 def account_id @account_id end |
#active_transaction ⇒ Object
Returns the value of attribute active_transaction.
35 36 37 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 35 def active_transaction @active_transaction end |
#address_translation_count ⇒ Object
Returns the value of attribute address_translation_count.
27 28 29 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 27 def address_translation_count @address_translation_count end |
#address_translations ⇒ Object
Returns the value of attribute address_translations.
36 37 38 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 36 def address_translations @address_translations end |
#advanced_configuration_flag ⇒ Object
Returns the value of attribute advanced_configuration_flag.
9 10 11 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 9 def advanced_configuration_flag @advanced_configuration_flag end |
#all_available_service_subnet_count ⇒ Object
Returns the value of attribute all_available_service_subnet_count.
28 29 30 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 28 def all_available_service_subnet_count @all_available_service_subnet_count end |
#all_available_service_subnets ⇒ Object
Returns the value of attribute all_available_service_subnets.
37 38 39 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 37 def all_available_service_subnets @all_available_service_subnets end |
#billing_item ⇒ Object
Returns the value of attribute billing_item.
38 39 40 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 38 def billing_item @billing_item end |
#create_date ⇒ Object
Returns the value of attribute create_date.
10 11 12 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 10 def create_date @create_date end |
#customer_peer_ip_address ⇒ Object
Returns the value of attribute customer_peer_ip_address.
11 12 13 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 11 def customer_peer_ip_address @customer_peer_ip_address end |
#customer_subnet_count ⇒ Object
Returns the value of attribute customer_subnet_count.
29 30 31 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 29 def customer_subnet_count @customer_subnet_count end |
#customer_subnets ⇒ Object
Returns the value of attribute customer_subnets.
39 40 41 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 39 def customer_subnets @customer_subnets end |
#datacenter ⇒ Object
Returns the value of attribute datacenter.
40 41 42 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 40 def datacenter @datacenter end |
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
12 13 14 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 12 def friendly_name @friendly_name end |
#id ⇒ Object
Returns the value of attribute id.
13 14 15 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 13 def id @id end |
#internal_peer_ip_address ⇒ Object
Returns the value of attribute internal_peer_ip_address.
14 15 16 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 14 def internal_peer_ip_address @internal_peer_ip_address end |
#internal_subnet_count ⇒ Object
Returns the value of attribute internal_subnet_count.
30 31 32 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 30 def internal_subnet_count @internal_subnet_count end |
#internal_subnets ⇒ Object
Returns the value of attribute internal_subnets.
41 42 43 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 41 def internal_subnets @internal_subnets end |
#modify_date ⇒ Object
Returns the value of attribute modify_date.
15 16 17 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 15 def modify_date @modify_date end |
#name ⇒ Object
Returns the value of attribute name.
16 17 18 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 16 def name @name end |
#phase_one_authentication ⇒ Object
Returns the value of attribute phase_one_authentication.
17 18 19 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 17 def phase_one_authentication @phase_one_authentication end |
#phase_one_diffie_hellman_group ⇒ Object
Returns the value of attribute phase_one_diffie_hellman_group.
18 19 20 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 18 def phase_one_diffie_hellman_group @phase_one_diffie_hellman_group end |
#phase_one_encryption ⇒ Object
Returns the value of attribute phase_one_encryption.
19 20 21 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 19 def phase_one_encryption @phase_one_encryption end |
#phase_one_keylife ⇒ Object
Returns the value of attribute phase_one_keylife.
20 21 22 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 20 def phase_one_keylife @phase_one_keylife end |
#phase_two_authentication ⇒ Object
Returns the value of attribute phase_two_authentication.
21 22 23 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 21 def phase_two_authentication @phase_two_authentication end |
#phase_two_diffie_hellman_group ⇒ Object
Returns the value of attribute phase_two_diffie_hellman_group.
22 23 24 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 22 def phase_two_diffie_hellman_group @phase_two_diffie_hellman_group end |
#phase_two_encryption ⇒ Object
Returns the value of attribute phase_two_encryption.
23 24 25 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 23 def phase_two_encryption @phase_two_encryption end |
#phase_two_keylife ⇒ Object
Returns the value of attribute phase_two_keylife.
24 25 26 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 24 def phase_two_keylife @phase_two_keylife end |
#phase_two_perfect_forward_secrecy ⇒ Object
Returns the value of attribute phase_two_perfect_forward_secrecy.
25 26 27 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 25 def phase_two_perfect_forward_secrecy @phase_two_perfect_forward_secrecy end |
#preshared_key ⇒ Object
Returns the value of attribute preshared_key.
26 27 28 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 26 def preshared_key @preshared_key end |
#service_subnet_count ⇒ Object
Returns the value of attribute service_subnet_count.
31 32 33 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 31 def service_subnet_count @service_subnet_count end |
#service_subnets ⇒ Object
Returns the value of attribute service_subnets.
42 43 44 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 42 def service_subnets @service_subnets end |
#static_route_subnet_count ⇒ Object
Returns the value of attribute static_route_subnet_count.
32 33 34 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 32 def static_route_subnet_count @static_route_subnet_count end |
#static_route_subnets ⇒ Object
Returns the value of attribute static_route_subnets.
43 44 45 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 43 def static_route_subnets @static_route_subnets end |
#transaction_history ⇒ Object
Returns the value of attribute transaction_history.
44 45 46 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 44 def transaction_history @transaction_history end |
#transaction_history_count ⇒ Object
Returns the value of attribute transaction_history_count.
33 34 35 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 33 def transaction_history_count @transaction_history_count end |
Class Method Details
.get_authentication_default ⇒ Object
123 124 125 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 123 def self.get_authentication_default request(:get_authentication_default, String) end |
.get_authentication_options ⇒ Object
127 128 129 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 127 def self. request(:get_authentication_options, Array[String]) end |
.get_diffie_hellman_group_default ⇒ Object
143 144 145 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 143 def self.get_diffie_hellman_group_default request(:get_diffie_hellman_group_default, Integer) end |
.get_diffie_hellman_group_options ⇒ Object
147 148 149 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 147 def self. request(:get_diffie_hellman_group_options, Array[Integer]) end |
.get_encryption_default ⇒ Object
151 152 153 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 151 def self.get_encryption_default request(:get_encryption_default, String) end |
.get_encryption_options ⇒ Object
155 156 157 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 155 def self. request(:get_encryption_options, Array[String]) end |
.get_keylife_limits ⇒ Object
163 164 165 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 163 def self.get_keylife_limits request(:get_keylife_limits, Array[Integer]) end |
.get_phase_one_keylife_default ⇒ Object
175 176 177 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 175 def self.get_phase_one_keylife_default request(:get_phase_one_keylife_default, String) end |
.get_phase_two_keylife_default ⇒ Object
179 180 181 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 179 def self.get_phase_two_keylife_default request(:get_phase_two_keylife_default, String) end |
Instance Method Details
#add_customer_subnet_to_network_tunnel(message) ⇒ Object
subnet_id
47 48 49 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 47 def add_customer_subnet_to_network_tunnel() request(:add_customer_subnet_to_network_tunnel, Boolean, ) end |
#add_private_subnet_to_network_tunnel(message) ⇒ Object
subnet_id
52 53 54 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 52 def add_private_subnet_to_network_tunnel() request(:add_private_subnet_to_network_tunnel, Boolean, ) end |
#add_service_subnet_to_network_tunnel(message) ⇒ Object
subnet_id
57 58 59 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 57 def add_service_subnet_to_network_tunnel() request(:add_service_subnet_to_network_tunnel, Boolean, ) end |
#apply_configurations_to_device ⇒ Object
61 62 63 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 61 def apply_configurations_to_device request(:apply_configurations_to_device, Boolean) end |
#create_address_translation(message) ⇒ Object
translation
66 67 68 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 66 def create_address_translation() request(:create_address_translation, Softlayer::Network::Tunnel::Module::Context::Address::Translation, ) end |
#create_address_translations(message) ⇒ Object
translations
71 72 73 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 71 def create_address_translations() request(:create_address_translations, Array[Softlayer::Network::Tunnel::Module::Context::Address::Translation], ) end |
#delete_address_translation(message) ⇒ Object
translation_id
76 77 78 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 76 def delete_address_translation() request(:delete_address_translation, Boolean, ) end |
#download_address_translation_configurations ⇒ Object
80 81 82 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 80 def download_address_translation_configurations request(:download_address_translation_configurations, Softlayer::Container::Utility::File::Entity) end |
#download_parameter_configurations ⇒ Object
84 85 86 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 84 def download_parameter_configurations request(:download_parameter_configurations, Softlayer::Container::Utility::File::Entity) end |
#edit_address_translation(message) ⇒ Object
translation
89 90 91 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 89 def edit_address_translation() request(:edit_address_translation, Softlayer::Network::Tunnel::Module::Context::Address::Translation, ) end |
#edit_address_translations(message) ⇒ Object
translations
94 95 96 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 94 def edit_address_translations() request(:edit_address_translations, Array[Softlayer::Network::Tunnel::Module::Context::Address::Translation], ) end |
#edit_object(message) ⇒ Object
template_object
99 100 101 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 99 def edit_object() request(:edit_object, Boolean, ) end |
#get_account ⇒ Object
103 104 105 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 103 def get_account request(:get_account, Softlayer::Account) end |
#get_active_transaction ⇒ Object
107 108 109 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 107 def get_active_transaction request(:get_active_transaction, Softlayer::Provisioning::Version1::Transaction) end |
#get_address_translation_configurations ⇒ Object
111 112 113 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 111 def get_address_translation_configurations request(:get_address_translation_configurations, String) end |
#get_address_translations ⇒ Object
115 116 117 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 115 def get_address_translations request(:get_address_translations, Array[Softlayer::Network::Tunnel::Module::Context::Address::Translation]) end |
#get_all_available_service_subnets ⇒ Object
119 120 121 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 119 def get_all_available_service_subnets request(:get_all_available_service_subnets, Array[Softlayer::Network::Subnet]) end |
#get_billing_item ⇒ Object
131 132 133 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 131 def get_billing_item request(:get_billing_item, Softlayer::Billing::Item) end |
#get_customer_subnets ⇒ Object
135 136 137 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 135 def get_customer_subnets request(:get_customer_subnets, Array[Softlayer::Network::Customer::Subnet]) end |
#get_datacenter ⇒ Object
139 140 141 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 139 def get_datacenter request(:get_datacenter, Softlayer::Location) end |
#get_internal_subnets ⇒ Object
159 160 161 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 159 def get_internal_subnets request(:get_internal_subnets, Array[Softlayer::Network::Subnet]) end |
#get_object ⇒ Object
167 168 169 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 167 def get_object request(:get_object, Softlayer::Network::Tunnel::Module::Context) end |
#get_parameter_configurations_for_customer_view ⇒ Object
171 172 173 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 171 def get_parameter_configurations_for_customer_view request(:get_parameter_configurations_for_customer_view, String) end |
#get_service_subnets ⇒ Object
183 184 185 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 183 def get_service_subnets request(:get_service_subnets, Array[Softlayer::Network::Subnet]) end |
#get_static_route_subnets ⇒ Object
187 188 189 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 187 def get_static_route_subnets request(:get_static_route_subnets, Array[Softlayer::Network::Subnet]) end |
#get_transaction_history ⇒ Object
191 192 193 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 191 def get_transaction_history request(:get_transaction_history, Array[Softlayer::Provisioning::Version1::Transaction]) end |
#remove_customer_subnet_from_network_tunnel(message) ⇒ Object
subnet_id
196 197 198 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 196 def remove_customer_subnet_from_network_tunnel() request(:remove_customer_subnet_from_network_tunnel, Boolean, ) end |
#remove_private_subnet_from_network_tunnel(message) ⇒ Object
subnet_id
201 202 203 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 201 def remove_private_subnet_from_network_tunnel() request(:remove_private_subnet_from_network_tunnel, Boolean, ) end |
#remove_service_subnet_from_network_tunnel(message) ⇒ Object
subnet_id
206 207 208 |
# File 'lib/softlayer/network/tunnel/module/context.rb', line 206 def remove_service_subnet_from_network_tunnel() request(:remove_service_subnet_from_network_tunnel, Boolean, ) end |