Class: Softlayer::Network::Subnet::IpAddress

Inherits:
Entity
  • Object
show all
Defined in:
lib/softlayer/network/subnet/ip_address.rb,
lib/softlayer/network/subnet/ip_address/global.rb,
lib/softlayer/network/subnet/ip_address/version6.rb

Direct Known Subclasses

Version6

Defined Under Namespace

Classes: Global, Representer, Version6

Constant Summary collapse

SERVICE =
'SoftLayer_Network_Subnet_IpAddress'

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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

#allowed_hostObject

Returns the value of attribute allowed_host.



32
33
34
# File 'lib/softlayer/network/subnet/ip_address.rb', line 32

def allowed_host
  @allowed_host
end

#allowed_network_storageObject

Returns the value of attribute allowed_network_storage.



33
34
35
# File 'lib/softlayer/network/subnet/ip_address.rb', line 33

def allowed_network_storage
  @allowed_network_storage
end

#allowed_network_storage_countObject

Returns the value of attribute allowed_network_storage_count.



16
17
18
# File 'lib/softlayer/network/subnet/ip_address.rb', line 16

def allowed_network_storage_count
  @allowed_network_storage_count
end

#allowed_network_storage_replica_countObject

Returns the value of attribute allowed_network_storage_replica_count.



17
18
19
# File 'lib/softlayer/network/subnet/ip_address.rb', line 17

def allowed_network_storage_replica_count
  @allowed_network_storage_replica_count
end

#allowed_network_storage_replicasObject

Returns the value of attribute allowed_network_storage_replicas.



34
35
36
# File 'lib/softlayer/network/subnet/ip_address.rb', line 34

def allowed_network_storage_replicas
  @allowed_network_storage_replicas
end

#application_delivery_controllerObject

Returns the value of attribute application_delivery_controller.



35
36
37
# File 'lib/softlayer/network/subnet/ip_address.rb', line 35

def application_delivery_controller
  @application_delivery_controller
end

#context_tunnel_translation_countObject

Returns the value of attribute context_tunnel_translation_count.



18
19
20
# File 'lib/softlayer/network/subnet/ip_address.rb', line 18

def context_tunnel_translation_count
  @context_tunnel_translation_count
end

#context_tunnel_translationsObject

Returns the value of attribute context_tunnel_translations.



36
37
38
# File 'lib/softlayer/network/subnet/ip_address.rb', line 36

def context_tunnel_translations
  @context_tunnel_translations
end

#endpoint_subnet_countObject

Returns the value of attribute endpoint_subnet_count.



19
20
21
# File 'lib/softlayer/network/subnet/ip_address.rb', line 19

def endpoint_subnet_count
  @endpoint_subnet_count
end

#endpoint_subnetsObject

Returns the value of attribute endpoint_subnets.



37
38
39
# File 'lib/softlayer/network/subnet/ip_address.rb', line 37

def endpoint_subnets
  @endpoint_subnets
end

#guest_network_componentObject

Returns the value of attribute guest_network_component.



38
39
40
# File 'lib/softlayer/network/subnet/ip_address.rb', line 38

def guest_network_component
  @guest_network_component
end

#guest_network_component_bindingObject

Returns the value of attribute guest_network_component_binding.



39
40
41
# File 'lib/softlayer/network/subnet/ip_address.rb', line 39

def guest_network_component_binding
  @guest_network_component_binding
end

#hardwareObject

Returns the value of attribute hardware.



40
41
42
# File 'lib/softlayer/network/subnet/ip_address.rb', line 40

def hardware
  @hardware
end

#idObject

Returns the value of attribute id.



8
9
10
# File 'lib/softlayer/network/subnet/ip_address.rb', line 8

def id
  @id
end

#ip_addressObject

Returns the value of attribute ip_address.



9
10
11
# File 'lib/softlayer/network/subnet/ip_address.rb', line 9

def ip_address
  @ip_address
end

#is_broadcastObject

Returns the value of attribute is_broadcast.



10
11
12
# File 'lib/softlayer/network/subnet/ip_address.rb', line 10

def is_broadcast
  @is_broadcast
end

#is_gatewayObject

Returns the value of attribute is_gateway.



11
12
13
# File 'lib/softlayer/network/subnet/ip_address.rb', line 11

def is_gateway
  @is_gateway
end

#is_networkObject

Returns the value of attribute is_network.



12
13
14
# File 'lib/softlayer/network/subnet/ip_address.rb', line 12

def is_network
  @is_network
end

#is_reservedObject

Returns the value of attribute is_reserved.



13
14
15
# File 'lib/softlayer/network/subnet/ip_address.rb', line 13

