Class: Softlayer::Hardware::Router

Inherits:
Switch show all
Defined in:
lib/softlayer/hardware/router.rb,
lib/softlayer/hardware/router/backend.rb,
lib/softlayer/hardware/router/frontend.rb

Direct Known Subclasses

Backend, Frontend

Defined Under Namespace

Classes: Backend, Frontend, Representer

Constant Summary collapse

SERVICE =
'SoftLayer_Hardware_Router'

Instance Attribute Summary collapse

Attributes inherited from Softlayer::Hardware

#account, #account_id, #active_component_count, #active_components, #active_network_monitor_incident, #active_network_monitor_incident_count, #all_power_component_count, #all_power_components, #allowed_host, #allowed_network_storage, #allowed_network_storage_count, #allowed_network_storage_replica_count, #allowed_network_storage_replicas, #antivirus_spyware_software_component, #attribute_count, #attributes, #average_daily_public_bandwidth_usage, #backend_network_component_count, #backend_network_components, #backend_router_count, #backend_routers, #bandwidth_allocation, #bandwidth_allotment_detail, #bare_metal_instance_flag, #benchmark_certification_count, #benchmark_certifications, #billing_item, #billing_item_flag, #block_cancel_because_disconnected_flag, #business_continuance_insurance_flag, #component_count, #components, #continuous_data_protection_software_component, #current_billable_bandwidth_usage, #datacenter, #datacenter_name, #domain, #downlink_hardware, #downlink_hardware_count, #downlink_network_hardware, #downlink_network_hardware_count, #downlink_server_count, #downlink_servers, #downlink_virtual_guest_count, #downlink_virtual_guests, #downstream_hardware_binding_count, #downstream_hardware_bindings, #downstream_network_hardware, #downstream_network_hardware_count, #downstream_network_hardware_with_incident_count, #downstream_network_hardware_with_incidents, #downstream_server_count, #downstream_servers, #downstream_virtual_guest_count, #downstream_virtual_guests, #drive_controller_count, #drive_controllers, #evault_network_storage, #evault_network_storage_count, #firewall_service_component, #fixed_configuration_preset, #frontend_network_component_count, #frontend_network_components, #frontend_router_count, #frontend_routers, #fully_qualified_domain_name, #global_identifier, #hard_drive_count, #hard_drives, #hardware_chassis, #hardware_function, #hardware_function_description, #hardware_status, #hardware_status_id, #has_trusted_platform_module_billing_item_flag, #host_ips_software_component, #hostname, #hourly_billing_flag, #id, #inbound_bandwidth_usage, #inbound_public_bandwidth_usage, #last_transaction, #latest_network_monitor_incident, #location, #location_path_string, #lockbox_network_storage, #managed_resource_flag, #manufacturer_serial_number, #memory, #memory_capacity, #memory_count, #metric_tracking_object, #monitoring_agent_count, #monitoring_agents, #monitoring_robot, #monitoring_service_component, #monitoring_service_eligibility_flag, #monitoring_service_flag, #motherboard, #network_card_count, #network_cards, #network_component_count, #network_components, #network_gateway_member, #network_gateway_member_flag, #network_management_ip_address, #network_monitor_attached_down_hardware, #network_monitor_attached_down_hardware_count, #network_monitor_attached_down_virtual_guest_count, #network_monitor_attached_down_virtual_guests, #network_monitor_count, #network_monitor_incident_count, #network_monitor_incidents, #network_monitors, #network_status, #network_status_attribute, #network_storage, #network_storage_count, #network_vlan_count, #network_vlans, #next_billing_cycle_bandwidth_allocation, #notes, #notes_history, #notes_history_count, #operating_system, #operating_system_reference_code, #outbound_bandwidth_usage, #outbound_public_bandwidth_usage, #point_of_presence_location, #post_install_script_uri, #power_component_count, #power_components, #power_supply, #power_supply_count, #primary_backend_ip_address, #primary_backend_network_component, #primary_ip_address, #primary_network_component, #private_network_only_flag, #processor_core_amount, #processor_count, #processor_physical_core_amount, #processors, #provision_date, #rack, #raid_controller_count, #raid_controllers, #recent_event_count, #recent_events, #remote_management_account_count, #remote_management_accounts, #remote_management_component, #resource_group_count, #resource_group_member_reference_count, #resource_group_member_references, #resource_group_role_count, #resource_group_roles, #resource_groups, #router_count, #routers, #scale_asset_count, #scale_assets, #security_scan_request_count, #security_scan_requests, #serial_number, #server_room, #service_provider, #service_provider_id, #service_provider_resource_id, #software_component_count, #software_components, #spare_pool_billing_item, #ssh_key_count, #ssh_keys, #storage_network_component_count, #storage_network_components, #tag_reference_count, #tag_references, #top_level_location, #upgrade_request, #uplink_hardware, #uplink_network_component_count, #uplink_network_components, #user_data, #user_data_count, #virtual_chassis, #virtual_chassis_sibling_count, #virtual_chassis_siblings, #virtual_host, #virtual_license_count, #virtual_licenses, #virtual_rack, #virtual_rack_id, #virtual_rack_name, #virtualization_platform

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Softlayer::Hardware

#get_network_management_ip_address, #get_network_vlans, #get_primary_backend_ip_address, #get_primary_ip_address

Methods inherited from Model

all, all_request_for, create, find, #init_headers, parse, request, #request, service_name, #service_name, #to_hash

Methods included from Model::Operations

extended, #filter, included, #limit, #mask, #request_headers

Instance Attribute Details

#bound_subnet_countObject

Returns the value of attribute bound_subnet_count.



7
8
9
# File 'lib/softlayer/hardware/router.rb', line 7

def bound_subnet_count
  @bound_subnet_count
end

