Class: CloudControl::API::Network

Inherits:
Core
  • Object
show all
Defined in:
lib/cloudcontrol/api/network.rb

Instance Attribute Summary

Attributes inherited from Core

#client

Instance Method Summary collapse

Methods inherited from Core

#endpoint, #get, #get_simple, #initialize, #log, #org_endpoint, #org_id, #perform, #post, #post_simple, #query_params, #request_query_string, #request_simple_body, #request_xml_body, #simple_params, #single, #xml_params

Constructor Details

This class inherits a constructor from CloudControl::API::Core

Instance Method Details

#list_default_healthmon(options = {}) ⇒ Object



121
122
123
124
125
# File 'lib/cloudcontrol/api/network.rb', line 121

def list_default_healthmon(options = {})
  org_endpoint '/networkDomainVip/defaultHealthMonitor'
  query_params options
  get_simple
end

#list_default_irules(options = {}) ⇒ Object



133
134
135
136
137
# File 'lib/cloudcontrol/api/network.rb', line 133

def list_default_irules(options = {})
  org_endpoint '/networkDomainVip/defaultiRu'
  query_params options
  get_simple
end

#list_default_persistence(options = {}) ⇒ Object



127
128
129
130
131
# File 'lib/cloudcontrol/api/network.rb', line 127

def list_default_persistence(options = {})
  org_endpoint '/networkDomainVip/defaultPersistenceProfile'
  query_params options
  get_simple
end

#list_domains(options = {}) ⇒ Object



3
4
5
6
7
# File 'lib/cloudcontrol/api/network.rb', line 3

def list_domains(options = {})
  org_endpoint '/network/networkDomain'
  query_params options
  get_simple
end

#list_domains_byname(name, options = {}) ⇒ Object



9
10
11
12
# File 'lib/cloudcontrol/api/network.rb', line 9

def list_domains_byname(name, options = {})
  options[:name] = name
  single(list_domains(options))
end

#list_fw_rules(options = {}) ⇒ Object



55
56
57
58
59
# File 'lib/cloudcontrol/api/network.rb', line 55

def list_fw_rules(options = {})
  org_endpoint '/network/firewallRule'
  query_params options
  get_simple
end

#list_ipaddress_lists(options = {}) ⇒ Object



61
62
63
64
65
# File 'lib/cloudcontrol/api/network.rb', line 61

def list_ipaddress_lists(options = {})
  org_endpoint '/network/ipAddressList'
  query_params options
  get_simple
end

#list_nat_rules(options = {}) ⇒ Object



73
74
75
76
77
# File 'lib/cloudcontrol/api/network.rb', line 73

def list_nat_rules( options = {})
  org_endpoint '/network/natRule'
  query_params options
  get_simple
end

#list_port_lists(options = {}) ⇒ Object



67
68
69
70
71
# File 'lib/cloudcontrol/api/network.rb', line 67

def list_port_lists(options = {})
  org_endpoint '/network/portList'
  query_params options
  get_simple
end

#list_publicipv4(options = {}) ⇒ Object



25
26
27
28
29
# File 'lib/cloudcontrol/api/network.rb', line 25

def list_publicipv4(options = {})
  org_endpoint '/network/publicIpBlock'
  query_params options
  get_simple
end

#list_reserved_ipv6(options = {}) ⇒ Object



43
44
45
46
47
# File 'lib/cloudcontrol/api/network.rb', line 43

def list_reserved_ipv6(options = {})
  org_endpoint '/network/reservedIpv6Address'
  query_params options
  get_simple
end

#list_reserved_privateipv4(options = {}) ⇒ Object



37
38
39
40
41
# File 'lib/cloudcontrol/api/network.rb', line 37

def list_reserved_privateipv4(options = {})
  org_endpoint '/network/reservedPrivateIpv4Address'
  query_params options
  get_simple
end

#list_reserved_publicipv4(options = {}) ⇒ Object



31
32
33
34
35
# File 'lib/cloudcontrol/api/network.rb', line 31

def list_reserved_publicipv4(options = {})
  org_endpoint '/network/reservedPublicIpv4Address'
  query_params options
  get_simple
end

#list_security_groups(options = {}) ⇒ Object



139
140
141
142
143
# File 'lib/cloudcontrol/api/network.rb', line 139

def list_security_groups(options = {})
  org_endpoint '/securityGroup/securityGroup'
  query_params options
  get_simple
end

#list_ssl_certchains(options = {}) ⇒ Object



109
110
111
112
113
# File 'lib/cloudcontrol/api/network.rb', line 109

def list_ssl_certchains(options = {})
  org_endpoint '/networkDomainVip/sslCertificateChain'
  query_params options
  get_simple
end

#list_ssl_certs(options = {}) ⇒ Object



103
104
105
106
107
# File 'lib/cloudcontrol/api/network.rb', line 103

def list_ssl_certs(options = {})
  org_endpoint '/networkDomainVip/sslDomainCertificate'
  query_params options
  get_simple
end

#list_ssl_offload_profile(options = {}) ⇒ Object



115
116
117
118
119
# File 'lib/cloudcontrol/api/network.rb', line 115

def list_ssl_offload_profile(options = {})
  org_endpoint '/networkDomainVip/sslOffloadProfile'
  query_params options
  get_simple
end

#list_staticroutes(options = {}) ⇒ Object



49
50
51
52
53
# File 'lib/cloudcontrol/api/network.rb', line 49

def list_staticroutes(options = {})
 org_endpoint '/network/staticRoute'
  query_params options
  get_simple
end

#list_vip_nodes(options = {}) ⇒ Object



79
80
81
82
83
# File 'lib/cloudcontrol/api/network.rb', line 79

def list_vip_nodes(options = {})
  org_endpoint '/networkDomainVip/node'
  query_params options
  get_simple
end

#list_vip_pool_members(options = {}) ⇒ Object



91
92
93
94
95
# File 'lib/cloudcontrol/api/network.rb', line 91

def list_vip_pool_members(options = {})
  org_endpoint '/networkDomainVip/poolMember'
  query_params options
  get_simple
end

#list_vip_pools(options = {}) ⇒ Object



85
86
87
88
89
# File 'lib/cloudcontrol/api/network.rb', line 85

def list_vip_pools(options = {})
  org_endpoint '/networkDomainVip/pool'
  query_params options
  get_simple
end

#list_virtual_listeners(options = {}) ⇒ Object



97
98
99
100
101
# File 'lib/cloudcontrol/api/network.rb', line 97

def list_virtual_listeners(options = {})
  org_endpoint '/networkDomainVip/virtualListener'
  query_params options
  get_simple
end

#listvlan_byname(name, options = {}) ⇒ Object



20
21
22
23
# File 'lib/cloudcontrol/api/network.rb', line 20

def listvlan_byname(name, options = {})
  options[:name] = name
  single(listvlans(options))
end

#listvlans(options = {}) ⇒ Object



14
15
16
17
18
# File 'lib/cloudcontrol/api/network.rb', line 14

def listvlans(options = {})
  org_endpoint '/network/vlan'
  query_params options
  get_simple
end