def is_reserved
  @is_reserved
end

#network_componentObject

Returns the value of attribute network_component.



41
42
43
# File 'lib/softlayer/network/subnet/ip_address.rb', line 41

def network_component
  @network_component
end

#noteObject

Returns the value of attribute note.



14
15
16
# File 'lib/softlayer/network/subnet/ip_address.rb', line 14

def note
  @note
end

#private_network_gatewayObject

Returns the value of attribute private_network_gateway.



42
43
44
# File 'lib/softlayer/network/subnet/ip_address.rb', line 42

def private_network_gateway
  @private_network_gateway
end

#protection_addressObject

Returns the value of attribute protection_address.



43
44
45
# File 'lib/softlayer/network/subnet/ip_address.rb', line 43

def protection_address
  @protection_address
end

#protection_address_countObject

Returns the value of attribute protection_address_count.



20
21
22
# File 'lib/softlayer/network/subnet/ip_address.rb', line 20

def protection_address_count
  @protection_address_count
end

#public_network_gatewayObject

Returns the value of attribute public_network_gateway.



44
45
46
# File 'lib/softlayer/network/subnet/ip_address.rb', line 44

def public_network_gateway
  @public_network_gateway
end

#remote_management_network_componentObject

Returns the value of attribute remote_management_network_component.



45
46
47
# File 'lib/softlayer/network/subnet/ip_address.rb', line 45

def remote_management_network_component
  @remote_management_network_component
end

#subnetObject

Returns the value of attribute subnet.



46
47
48
# File 'lib/softlayer/network/subnet/ip_address.rb', line 46

def subnet
  @subnet
end

#subnet_idObject

Returns the value of attribute subnet_id.



15
16
17
# File 'lib/softlayer/network/subnet/ip_address.rb', line 15

def subnet_id
  @subnet_id
end

#syslog_events_one_dayObject

Returns the value of attribute syslog_events_one_day.



47
48
49
# File 'lib/softlayer/network/subnet/ip_address.rb', line 47

def syslog_events_one_day
  @syslog_events_one_day
end

#syslog_events_one_day_countObject

Returns the value of attribute syslog_events_one_day_count.



21
22
23
# File 'lib/softlayer/network/subnet/ip_address.rb', line 21

def syslog_events_one_day_count
  @syslog_events_one_day_count
end

#syslog_events_seven_day_countObject

Returns the value of attribute syslog_events_seven_day_count.



22
23
24
# File 'lib/softlayer/network/subnet/ip_address.rb', line 22

def syslog_events_seven_day_count
  @syslog_events_seven_day_count
end

#syslog_events_seven_daysObject

Returns the value of attribute syslog_events_seven_days.



48
49
50
# File 'lib/softlayer/network/subnet/ip_address.rb', line 48

def syslog_events_seven_days
  @syslog_events_seven_days
end

#top_ten_syslog_events_by_destination_port_one_dayObject

Returns the value of attribute top_ten_syslog_events_by_destination_port_one_day.



49
50
51
# File 'lib/softlayer/network/subnet/ip_address.rb', line 49

def top_ten_syslog_events_by_destination_port_one_day
  @top_ten_syslog_events_by_destination_port_one_day
end

#top_ten_syslog_events_by_destination_port_one_day_countObject

Returns the value of attribute top_ten_syslog_events_by_destination_port_one_day_count.



23
24
25
# File 'lib/softlayer/network/subnet/ip_address.rb', line 23

def top_ten_syslog_events_by_destination_port_one_day_count
  @top_ten_syslog_events_by_destination_port_one_day_count
end

#top_ten_syslog_events_by_destination_port_seven_day_countObject

Returns the value of attribute top_ten_syslog_events_by_destination_port_seven_day_count.



24
25
26
# File 'lib/softlayer/network/subnet/ip_address.rb', line 24

def top_ten_syslog_events_by_destination_port_seven_day_count
  @top_ten_syslog_events_by_destination_port_seven_day_count
end

#top_ten_syslog_events_by_destination_port_seven_daysObject

Returns the value of attribute top_ten_syslog_events_by_destination_port_seven_days.



50
51
52
# File 'lib/softlayer/network/subnet/ip_address.rb', line 50

def top_ten_syslog_events_by_destination_port_seven_days
  @top_ten_syslog_events_by_destination_port_seven_days
end

#top_ten_syslog_events_by_protocols_one_dayObject

Returns the value of attribute top_ten_syslog_events_by_protocols_one_day.



51
52
53
# File 'lib/softlayer/network/subnet/ip_address.rb', line 51