#bound_subnetsObject

Returns the value of attribute bound_subnets.



8
9
10
# File 'lib/softlayer/hardware/router.rb', line 8

def bound_subnets
  @bound_subnets
end

#local_disk_storage_capability_flagObject

Returns the value of attribute local_disk_storage_capability_flag.



9
10
11
# File 'lib/softlayer/hardware/router.rb', line 9

def local_disk_storage_capability_flag
  @local_disk_storage_capability_flag
end

#san_storage_capability_flagObject

Returns the value of attribute san_storage_capability_flag.



10
11
12
# File 'lib/softlayer/hardware/router.rb', line 10

def san_storage_capability_flag
  @san_storage_capability_flag
end

Class Method Details

.create_object(template_object = nil) ⇒ Object



32
33
34
35
# File 'lib/softlayer/hardware/router.rb', line 32

def self.create_object(template_object = nil)
  message = {template_object: template_object}
  request(:create_object, Softlayer::Hardware::Router, message)
end

.find_by_ip_address(ip_address = nil) ⇒ Object



56
57
58
59
# File 'lib/softlayer/hardware/router.rb', line 56

def self.find_by_ip_address(ip_address = nil)
  message = {ip_address: ip_address}
  request(:find_by_ip_address, Softlayer::Hardware::Router, message)
end

.generate_order_template(template_object = nil) ⇒ Object



61
62
63
64
# File 'lib/softlayer/hardware/router.rb', line 61

def self.generate_order_template(template_object = nil)
  message = {template_object: template_object}
  request(:generate_order_template, Softlayer::Container::Product::Order, message)
end

.get_create_object_optionsObject



179
180
181
# File 'lib/softlayer/hardware/router.rb', line 179

def self.get_create_object_options
  request(:get_create_object_options, Softlayer::Container::Hardware::Configuration)
end

Instance Method Details

#allow_access_to_network_storage(network_storage_template_object = nil) ⇒ Object



12
13
14
15
# File 'lib/softlayer/hardware/router.rb', line 12

def allow_access_to_network_storage(network_storage_template_object = nil)
  message = {network_storage_template_object: network_storage_template_object}
  request(:allow_access_to_network_storage, Boolean, message)
end

#allow_access_to_network_storage_list(network_storage_template_objects = nil) ⇒ Object



17
18
19
20
# File 'lib/softlayer/hardware/router.rb', line 17

def allow_access_to_network_storage_list(network_storage_template_objects = nil)
  message = {network_storage_template_objects: network_storage_template_objects}
  request(:allow_access_to_network_storage_list, Boolean, message)
end

#capture_image(capture_template = nil) ⇒ Object



22
23
24
25
# File 'lib/softlayer/hardware/router.rb', line 22

def capture_image(capture_template = nil)
  message = {capture_template: capture_template}
  request(:capture_image, Softlayer::Virtual::Guest::Block::Device::Template::Group, message)
end

#close_alarm(alarm_id = nil) ⇒ Object



27
28
29
30
# File 'lib/softlayer/hardware/router.rb', line 27

def close_alarm(alarm_id = nil)
  message = {alarm_id: alarm_id}
  request(:close_alarm, Boolean, message)
end

#delete_objectObject



37
38
39
# File 'lib/softlayer/hardware/router.rb', line 37

def delete_object
  request(:delete_object, Boolean)
end

#delete_software_component_passwords(software_component_passwords = nil) ⇒ Object



41
42
43
44
# File 'lib/softlayer/hardware/router.rb', line 41

def delete_software_component_passwords(software_component_passwords = nil)
  message = {software_component_passwords: software_component_passwords}
  request(:delete_software_component_passwords, Boolean, message)
end

#edit_software_component_passwords(software_component_passwords = nil) ⇒ Object



46
47
48
49
# File 'lib/softlayer/hardware/router.rb', line 46

def edit_software_component_passwords(software_component_passwords = nil)
  message = {software_component_passwords: software_component_passwords}
  request(:edit_software_component_passwords, Boolean, message)
end

#execute_remote_script(uri = nil) ⇒ Object



51
52
53
54
# File 'lib/softlayer/hardware/router.rb', line 51

def execute_remote_script(uri = nil)
  message = {uri: uri}
  request(:execute_remote_script, nil, message)
end

#get_accountObject



66
67
68
# File 'lib/softlayer/hardware/router.rb', line 66

def 
  request(:get_account, Softlayer::Account)
end

#get_active_componentsObject



70
71
72
# File 'lib/softlayer/hardware/router.rb', line 70

def get_active_components
  request(:get_active_components, Array[Softlayer::Hardware::Component])
end

#get_active_network_monitor_incidentObject



74
75
76
# File 'lib/softlayer/hardware/router.rb', line 74

def get_active_network_monitor_incident
  request(:get_active_network_monitor_incident, Array[Softlayer::Network::Monitor::Version1::Incident])
end

#get_alarm_history(start_date = nil, end_date = nil, alarm_id = nil) ⇒ Object



78
79
80
81
# File 'lib/softlayer/hardware/router.rb', line 78

def get_alarm_history(start_date = nil, end_date = nil, alarm_id = nil)
  message = {start_date: start_date, end_date: end_date, alarm_id: alarm_id}
  request(:get_alarm_history, Array[Softlayer::Container::Monitoring::Alarm::History], message)
end

#get_all_power_componentsObject



83
84
85
# File 'lib/softlayer/hardware/router.rb', line 83

def get_all_power_components
  request(:get_all_power_components, Array[Softlayer::Hardware::Power::Component])
end

#get_allowed_hostObject



87
88
89
# File 'lib/softlayer/hardware/router.rb', line 87

def get_allowed_host
  request(:get_allowed_host, Softlayer::Network::Storage::Allowed::Host)
