Class: Softlayer::Network
- Defined in:
- lib/softlayer/network.rb,
lib/softlayer/network/pod.rb,
lib/softlayer/network/vlan.rb,
lib/softlayer/network/media.rb,
lib/softlayer/network/subnet.rb,
lib/softlayer/network/tunnel.rb,
lib/softlayer/network/gateway.rb,
lib/softlayer/network/logging.rb,
lib/softlayer/network/message.rb,
lib/softlayer/network/monitor.rb,
lib/softlayer/network/service.rb,
lib/softlayer/network/storage.rb,
lib/softlayer/network/backbone.rb,
lib/softlayer/network/customer.rb,
lib/softlayer/network/firewall.rb,
lib/softlayer/network/regional.rb,
lib/softlayer/network/security.rb,
lib/softlayer/network/bandwidth.rb,
lib/softlayer/network/component.rb,
lib/softlayer/network/vlan/type.rb,
lib/softlayer/network/protection.rb,
lib/softlayer/network/application.rb,
lib/softlayer/network/service/vpn.rb,
lib/softlayer/network/storage/hub.rb,
lib/softlayer/network/storage/nas.rb,
lib/softlayer/network/subnet/swip.rb,
lib/softlayer/network/gateway/vlan.rb,
lib/softlayer/network/storage/type.rb,
lib/softlayer/network/load_balancer.rb,
lib/softlayer/network/message/queue.rb,
lib/softlayer/network/storage/daily.rb,
lib/softlayer/network/storage/event.rb,
lib/softlayer/network/storage/group.rb,
lib/softlayer/network/storage/iscsi.rb,
lib/softlayer/network/subnet/rwhois.rb,
lib/softlayer/network/tunnel/module.rb,
lib/softlayer/network/vlan/firewall.rb,
lib/softlayer/network/gateway/member.rb,
lib/softlayer/network/gateway/status.rb,
lib/softlayer/network/logging/syslog.rb,
lib/softlayer/network/service/health.rb,
lib/softlayer/network/storage/backup.rb,
lib/softlayer/network/bandwidth/usage.rb,
lib/softlayer/network/component/group.rb,
lib/softlayer/network/customer/subnet.rb,
lib/softlayer/network/firewall/module.rb,
lib/softlayer/network/firewall/update.rb,
lib/softlayer/network/media/transcode.rb,
lib/softlayer/network/storage/allowed.rb,
lib/softlayer/network/storage/history.rb,
lib/softlayer/network/component/duplex.rb,
lib/softlayer/network/component/uplink.rb,
lib/softlayer/network/content_delivery.rb,
lib/softlayer/network/message/delivery.rb,
lib/softlayer/network/monitor/version1.rb,
lib/softlayer/network/security/scanner.rb,
lib/softlayer/network/service/resource.rb,
lib/softlayer/network/storage/iscsi/os.rb,
lib/softlayer/network/storage/property.rb,
lib/softlayer/network/storage/schedule.rb,
lib/softlayer/network/storage/snapshot.rb,
lib/softlayer/network/backbone/location.rb,
lib/softlayer/network/component/network.rb,
lib/softlayer/network/firewall/template.rb,
lib/softlayer/network/regional/internet.rb,
lib/softlayer/network/storage/group/nfs.rb,
lib/softlayer/network/storage/hub/swift.rb,
lib/softlayer/network/storage/replicant.rb,
lib/softlayer/network/subnet/ip_address.rb,
lib/softlayer/network/bandwidth/version1.rb,
lib/softlayer/network/component/firewall.rb,
lib/softlayer/network/firewall/interface.rb,
lib/softlayer/network/message/queue/node.rb,
lib/softlayer/network/protection/address.rb,
lib/softlayer/network/storage/credential.rb,
lib/softlayer/network/storage/group/type.rb,
lib/softlayer/network/storage/open_stack.rb,
lib/softlayer/network/subnet/rwhois/data.rb,
lib/softlayer/network/vlan/firewall/rule.rb,
lib/softlayer/network/media/transcode/job.rb,
lib/softlayer/network/storage/daily/usage.rb,
lib/softlayer/network/storage/group/iscsi.rb,
lib/softlayer/network/storage/partnership.rb,
lib/softlayer/network/subnet/registration.rb,
lib/softlayer/network/application/delivery.rb,
lib/softlayer/network/component/ip_address.rb,
lib/softlayer/network/load_balancer/global.rb,
lib/softlayer/network/message/queue/status.rb,
lib/softlayer/network/service/resource/hub.rb,
lib/softlayer/network/storage/allowed/host.rb,
lib/softlayer/network/component/duplex/mode.rb,
lib/softlayer/network/load_balancer/service.rb,
lib/softlayer/network/message/delivery/type.rb,
lib/softlayer/network/service/health/status.rb,
lib/softlayer/network/service/resource/type.rb,
lib/softlayer/network/service/vpn/overrides.rb,
lib/softlayer/network/storage/backup/evault.rb,
lib/softlayer/network/storage/iscsi/os/type.rb,
lib/softlayer/network/storage/property/type.rb,
lib/softlayer/network/storage/schedule/type.rb,
lib/softlayer/network/tunnel/module/context.rb,
lib/softlayer/network/bandwidth/usage/detail.rb,
lib/softlayer/network/component/network/vlan.rb,
lib/softlayer/network/firewall/template/rule.rb,
lib/softlayer/network/message/delivery/email.rb,
lib/softlayer/network/monitor/version1/query.rb,
lib/softlayer/network/bandwidth/version1/host.rb,
lib/softlayer/network/component/firewall/rule.rb,
lib/softlayer/network/firewall/module/context.rb,
lib/softlayer/network/firewall/update/request.rb,
lib/softlayer/network/media/transcode/account.rb,
lib/softlayer/network/message/delivery/vendor.rb,
lib/softlayer/network/storage/credential/type.rb,
lib/softlayer/network/storage/hub/swift/share.rb,
lib/softlayer/network/subnet/swip/transaction.rb,
lib/softlayer/network/tipping_point_reporting.rb,
lib/softlayer/network/bandwidth/version1/usage.rb,
lib/softlayer/network/content_delivery/account.rb,
lib/softlayer/network/security/scanner/request.rb,
lib/softlayer/network/storage/partnership/type.rb,
lib/softlayer/network/subnet/ip_address/global.rb,
lib/softlayer/network/subnet/registration/arin.rb,
lib/softlayer/network/subnet/registration/ripe.rb,
lib/softlayer/network/component/uplink/hardware.rb,
lib/softlayer/network/load_balancer/global/host.rb,
lib/softlayer/network/load_balancer/global/type.rb,
lib/softlayer/network/monitor/version1/incident.rb,
lib/softlayer/network/storage/iscsi/equal_logic.rb,
lib/softlayer/network/storage/open_stack/object.rb,
lib/softlayer/network/storage/schedule/property.rb,
lib/softlayer/network/subnet/registration/apnic.rb,
lib/softlayer/network/subnet/registration/event.rb,
lib/softlayer/network/component/firewall/subnets.rb,
lib/softlayer/network/customer/subnet/ip_address.rb,
lib/softlayer/network/media/transcode/job/status.rb,
lib/softlayer/network/message/delivery/attribute.rb,
lib/softlayer/network/regional/internet/registry.rb,
lib/softlayer/network/service/resource/attribute.rb,
lib/softlayer/network/service/resource/hub/swift.rb,
lib/softlayer/network/storage/hub/swift/version1.rb,
lib/softlayer/network/subnet/ip_address/version6.rb,
lib/softlayer/network/subnet/registration/status.rb,
lib/softlayer/network/backbone/location/dependent.rb,
lib/softlayer/network/component/remote_management.rb,
lib/softlayer/network/media/transcode/job/history.rb,
lib/softlayer/network/monitor/version1/query/host.rb,
lib/softlayer/network/monitor/version1/query/type.rb,
lib/softlayer/network/storage/allowed/host/subnet.rb,
lib/softlayer/network/storage/hub/swift/container.rb,
lib/softlayer/network/subnet/registration/details.rb,
lib/softlayer/network/bandwidth/version1/allotment.rb,
lib/softlayer/network/bandwidth/version1/interface.rb,
lib/softlayer/network/component/network/vlan/trunk.rb,
lib/softlayer/network/firewall/access_control_list.rb,
lib/softlayer/network/firewall/update/request/rule.rb,
lib/softlayer/network/load_balancer/global/account.rb,
lib/softlayer/network/bandwidth/version1/allocation.rb,
lib/softlayer/network/monitor/version1/query/result.rb,
lib/softlayer/network/storage/allowed/host/hardware.rb,
lib/softlayer/network/tunnel/module/context/address.rb,
lib/softlayer/network/storage/backup/evault/version6.rb,
lib/softlayer/network/storage/schedule/property/type.rb,
lib/softlayer/network/subnet/registration/event/type.rb,
lib/softlayer/network/application/delivery/controller.rb,
lib/softlayer/network/bandwidth/version1/usage/detail.rb,
lib/softlayer/network/content_delivery/account/status.rb,
lib/softlayer/network/content_delivery/authentication.rb,
lib/softlayer/network/message/delivery/email/sendgrid.rb,
lib/softlayer/network/security/scanner/request/status.rb,
lib/softlayer/network/service/resource/attribute/type.rb,
lib/softlayer/network/service/resource/monitoring_hub.rb,
lib/softlayer/network/storage/allowed/host/ip_address.rb,
lib/softlayer/network/firewall/update/request/customer.rb,
lib/softlayer/network/firewall/update/request/employee.rb,
lib/softlayer/network/load_balancer/virtual_ip_address.rb,
lib/softlayer/network/firewall/module/context/interface.rb,
lib/softlayer/network/storage/allowed/host/virtual_guest.rb,
lib/softlayer/network/storage/iscsi/equal_logic/version3.rb,
lib/softlayer/network/bandwidth/version1/allotment/detail.rb,
lib/softlayer/network/monitor/version1/query/host/stratum.rb,
lib/softlayer/network/application/delivery/controller/type.rb,
lib/softlayer/network/bandwidth/version1/usage/detail/type.rb,
lib/softlayer/network/monitor/version1/query/response_type.rb,
lib/softlayer/network/service/resource/nimsoft_landing_hub.rb,
lib/softlayer/network/bandwidth/version1/usage/detail/total.rb,
lib/softlayer/network/content_delivery/authentication/token.rb,
lib/softlayer/network/firewall/update/request/rule/version6.rb,
lib/softlayer/network/content_delivery/authentication/address.rb,
lib/softlayer/network/tunnel/module/context/address/translation.rb,
lib/softlayer/network/storage/iscsi/equal_logic/version3/snapshot.rb,
lib/softlayer/network/storage/iscsi/equal_logic/version3/replicant.rb,
lib/softlayer/network/application/delivery/controller/configuration.rb,
lib/softlayer/network/application/delivery/controller/load_balancer.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health.rb,
lib/softlayer/network/application/delivery/controller/configuration/history.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/routing.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/service.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health/check.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/routing/type.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/service/group.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/routing/method.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/virtual_server.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health/attribute.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health/check/type.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/virtual_ip_address.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/health/attribute/type.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/service/group/cross_reference.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/virtual_ip_address/secure_transport_cipher.rb,
lib/softlayer/network/application/delivery/controller/load_balancer/virtual_ip_address/secure_transport_protocol.rb
Defined Under Namespace
Modules: Application, Bandwidth, ContentDelivery, Customer, Firewall, LoadBalancer, Logging, Media, Message, Protection, Regional, Security, Service, Tunnel Classes: Backbone, Component, Gateway, Monitor, Pod, Representer, Storage, Subnet, TippingPointReporting, Vlan
Constant Summary collapse
- SERVICE =
'SoftLayer_Network'
Instance Attribute Summary collapse
-
#account_id ⇒ Object
Returns the value of attribute account_id.
-
#cidr ⇒ Object
Returns the value of attribute cidr.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#network_identifier ⇒ Object
Returns the value of attribute network_identifier.
-
#notes ⇒ Object
Returns the value of attribute notes.
-
#subnet_count ⇒ Object
Returns the value of attribute subnet_count.
-
#subnets ⇒ Object
Returns the value of attribute subnets.
Class Method Summary collapse
-
.create_object(message) ⇒ Object
template_object.
- .get_all_objects ⇒ Object
Instance Method Summary collapse
-
#create_subnet(message) ⇒ Object
subnet pod.
- #delete_object ⇒ Object
-
#delete_subnet(message) ⇒ Object
subnet.
-
#edit_object(message) ⇒ Object
template_object.
- #get_cidr ⇒ Object
- #get_name ⇒ Object
- #get_network_identifier ⇒ Object
- #get_notes ⇒ Object
- #get_object ⇒ Object
- #get_subnets ⇒ Object
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_id ⇒ Object
Returns the value of attribute account_id.
27 28 29 |
# File 'lib/softlayer/network.rb', line 27 def account_id @account_id end |
#cidr ⇒ Object
Returns the value of attribute cidr.
30 31 32 |
# File 'lib/softlayer/network.rb', line 30 def cidr @cidr end |
#id ⇒ Object
Returns the value of attribute id.
28 29 30 |
# File 'lib/softlayer/network.rb', line 28 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
31 32 33 |
# File 'lib/softlayer/network.rb', line 31 def name @name end |
#network_identifier ⇒ Object
Returns the value of attribute network_identifier.
32 33 34 |
# File 'lib/softlayer/network.rb', line 32 def network_identifier @network_identifier end |
#notes ⇒ Object
Returns the value of attribute notes.
33 34 35 |
# File 'lib/softlayer/network.rb', line 33 def notes @notes end |
#subnet_count ⇒ Object
Returns the value of attribute subnet_count.
29 30 31 |
# File 'lib/softlayer/network.rb', line 29 def subnet_count @subnet_count end |
#subnets ⇒ Object
Returns the value of attribute subnets.
34 35 36 |
# File 'lib/softlayer/network.rb', line 34 def subnets @subnets end |
Class Method Details
Instance Method Details
#create_subnet(message) ⇒ Object
subnet pod
43 44 45 |
# File 'lib/softlayer/network.rb', line 43 def create_subnet() request(:create_subnet, Softlayer::Network::Subnet, ) end |
#delete_object ⇒ Object
47 48 49 |
# File 'lib/softlayer/network.rb', line 47 def delete_object request(:delete_object, Boolean) end |
#delete_subnet(message) ⇒ Object
subnet
52 53 54 |
# File 'lib/softlayer/network.rb', line 52 def delete_subnet() request(:delete_subnet, Boolean, ) end |
#edit_object(message) ⇒ Object
template_object
57 58 59 |
# File 'lib/softlayer/network.rb', line 57 def edit_object() request(:edit_object, Boolean, ) end |
#get_cidr ⇒ Object
65 66 67 |
# File 'lib/softlayer/network.rb', line 65 def get_cidr request(:get_cidr, Integer) end |
#get_name ⇒ Object
69 70 71 |
# File 'lib/softlayer/network.rb', line 69 def get_name request(:get_name, String) end |
#get_network_identifier ⇒ Object
73 74 75 |
# File 'lib/softlayer/network.rb', line 73 def get_network_identifier request(:get_network_identifier, String) end |
#get_notes ⇒ Object
77 78 79 |
# File 'lib/softlayer/network.rb', line 77 def get_notes request(:get_notes, String) end |