def top_ten_syslog_events_by_protocols_one_day
  @top_ten_syslog_events_by_protocols_one_day
end

#top_ten_syslog_events_by_protocols_one_day_countObject

Returns the value of attribute top_ten_syslog_events_by_protocols_one_day_count.



25
26
27
# File 'lib/softlayer/network/subnet/ip_address.rb', line 25

def top_ten_syslog_events_by_protocols_one_day_count
  @top_ten_syslog_events_by_protocols_one_day_count
end

#top_ten_syslog_events_by_protocols_seven_day_countObject

Returns the value of attribute top_ten_syslog_events_by_protocols_seven_day_count.



26
27
28
# File 'lib/softlayer/network/subnet/ip_address.rb', line 26

def top_ten_syslog_events_by_protocols_seven_day_count
  @top_ten_syslog_events_by_protocols_seven_day_count
end

#top_ten_syslog_events_by_protocols_seven_daysObject

Returns the value of attribute top_ten_syslog_events_by_protocols_seven_days.



52
53
54
# File 'lib/softlayer/network/subnet/ip_address.rb', line 52

def top_ten_syslog_events_by_protocols_seven_days
  @top_ten_syslog_events_by_protocols_seven_days
end

#top_ten_syslog_events_by_source_ip_one_dayObject

Returns the value of attribute top_ten_syslog_events_by_source_ip_one_day.



53
54
55
# File 'lib/softlayer/network/subnet/ip_address.rb', line 53

def top_ten_syslog_events_by_source_ip_one_day
  @top_ten_syslog_events_by_source_ip_one_day
end

#top_ten_syslog_events_by_source_ip_one_day_countObject

Returns the value of attribute top_ten_syslog_events_by_source_ip_one_day_count.



27
28
29
# File 'lib/softlayer/network/subnet/ip_address.rb', line 27

def top_ten_syslog_events_by_source_ip_one_day_count
  @top_ten_syslog_events_by_source_ip_one_day_count
end

#top_ten_syslog_events_by_source_ip_seven_day_countObject

Returns the value of attribute top_ten_syslog_events_by_source_ip_seven_day_count.



28
29
30
# File 'lib/softlayer/network/subnet/ip_address.rb', line 28

def top_ten_syslog_events_by_source_ip_seven_day_count
  @top_ten_syslog_events_by_source_ip_seven_day_count
end

#top_ten_syslog_events_by_source_ip_seven_daysObject

Returns the value of attribute top_ten_syslog_events_by_source_ip_seven_days.



54
55
56
# File 'lib/softlayer/network/subnet/ip_address.rb', line 54

def top_ten_syslog_events_by_source_ip_seven_days
  @top_ten_syslog_events_by_source_ip_seven_days
end

#top_ten_syslog_events_by_source_port_one_dayObject

Returns the value of attribute top_ten_syslog_events_by_source_port_one_day.



55
56
57
# File 'lib/softlayer/network/subnet/ip_address.rb', line 55

def top_ten_syslog_events_by_source_port_one_day
  @top_ten_syslog_events_by_source_port_one_day
end

#top_ten_syslog_events_by_source_port_one_day_countObject

Returns the value of attribute top_ten_syslog_events_by_source_port_one_day_count.



29
30
31
# File 'lib/softlayer/network/subnet/ip_address.rb', line 29

def top_ten_syslog_events_by_source_port_one_day_count
  @top_ten_syslog_events_by_source_port_one_day_count
end

#top_ten_syslog_events_by_source_port_seven_day_countObject

Returns the value of attribute top_ten_syslog_events_by_source_port_seven_day_count.



30
31
32
# File 'lib/softlayer/network/subnet/ip_address.rb', line 30

def top_ten_syslog_events_by_source_port_seven_day_count
  @top_ten_syslog_events_by_source_port_seven_day_count
end

#top_ten_syslog_events_by_source_port_seven_daysObject

Returns the value of attribute top_ten_syslog_events_by_source_port_seven_days.



56
57
58
# File 'lib/softlayer/network/subnet/ip_address.rb', line 56

def top_ten_syslog_events_by_source_port_seven_days
  @top_ten_syslog_events_by_source_port_seven_days
end

#virtual_guestObject

Returns the value of attribute virtual_guest.



57
58
59
# File 'lib/softlayer/network/subnet/ip_address.rb', line 57

def virtual_guest
  @virtual_guest
end

#virtual_license_countObject

Returns the value of attribute virtual_license_count.



31
32
33
# File 'lib/softlayer/network/subnet/ip_address.rb', line 31

def virtual_license_count
  @virtual_license_count
end

#virtual_licensesObject