end

#get_allowed_network_storageObject



91
92
93
# File 'lib/softlayer/hardware/router.rb', line 91

def get_allowed_network_storage
  request(:get_allowed_network_storage, Array[Softlayer::Network::Storage])
end

#get_allowed_network_storage_replicasObject



95
96
97
# File 'lib/softlayer/hardware/router.rb', line 95

def get_allowed_network_storage_replicas
  request(:get_allowed_network_storage_replicas, Array[Softlayer::Network::Storage])
end

#get_antivirus_spyware_software_componentObject



99
100
101
# File 'lib/softlayer/hardware/router.rb', line 99

def get_antivirus_spyware_software_component
  request(:get_antivirus_spyware_software_component, Softlayer::Software::Component)
end

#get_attached_network_storages(nas_type = nil) ⇒ Object



103
104
105
106
# File 'lib/softlayer/hardware/router.rb', line 103

def get_attached_network_storages(nas_type = nil)
  message = {nas_type: nas_type}
  request(:get_attached_network_storages, Array[Softlayer::Network::Storage], message)
end

#get_attributesObject



108
109
110
# File 'lib/softlayer/hardware/router.rb', line 108

def get_attributes
  request(:get_attributes, Array[Softlayer::Hardware::Attribute])
end

#get_available_network_storages(nas_type = nil) ⇒ Object



112
113
114
115
# File 'lib/softlayer/hardware/router.rb', line 112

def get_available_network_storages(nas_type = nil)
  message = {nas_type: nas_type}
  request(:get_available_network_storages, Array[Softlayer::Network::Storage], message)
end

#get_average_daily_public_bandwidth_usageObject



117
118
119
# File 'lib/softlayer/hardware/router.rb', line 117

def get_average_daily_public_bandwidth_usage
  request(:get_average_daily_public_bandwidth_usage, Float)
end

#get_backend_incoming_bandwidth(start_date = nil, end_date = nil) ⇒ Object



121
122
123
124
# File 'lib/softlayer/hardware/router.rb', line 121

def get_backend_incoming_bandwidth(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_backend_incoming_bandwidth, Float, message)
end

#get_backend_network_componentsObject



126
127
128
# File 'lib/softlayer/hardware/router.rb', line 126

def get_backend_network_components
  request(:get_backend_network_components, Array[Softlayer::Network::Component])
end

#get_backend_outgoing_bandwidth(start_date = nil, end_date = nil) ⇒ Object



130
131
132
133
# File 'lib/softlayer/hardware/router.rb', line 130

def get_backend_outgoing_bandwidth(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_backend_outgoing_bandwidth, Float, message)
end

#get_backend_routersObject



135
136
137
# File 'lib/softlayer/hardware/router.rb', line 135

def get_backend_routers
  request(:get_backend_routers, Array[Softlayer::Hardware])
end

#get_bandwidth_allocationObject



139
140
141
# File 'lib/softlayer/hardware/router.rb', line 139

def get_bandwidth_allocation
  request(:get_bandwidth_allocation, Float)
end

#get_bandwidth_allotment_detailObject



143
144
145
# File 'lib/softlayer/hardware/router.rb', line 143

def get_bandwidth_allotment_detail
  request(:get_bandwidth_allotment_detail, Softlayer::Network::Bandwidth::Version1::Allotment::Detail)
end

#get_benchmark_certificationsObject



147
148
149
# File 'lib/softlayer/hardware/router.rb', line 147

def get_benchmark_certifications
  request(:get_benchmark_certifications, Array[Softlayer::Hardware::Benchmark::Certification])
end

#get_billing_itemObject



151
152
153
# File 'lib/softlayer/hardware/router.rb', line 151

def get_billing_item
  request(:get_billing_item, Softlayer::Billing::Item::Hardware)
end

#get_billing_item_flagObject



155
156
157
# File 'lib/softlayer/hardware/router.rb', line 155

def get_billing_item_flag
  request(:get_billing_item_flag, Boolean)
end

#get_block_cancel_because_disconnected_flagObject



159
160
161
# File 'lib/softlayer/hardware/router.rb', line 159

def get_block_cancel_because_disconnected_flag
  request(:get_block_cancel_because_disconnected_flag, Boolean)
end

#get_bound_subnetsObject



163
164
165
# File 'lib/softlayer/hardware/router.rb', line 163

def get_bound_subnets
  request(:get_bound_subnets, Array[Softlayer::Network::Subnet])
end

#get_business_continuance_insurance_flagObject



167
168
169
# File 'lib/softlayer/hardware/router.rb', line 167

def get_business_continuance_insurance_flag
  request(:get_business_continuance_insurance_flag, Boolean)
end

#get_componentsObject



171
172
173
# File 'lib/softlayer/hardware/router.rb', line 171

def get_components
  request(:get_components, Array[Softlayer::Hardware::Component])
end

#get_continuous_data_protection_software_componentObject



175
176
177
# File 'lib/softlayer/hardware/router.rb', line 175

def get_continuous_data_protection_software_component
  request(:get_continuous_data_protection_software_component, Softlayer::Software::Component)
end

#get_current_billable_bandwidth_usageObject



183
184
185
# File 'lib/softlayer/hardware/router.rb', line 183

def get_current_billable_bandwidth_usage
  request(:get_current_billable_bandwidth_usage, Float)
end

#get_current_billing_detailObject



187
188
189
# File 'lib/softlayer/hardware/router.rb', line 187

def get_current_billing_detail
  request(:get_current_billing_detail, Array[Softlayer::Billing::Item])
end

#get_current_billing_totalObject



191
192
193
# File 'lib/softlayer/hardware/router.rb', line 191

def get_current_billing_total
  request(:get_current_billing_total, Float)
end