Returns the value of attribute virtual_licenses.



58
59
60
# File 'lib/softlayer/network/subnet/ip_address.rb', line 58

def virtual_licenses
  @virtual_licenses
end

Class Method Details

.edit_objects(message) ⇒ Object

template_objects



76
77
78
# File 'lib/softlayer/network/subnet/ip_address.rb', line 76

def self.edit_objects(message)
  request(:edit_objects, Boolean, message)
end

.find_by_ipv4_address(message) ⇒ Object

ip_address



81
82
83
# File 'lib/softlayer/network/subnet/ip_address.rb', line 81

def self.find_by_ipv4_address(message)
  request(:find_by_ipv4_address, Softlayer::Network::Subnet::IpAddress, message)
end

.get_by_ip_address(message) ⇒ Object

ip_address



112
113
114
# File 'lib/softlayer/network/subnet/ip_address.rb', line 112

def self.get_by_ip_address(message)
  request(:get_by_ip_address, Softlayer::Network::Subnet::IpAddress, message)
end

Instance Method Details

#allow_access_to_network_storage(message) ⇒ Object

network_storage_template_object



61
62
63
# File 'lib/softlayer/network/subnet/ip_address.rb', line 61

def allow_access_to_network_storage(message)
  request(:allow_access_to_network_storage, Boolean, message)
end

#allow_access_to_network_storage_list(message) ⇒ Object

network_storage_template_objects



66
67
68
# File 'lib/softlayer/network/subnet/ip_address.rb', line 66

def allow_access_to_network_storage_list(message)
  request(:allow_access_to_network_storage_list, Boolean, message)
end

#edit_object(message) ⇒ Object

template_object



71
72
73
# File 'lib/softlayer/network/subnet/ip_address.rb', line 71

def edit_object(message)
  request(:edit_object, Boolean, message)
end

#get_allowed_hostObject



85
86
87
# File 'lib/softlayer/network/subnet/ip_address.rb', line 85

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

#get_allowed_network_storageObject



89
90
91
# File 'lib/softlayer/network/subnet/ip_address.rb', line 89

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

#get_allowed_network_storage_replicasObject



93
94
95
# File 'lib/softlayer/network/subnet/ip_address.rb', line 93

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

#get_application_delivery_controllerObject



97
98
99
# File 'lib/softlayer/network/subnet/ip_address.rb', line 97

def get_application_delivery_controller
  request(:get_application_delivery_controller, Softlayer::Network::Application::Delivery::Controller)
end

#get_attached_network_storages(message) ⇒ Object

nas_type



102
103
104
# File 'lib/softlayer/network/subnet/ip_address.rb', line 102

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

#get_available_network_storages(message) ⇒ Object

nas_type



107
108
109
# File 'lib/softlayer/network/subnet/ip_address.rb', line 107

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

#get_context_tunnel_translationsObject



116
117
118
# File 'lib/softlayer/network/subnet/ip_address.rb', line 116

def get_context_tunnel_translations
  request(:get_context_tunnel_translations, Array[Softlayer::Network::Tunnel::Module::Context::Address::Translation])
end

#get_endpoint_subnetsObject



120
121
122
# File 'lib/softlayer/network/subnet/ip_address.rb', line 120

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

#get_guest_network_componentObject



124
125
126
# File 'lib/softlayer/network/subnet/ip_address.rb', line 124

def get_guest_network_component
  request(:get_guest_network_component, Softlayer::Virtual::Guest::Network::Component)
end

#get_guest_network_component_bindingObject



128
129
130
# File 'lib/softlayer/network/subnet/ip_address.rb', line 128

def get_guest_network_component_binding
  request(:get_guest_network_component_binding, Softlayer::Virtual::Guest::Network::Component::IpAddress)
end

#get_hardwareObject



132
133
134
# File 'lib/softlayer/network/subnet/ip_address.rb', line 132

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

#get_network_componentObject



136
137
138
# File 'lib/softlayer/network/subnet/ip_address.rb', line 136

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

#get_objectObject



140
141
142
# File 'lib/softlayer/network/subnet/ip_address.rb', line 140

def get_object
  request(:get_object, Softlayer::Network::Subnet::IpAddress)
end

#get_private_network_gatewayObject



144
145
146
# File 'lib/softlayer/network/subnet/ip_address.rb', line 144

def get_private_network_gateway
  request(:get_private_network_gateway, Softlayer::Network::Gateway)
end

#get_protection_addressObject



148
149
150
# File 'lib/softlayer/network/subnet/ip_address.rb', line 148

def get_protection_address
  request(:get_protection_address, Array[Softlayer::Network::Protection::Address])