#get_daily_average(start_date = nil, end_date = nil) ⇒ Object



195
196
197
198
# File 'lib/softlayer/hardware/router.rb', line 195

def get_daily_average(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_daily_average, Float, message)
end

#get_datacenterObject



200
201
202
# File 'lib/softlayer/hardware/router.rb', line 200

def get_datacenter
  request(:get_datacenter, Softlayer::Location)
end

#get_datacenter_nameObject



204
205
206
# File 'lib/softlayer/hardware/router.rb', line 204

def get_datacenter_name
  request(:get_datacenter_name, String)
end


208
209
210
# File 'lib/softlayer/hardware/router.rb', line 208

def get_downlink_hardware
  request(:get_downlink_hardware, Array[Softlayer::Hardware])
end


212
213
214
# File 'lib/softlayer/hardware/router.rb', line 212

def get_downlink_network_hardware
  request(:get_downlink_network_hardware, Array[Softlayer::Hardware])
end


216
217
218
# File 'lib/softlayer/hardware/router.rb', line 216

def get_downlink_servers
  request(:get_downlink_servers, Array[Softlayer::Hardware])
end


220
221
222
# File 'lib/softlayer/hardware/router.rb', line 220

def get_downlink_virtual_guests
  request(:get_downlink_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_downstream_hardware_bindingsObject



224
225
226
# File 'lib/softlayer/hardware/router.rb', line 224

def get_downstream_hardware_bindings
  request(:get_downstream_hardware_bindings, Array[Softlayer::Network::Component::Uplink::Hardware])
end

#get_downstream_network_hardwareObject



228
229
230
# File 'lib/softlayer/hardware/router.rb', line 228

def get_downstream_network_hardware
  request(:get_downstream_network_hardware, Array[Softlayer::Hardware])
end

#get_downstream_network_hardware_with_incidentsObject



232
233
234
# File 'lib/softlayer/hardware/router.rb', line 232

def get_downstream_network_hardware_with_incidents
  request(:get_downstream_network_hardware_with_incidents, Array[Softlayer::Hardware])
end

#get_downstream_serversObject



236
237
238
# File 'lib/softlayer/hardware/router.rb', line 236

def get_downstream_servers
  request(:get_downstream_servers, Array[Softlayer::Hardware])
end

#get_downstream_virtual_guestsObject



240
241
242
# File 'lib/softlayer/hardware/router.rb', line 240

def get_downstream_virtual_guests
  request(:get_downstream_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_drive_controllersObject



244
245
246
# File 'lib/softlayer/hardware/router.rb', line 244

def get_drive_controllers
  request(:get_drive_controllers, Array[Softlayer::Hardware::Component])
end

#get_evault_network_storageObject



248
249
250
# File 'lib/softlayer/hardware/router.rb', line 248

def get_evault_network_storage
  request(:get_evault_network_storage, Array[Softlayer::Network::Storage])
end

#get_firewall_service_componentObject



252
253
254
# File 'lib/softlayer/hardware/router.rb', line 252

def get_firewall_service_component
  request(:get_firewall_service_component, Softlayer::Network::Component::Firewall)
end

#get_fixed_configuration_presetObject



256
257
258
# File 'lib/softlayer/hardware/router.rb', line 256

def get_fixed_configuration_preset
  request(:get_fixed_configuration_preset, Softlayer::Product::Package::Preset)
end

#get_frontend_incoming_bandwidth(start_date = nil, end_date = nil) ⇒ Object



260
261
262
263
# File 'lib/softlayer/hardware/router.rb', line 260

def get_frontend_incoming_bandwidth(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_frontend_incoming_bandwidth, Float, message)
end

#get_frontend_network_componentsObject



265
266
267
# File 'lib/softlayer/hardware/router.rb', line 265

def get_frontend_network_components
  request(:get_frontend_network_components, Array[Softlayer::Network::Component])
end

#get_frontend_outgoing_bandwidth(start_date = nil, end_date = nil) ⇒ Object



269
270
271
272
# File 'lib/softlayer/hardware/router.rb', line 269

def get_frontend_outgoing_bandwidth(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_frontend_outgoing_bandwidth, Float, message)
end

#get_frontend_routersObject



274
275
276
# File 'lib/softlayer/hardware/router.rb', line 274

def get_frontend_routers
  request(:get_frontend_routers, Array[Softlayer::Hardware])
end

#get_global_identifierObject



278
279
280
# File 'lib/softlayer/hardware/router.rb', line 278

def get_global_identifier
  request(:get_global_identifier, String)
end

#get_hard_drivesObject



282
283
284
# File 'lib/softlayer/hardware/router.rb', line 282

def get_hard_drives
  request(:get_hard_drives, Array[Softlayer::Hardware::Component])
end

#get_hardware_chassisObject



286
287
288
# File 'lib/softlayer/hardware/router.rb', line 286

def get_hardware_chassis
  request(:get_hardware_chassis, Softlayer::Hardware::Chassis)
end

#get_hardware_functionObject



290
291
292
# File 'lib/softlayer/hardware/router.rb', line 290

def get_hardware_function
  request(:get_hardware_function, Softlayer::Hardware::Function)
end

#get_hardware_function_descriptionObject



294
295
296
# File 'lib/softlayer/hardware/router.rb', line 294

def get_hardware_function_description
  request(:get_hardware_function_description, String)
end

#get_hardware_statusObject



298
299
300
# File 'lib/softlayer/hardware/router.rb', line 298

def get_hardware_status
  request(:get_hardware_status, Softlayer::Hardware::Status)
end

#get_has_trusted_platform_module_billing_item_flagObject



302
303
304
# File 'lib/softlayer/hardware/router.rb', line 302

def get_has_trusted_platform_module_billing_item_flag
  request(:get_has_trusted_platform_module_billing_item_flag, Boolean)
end

#get_host_ips_software_componentObject



306
307
308
# File 'lib/softlayer/hardware/router.rb', line 306

def get_host_ips_software_component
  request(:get_host_ips_software_component, Softlayer::Software::Component)
end

#get_hourly_bandwidth(mode = nil, day = nil) ⇒ Object



310
311
312
313
# File 'lib/softlayer/hardware/router.rb', line 310

def get_hourly_bandwidth(mode = nil, day = nil)
  message = {mode: mode, day: day}
  request(:get_hourly_bandwidth, Array[Softlayer::Metric::Tracking::Object::Data], message)
end

#get_hourly_billing_flagObject



315
316
317
# File 'lib/softlayer/hardware/router.rb', line 315

def get_hourly_billing_flag
  request(:get_hourly_billing_flag, Boolean)
end

#get_inbound_bandwidth_usageObject



319
320
321
# File 'lib/softlayer/hardware/router.rb', line 319

def get_inbound_bandwidth_usage
  request(:get_inbound_bandwidth_usage, Float)
end

#get_inbound_public_bandwidth_usageObject



323
324
325
# File 'lib/softlayer/hardware/router.rb', line 323

def get_inbound_public_bandwidth_usage
  request(:get_inbound_public_bandwidth_usage, Float)
end

#get_last_transactionObject



327
328
329
# File 'lib/softlayer/hardware/router.rb', line 327

def get_last_transaction
  request(:get_last_transaction, Softlayer::Provisioning::Version1::Transaction)
end

#get_latest_network_monitor_incidentObject



331
332
333
# File 'lib/softlayer/hardware/router.rb', line 331

def get_latest_network_monitor_incident
  request(:get_latest_network_monitor_incident, Softlayer::Network::Monitor::Version1::Incident)
end

#get_local_disk_storage_capability_flagObject



335
336
337
# File 'lib/softlayer/hardware/router.rb', line 335

def get_local_disk_storage_capability_flag
  request(:get_local_disk_storage_capability_flag, Boolean)
end

#get_locationObject



339
340
341
# File 'lib/softlayer/hardware/router.rb', line 339

def get_location
  request(:get_location, Softlayer::Location)
end

#get_location_path_stringObject



343
344
345
# File 'lib/softlayer/hardware/router.rb', line 343

def get_location_path_string
  request(:get_location_path_string, String)
end

#get_lockbox_network_storageObject



347
348
349
# File 'lib/softlayer/hardware/router.rb', line 347

def get_lockbox_network_storage
  request(:get_lockbox_network_storage, Softlayer::Network::Storage)
end

#get_managed_resource_flagObject



351
352
353
# File 'lib/softlayer/hardware/router.rb', line 351

def get_managed_resource_flag
  request(:get_managed_resource_flag, Boolean)
end

#get_memoryObject



355
356
357
# File 'lib/softlayer/hardware/router.rb', line 355

def get_memory
  request(:get_memory, Array[Softlayer::Hardware::Component])
end

#get_memory_capacityObject



359
360
361
# File 'lib/softlayer/hardware/router.rb', line 359

def get_memory_capacity
  request(:get_memory_capacity, Integer)
end

#get_metric_tracking_objectObject



363
364
365
# File 'lib/softlayer/hardware/router.rb', line 363

def get_metric_tracking_object
  request(:get_metric_tracking_object, Softlayer::Metric::Tracking::Object::HardwareServer)
end

#get_monitoring_active_alarms(start_date = nil, end_date = nil) ⇒ Object



367
368
369
370
# File 'lib/softlayer/hardware/router.rb', line 367

def get_monitoring_active_alarms(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_monitoring_active_alarms, Array[Softlayer::Container::Monitoring::Alarm::History], message)
end

#get_monitoring_agentsObject



372
373
374
# File 'lib/softlayer/hardware/router.rb', line 372

def get_monitoring_agents
  request(:get_monitoring_agents, Array[Softlayer::Monitoring::Agent])
end

#get_monitoring_closed_alarms(start_date = nil, end_date = nil) ⇒ Object



376
377
378
379
# File 'lib/softlayer/hardware/router.rb', line 376

def get_monitoring_closed_alarms(start_date = nil, end_date = nil)
  message = {start_date: start_date, end_date: end_date}
  request(:get_monitoring_closed_alarms, Array[Softlayer::Container::Monitoring::Alarm::History], message)
end

#get_monitoring_robotObject



381
382
383
# File 'lib/softlayer/hardware/router.rb', line 381

def get_monitoring_robot
  request(:get_monitoring_robot, Softlayer::Monitoring::Robot)
end

#get_monitoring_service_componentObject



385
386
387
# File 'lib/softlayer/hardware/router.rb', line 385

def get_monitoring_service_component
  request(:get_monitoring_service_component, Softlayer::Network::Monitor::Version1::Query::Host::Stratum)
end

#get_monitoring_service_eligibility_flagObject



389
390
391
# File 'lib/softlayer/hardware/router.rb', line 389

def get_monitoring_service_eligibility_flag
  request(:get_monitoring_service_eligibility_flag, Boolean)
end

#get_monitoring_service_flagObject



393
394
395
# File 'lib/softlayer/hardware/router.rb', line 393

def get_monitoring_service_flag
  request(:get_monitoring_service_flag, Boolean)
end

#get_motherboardObject



397
398
399
# File 'lib/softlayer/hardware/router.rb', line 397

def get_motherboard
  request(:get_motherboard, Softlayer::Hardware::Component)
end

#get_network_cardsObject



401
402
403
# File 'lib/softlayer/hardware/router.rb', line 401

def get_network_cards
  request(:get_network_cards, Array[Softlayer::Hardware::Component])
end

#get_network_componentsObject



405
406
407
# File 'lib/softlayer/hardware/router.rb', line 405

def get_network_components
  request(:get_network_components, Array[Softlayer::Network::Component])
end

#get_network_gateway_memberObject



409
410
411
# File 'lib/softlayer/hardware/router.rb', line 409

def get_network_gateway_member
  request(:get_network_gateway_member, Softlayer::Network::Gateway::Member)
end

#get_network_gateway_member_flagObject



413
414
415
# File 'lib/softlayer/hardware/router.rb', line 413

def get_network_gateway_member_flag
  request(:get_network_gateway_member_flag, Boolean)
end

#get_network_monitor_attached_down_hardwareObject



417
418
419
# File 'lib/softlayer/hardware/router.rb', line 417

def get_network_monitor_attached_down_hardware
  request(:get_network_monitor_attached_down_hardware, Array[Softlayer::Hardware])
end

#get_network_monitor_attached_down_virtual_guestsObject



421
422
423
# File 'lib/softlayer/hardware/router.rb', line 421

def get_network_monitor_attached_down_virtual_guests
  request(:get_network_monitor_attached_down_virtual_guests, Array[Softlayer::Virtual::Guest])
end

#get_network_monitor_incidentsObject



425
426
427
# File 'lib/softlayer/hardware/router.rb', line 425

def get_network_monitor_incidents
  request(:get_network_monitor_incidents, Array[Softlayer::Network::Monitor::Version1::Incident])
end

#get_network_monitorsObject



429
430
431
# File 'lib/softlayer/hardware/router.rb', line 429

def get_network_monitors
  request(:get_network_monitors, Array[Softlayer::Network::Monitor::Version1::Query::Host])
end

#get_network_statusObject



433
434
435
# File 'lib/softlayer/hardware/router.rb', line 433

def get_network_status
  request(:get_network_status, String)
end

#get_network_status_attributeObject



437
438
439
# File 'lib/softlayer/hardware/router.rb', line 437

def get_network_status_attribute
  request(:get_network_status_attribute, Softlayer::Hardware::Attribute)
end

#get_network_storageObject



441
442
443
# File 'lib/softlayer/hardware/router.rb', line 441

def get_network_storage
  request(:get_network_storage, Array[Softlayer::Network::Storage])
end

#get_next_billing_cycle_bandwidth_allocationObject



445
446
447
# File 'lib/softlayer/hardware/router.rb', line 445

def get_next_billing_cycle_bandwidth_allocation
  request(:get_next_billing_cycle_bandwidth_allocation, Float)
end

#get_notes_historyObject



449
450
451
# File 'lib/softlayer/hardware/router.rb', line 449

def get_notes_history
  request(:get_notes_history, Array[Softlayer::Hardware::Note])
end

#get_objectObject



453
454
455
# File 'lib/softlayer/hardware/router.rb', line 453

def get_object
  request(:get_object, Softlayer::Hardware::Router)
end

#get_operating_systemObject



457
458
459
# File 'lib/softlayer/hardware/router.rb', line 457

def get_operating_system
  request(:get_operating_system, Softlayer::Software::Component::OperatingSystem)
end

#get_operating_system_reference_codeObject



461
462
463
# File 'lib/softlayer/hardware/router.rb', line 461

def get_operating_system_reference_code
  request(:get_operating_system_reference_code, String)
end

#get_outbound_bandwidth_usageObject



465
466
467
# File 'lib/softlayer/hardware/router.rb', line 465

def get_outbound_bandwidth_usage
  request(:get_outbound_bandwidth_usage, Float)
end

#get_outbound_public_bandwidth_usageObject



469
470
471
# File 'lib/softlayer/hardware/router.rb', line 469

def get_outbound_public_bandwidth_usage
  request(:get_outbound_public_bandwidth_usage, Float)
end

#get_point_of_presence_locationObject



473
474
475
# File 'lib/softlayer/hardware/router.rb', line 473

def get_point_of_presence_location
  request(:get_point_of_presence_location, Softlayer::Location)
end

#get_power_componentsObject



477
478
479
# File 'lib/softlayer/hardware/router.rb', line 477

def get_power_components
  request(:get_power_components, Array[Softlayer::Hardware::Power::Component])
end

#get_power_supplyObject



481
482
483
# File 'lib/softlayer/hardware/router.rb', line 481

def get_power_supply
  request(:get_power_supply, Array[Softlayer::Hardware::Component])
end

#get_primary_backend_network_componentObject



485
486
487
# File 'lib/softlayer/hardware/router.rb', line 485

def get_primary_backend_network_component
  request(:get_primary_backend_network_component, Softlayer::Network::Component)
end

#get_primary_network_componentObject



489
490
491
# File 'lib/softlayer/hardware/router.rb', line 489

def get_primary_network_component
  request(:get_primary_network_component, Softlayer::Network::Component)
end

#get_private_bandwidth_data(start_time = nil, end_time = nil) ⇒ Object



493
494
495
496
# File 'lib/softlayer/hardware/router.rb', line 493

def get_private_bandwidth_data(start_time = nil, end_time = nil)
  message = {start_time: start_time, end_time: end_time}
  request(:get_private_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
end

#get_private_network_only_flagObject



498
499
500
# File 'lib/softlayer/hardware/router.rb', line 498

def get_private_network_only_flag
  request(:get_private_network_only_flag, Boolean)
end

#get_processor_core_amountObject



502
503
504
# File 'lib/softlayer/hardware/router.rb', line 502

def get_processor_core_amount
  request(:get_processor_core_amount, Integer)
end

#get_processor_physical_core_amountObject



506
507
508
# File 'lib/softlayer/hardware/router.rb', line 506

def get_processor_physical_core_amount
  request(:get_processor_physical_core_amount, Integer)
end

#get_processorsObject



510
511
512
# File 'lib/softlayer/hardware/router.rb', line 510

def get_processors
  request(:get_processors, Array[Softlayer::Hardware::Component])
end

#get_public_bandwidth_data(start_time = nil, end_time = nil) ⇒ Object



514
515
516
517
# File 'lib/softlayer/hardware/router.rb', line 514

def get_public_bandwidth_data(start_time = nil, end_time = nil)
  message = {start_time: start_time, end_time: end_time}
  request(:get_public_bandwidth_data, Array[Softlayer::Metric::Tracking::Object::Data], message)
end

#get_rackObject



519
520
521
# File 'lib/softlayer/hardware/router.rb', line 519

def get_rack
  request(:get_rack, Softlayer::Location)
end

#get_raid_controllersObject



523
524
525
# File 'lib/softlayer/hardware/router.rb', line 523

def get_raid_controllers
  request(:get_raid_controllers, Array[Softlayer::Hardware::Component])
end

#get_recent_eventsObject



527
528
529
# File 'lib/softlayer/hardware/router.rb', line 527

def get_recent_events
  request(:get_recent_events, Array[Softlayer::Notification::Occurrence::Event])
end

#get_remote_management_accountsObject



531
532
533
# File 'lib/softlayer/hardware/router.rb', line 531

def get_remote_management_accounts
  request(:get_remote_management_accounts, Array[Softlayer::Hardware::Component::RemoteManagement::User])
end

#get_remote_management_componentObject



535
536
537
# File 'lib/softlayer/hardware/router.rb', line 535

def get_remote_management_component
  request(:get_remote_management_component, Softlayer::Network::Component)
end

#get_resource_group_member_referencesObject



539
540
541
# File 'lib/softlayer/hardware/router.rb', line 539

def get_resource_group_member_references
  request(:get_resource_group_member_references, Array[Softlayer::Resource::Group::Member])
end

#get_resource_group_rolesObject



543
544
545
# File 'lib/softlayer/hardware/router.rb', line 543

def get_resource_group_roles
  request(:get_resource_group_roles, Array[Softlayer::Resource::Group::Role])
end

#get_resource_groupsObject



547
548
549
# File 'lib/softlayer/hardware/router.rb', line 547

def get_resource_groups
  request(:get_resource_groups, Array[Softlayer::Resource::Group])
end

#get_routersObject



551
552
553
# File 'lib/softlayer/hardware/router.rb', line 551

def get_routers
  request(:get_routers, Array[Softlayer::Hardware])
end

#get_san_storage_capability_flagObject



555
556
557
# File 'lib/softlayer/hardware/router.rb', line 555

def get_san_storage_capability_flag
  request(:get_san_storage_capability_flag, Boolean)
end

#get_scale_assetsObject



559
560
561
# File 'lib/softlayer/hardware/router.rb', line 559

def get_scale_assets
  request(:get_scale_assets, Array[Softlayer::Scale::Asset])
end

#get_security_scan_requestsObject



563
564
565
# File 'lib/softlayer/hardware/router.rb', line 563

def get_security_scan_requests
  request(:get_security_scan_requests, Array[Softlayer::Network::Security::Scanner::Request])
end

#get_sensor_dataObject



567
568
569
# File 'lib/softlayer/hardware/router.rb', line 567

def get_sensor_data
  request(:get_sensor_data, Array[Softlayer::Container::RemoteManagement::SensorReading])
end

#get_sensor_data_with_graphsObject



571
572
573
# File 'lib/softlayer/hardware/router.rb', line 571

def get_sensor_data_with_graphs
  request(:get_sensor_data_with_graphs, Softlayer::Container::RemoteManagement::SensorReadingsWithGraphs)
end

#get_server_fan_speed_graphsObject



575
576
577
# File 'lib/softlayer/hardware/router.rb', line 575

def get_server_fan_speed_graphs
  request(:get_server_fan_speed_graphs, Array[Softlayer::Container::RemoteManagement::Graphs::SensorSpeed])
end

#get_server_power_stateObject



579
580
581
# File 'lib/softlayer/hardware/router.rb', line 579

def get_server_power_state
  request(:get_server_power_state, String)
end

#get_server_roomObject



583
584
585
# File 'lib/softlayer/hardware/router.rb', line 583

def get_server_room
  request(:get_server_room, Softlayer::Location)
end

#get_server_temperature_graphsObject



587
588
589
# File 'lib/softlayer/hardware/router.rb', line 587

def get_server_temperature_graphs
  request(:get_server_temperature_graphs, Array[Softlayer::Container::RemoteManagement::Graphs::SensorTemperature])
end

#get_service_providerObject



591
592
593
# File 'lib/softlayer/hardware/router.rb', line 591

def get_service_provider
  request(:get_service_provider, Softlayer::Service::Provider)
end

#get_software_componentsObject



595
596
597
# File 'lib/softlayer/hardware/router.rb', line 595

def get_software_components
  request(:get_software_components, Array[Softlayer::Software::Component])
end

#get_spare_pool_billing_itemObject



599
600
601
# File 'lib/softlayer/hardware/router.rb', line 599

def get_spare_pool_billing_item
  request(:get_spare_pool_billing_item, Softlayer::Billing::Item::Hardware)
end

#get_ssh_keysObject



603
604
605
# File 'lib/softlayer/hardware/router.rb', line 603

def get_ssh_keys
  request(:get_ssh_keys, Array[Softlayer::Security::Ssh::Key])
end

#get_storage_network_componentsObject



607
608
609
# File 'lib/softlayer/hardware/router.rb', line 607

def get_storage_network_components
  request(:get_storage_network_components, Array[Softlayer::Network::Component])
end

#get_tag_referencesObject



611
612
613
# File 'lib/softlayer/hardware/router.rb', line 611

def get_tag_references
  request(:get_tag_references, Array[Softlayer::Tag::Reference])
end

#get_top_level_locationObject



615
616
617
# File 'lib/softlayer/hardware/router.rb', line 615

def get_top_level_location
  request(:get_top_level_location, Softlayer::Location)
end

#get_transaction_historyObject



619
620
621
# File 'lib/softlayer/hardware/router.rb', line 619

def get_transaction_history
  request(:get_transaction_history, Array[Softlayer::Provisioning::Version1::Transaction::History])
end

#get_upgrade_item_pricesObject



623
624
625
# File 'lib/softlayer/hardware/router.rb', line 623

def get_upgrade_item_prices
  request(:get_upgrade_item_prices, Array[Softlayer::Product::Item::Price])
end

#get_upgrade_requestObject



627
628
629
# File 'lib/softlayer/hardware/router.rb', line 627

def get_upgrade_request
  request(:get_upgrade_request, Softlayer::Product::Upgrade::Request)
end


631
632
633
# File 'lib/softlayer/hardware/router.rb', line 631

def get_uplink_hardware
  request(:get_uplink_hardware, Softlayer::Hardware)
end


635
636
637
# File 'lib/softlayer/hardware/router.rb', line 635

def get_uplink_network_components
  request(:get_uplink_network_components, Array[Softlayer::Network::Component])
end

#get_user_dataObject



639
640
641
# File 'lib/softlayer/hardware/router.rb', line 639

def get_user_data
  request(:get_user_data, Array[Softlayer::Hardware::Attribute])
end

#get_virtual_chassisObject



643
644
645
# File 'lib/softlayer/hardware/router.rb', line 643

def get_virtual_chassis
  request(:get_virtual_chassis, Softlayer::Hardware::Group)
end

#get_virtual_chassis_siblingsObject



647
648
649
# File 'lib/softlayer/hardware/router.rb', line 647

def get_virtual_chassis_siblings
  request(:get_virtual_chassis_siblings, Array[Softlayer::Hardware])
end

#get_virtual_hostObject



651
652
653
# File 'lib/softlayer/hardware/router.rb', line 651

def get_virtual_host
  request(:get_virtual_host, Softlayer::Virtual::Host)
end

#get_virtual_licensesObject



655
656
657
# File 'lib/softlayer/hardware/router.rb', line 655

def get_virtual_licenses
  request(:get_virtual_licenses, Array[Softlayer::Software::VirtualLicense])
end

#get_virtual_rackObject



659
660
661
# File 'lib/softlayer/hardware/router.rb', line 659

def get_virtual_rack
  request(:get_virtual_rack, Softlayer::Network::Bandwidth::Version1::Allotment)
end

#get_virtual_rack_idObject



663
664
665
# File 'lib/softlayer/hardware/router.rb', line 663

def get_virtual_rack_id
  request(:get_virtual_rack_id, Integer)
end

#get_virtual_rack_nameObject



667
668
669
# File 'lib/softlayer/hardware/router.rb', line 667

def get_virtual_rack_name
  request(:get_virtual_rack_name, String)
end

#get_virtualization_platformObject



671
672
673
# File 'lib/softlayer/hardware/router.rb', line 671

def get_virtualization_platform
  request(:get_virtualization_platform, Softlayer::Software::Component)
end

#import_virtual_hostObject



675
676
677
# File 'lib/softlayer/hardware/router.rb', line 675

def import_virtual_host
  request(:import_virtual_host, Softlayer::Virtual::Host)
end

#is_pingableObject



679
680
681
# File 'lib/softlayer/hardware/router.rb', line 679

def is_pingable
  request(:is_pingable, Boolean)
end

#pingObject



683
684
685
# File 'lib/softlayer/hardware/router.rb', line 683

def ping
  request(:ping, String)
end

#power_cycleObject



687
688
689
# File 'lib/softlayer/hardware/router.rb', line 687

def power_cycle
  request(:power_cycle, Boolean)
end

#power_offObject



691
692
693
# File 'lib/softlayer/hardware/router.rb', line 691

def power_off
  request(:power_off, Boolean)
end

#power_onObject



695
696
697
# File 'lib/softlayer/hardware/router.rb', line 695

def power_on
  request(:power_on, Boolean)
end

#reboot_defaultObject



699
700
701
# File 'lib/softlayer/hardware/router.rb', line 699

def reboot_default
  request(:reboot_default, Boolean)
end

#reboot_hardObject



703
704
705
# File 'lib/softlayer/hardware/router.rb', line 703

def reboot_hard
  request(:reboot_hard, Boolean)
end

#reboot_softObject



707
708
709
# File 'lib/softlayer/hardware/router.rb', line 707

def reboot_soft
  request(:reboot_soft, Boolean)
end

#remove_access_to_network_storage(network_storage_template_object = nil) ⇒ Object



711
712
713
714
# File 'lib/softlayer/hardware/router.rb', line 711

def remove_access_to_network_storage(network_storage_template_object = nil)
  message = {network_storage_template_object: network_storage_template_object}
  request(:remove_access_to_network_storage, Boolean, message)
end

#remove_access_to_network_storage_list(network_storage_template_objects = nil) ⇒ Object



716
717
718
719
# File 'lib/softlayer/hardware/router.rb', line 716

def remove_access_to_network_storage_list(network_storage_template_objects = nil)
  message = {network_storage_template_objects: network_storage_template_objects}
  request(:remove_access_to_network_storage_list, Boolean, message)
end

#set_tags(tags = nil) ⇒ Object



721
722
723
724
# File 'lib/softlayer/hardware/router.rb', line 721

def set_tags(tags = nil)
  message = {tags: tags}
  request(:set_tags, Boolean, message)
end