end

#get_public_network_gatewayObject



152
153
154
# File 'lib/softlayer/network/subnet/ip_address.rb', line 152

def get_public_network_gateway
  request(:get_public_network_gateway, Softlayer::Network::Gateway)
end

#get_remote_management_network_componentObject



156
157
158
# File 'lib/softlayer/network/subnet/ip_address.rb', line 156

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

#get_subnetObject



160
161
162
# File 'lib/softlayer/network/subnet/ip_address.rb', line 160

def get_subnet
  request(:get_subnet, Softlayer::Network::Subnet)
end

#get_syslog_events_one_dayObject



164
165
166
# File 'lib/softlayer/network/subnet/ip_address.rb', line 164

def get_syslog_events_one_day
  request(:get_syslog_events_one_day, Array[Softlayer::Network::Logging::Syslog])
end

#get_syslog_events_seven_daysObject



168
169
170
# File 'lib/softlayer/network/subnet/ip_address.rb', line 168

def get_syslog_events_seven_days
  request(:get_syslog_events_seven_days, Array[Softlayer::Network::Logging::Syslog])
end

#get_top_ten_syslog_events_by_destination_port_one_dayObject



172
173
174
# File 'lib/softlayer/network/subnet/ip_address.rb', line 172

def get_top_ten_syslog_events_by_destination_port_one_day
  request(:get_top_ten_syslog_events_by_destination_port_one_day, Array[Softlayer::Network::Logging::Syslog])
end

#get_top_ten_syslog_events_by_destination_port_seven_daysObject



176
177
178
# File 'lib/softlayer/network/subnet/ip_address.rb', line 176

def get_top_ten_syslog_events_by_destination_port_seven_days
  request(:get_top_ten_syslog_events_by_destination_port_seven_days, Array[Softlayer::Network::Logging::Syslog])
end

#get_top_ten_syslog_events_by_protocols_one_dayObject



180
181
182
# File 'lib/softlayer/network/subnet/ip_address.rb', line 180

def get_top_ten_syslog_events_by_protocols_one_day
  request(:get_top_ten_syslog_events_by_protocols_one_day, Array[Softlayer::Network::Logging::Syslog])
end

#get_top_ten_syslog_events_by_protocols_seven_daysObject



184
185
186
# File 'lib/softlayer/network/subnet/ip_address.rb', line 184

def get_top_ten_syslog_events_by_protocols_seven_days
  request(:get_top_ten_syslog_events_by_protocols_seven_days, Array[Softlayer::Network::Logging::Syslog])
end

#get_top_ten_syslog_events_by_source_ip_one_dayObject



188
189
190
# File 'lib/softlayer/network/subnet/ip_address.rb', line 188

def get_top_ten_syslog_events_by_source_ip_one_day
  request(:get_top_ten_syslog_events_by_source_ip_one_day, Array[Softlayer::Network::Logging::Syslog])
end

#get_top_ten_syslog_events_by_source_ip_seven_daysObject



192
193
194
# File 'lib/softlayer/network/subnet/ip_address.rb', line 192

def get_top_ten_syslog_events_by_source_ip_seven_days
  request(:get_top_ten_syslog_events_by_source_ip_seven_days, Array[Softlayer::Network::Logging::Syslog])
end

#get_top_ten_syslog_events_by_source_port_one_dayObject



196
197
198
# File 'lib/softlayer/network/subnet/ip_address.rb', line 196

def get_top_ten_syslog_events_by_source_port_one_day
  request(:get_top_ten_syslog_events_by_source_port_one_day, Array[Softlayer::Network::Logging::Syslog])
end

#get_top_ten_syslog_events_by_source_port_seven_daysObject



200
201
202
# File 'lib/softlayer/network/subnet/ip_address.rb', line 200

def get_top_ten_syslog_events_by_source_port_seven_days
  request(:get_top_ten_syslog_events_by_source_port_seven_days, Array[Softlayer::Network::Logging::Syslog])
end

#get_virtual_guestObject



204
205
206
# File 'lib/softlayer/network/subnet/ip_address.rb', line 204

def get_virtual_guest
  request(:get_virtual_guest, Softlayer::Virtual::Guest)
end

#get_virtual_licensesObject



208
209
210
# File 'lib/softlayer/network/subnet/ip_address.rb', line 208

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

#remove_access_to_network_storage_list(message) ⇒ Object

network_storage_template_objects



213
214
215
# File 'lib/softlayer/network/subnet/ip_address.rb', line 213

def remove_access_to_network_storage_list(message)
  request(:remove_access_to_network_storage_list, Boolean, message)
end