Class: IControl::Networking::ISessionRemoteInterface

Inherits:
Base
  • Object
show all
Defined in:
lib/icontrol/networking/i_session_remote_interface.rb,
lib/icontrol/networking.rb

Overview

The iSession RemoteInterface interface enables you to work with the definitions and attributes contained in a device's peer iSession Remote Endpoint objects.

Defined Under Namespace

Classes: NatSourceAddress, NatSourceAddressSequence, OriginState, OriginStateSequence

Instance Method Summary collapse

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class IControl::Base

Instance Method Details

#behind_natEnabledState

Get the nat attribute from the peer WOC object.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



68
69
70
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 68

def behind_nat
  super
end

#create(opts) ⇒ Object

Create a peer Remote Endpoint object.

Options Hash (opts):

  • :peer_names (String)

    The peer names.

  • :serverssls (String)

    The serverssl identifiers.

  • :peer_ips (String)

    The peer mgmt ips.

  • :enabled_states (IControl::Common::EnabledState)

    The is enable states settings.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



25
26
27
28
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 25

def create(opts)
  opts = check_params(opts,[:peer_names,:serverssls,:peer_ips,:enabled_states])
  super(opts)
end

#dedup_cachelong

Get dedup_cache

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



79
80
81
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 79

def dedup_cache
  super
end

#delete_all_peersObject

Deletes all peer remote endpoint objects.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



36
37
38
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 36

def delete_all_peers
  super
end

#delete_peerObject

Delete the peer Remote Endpoint object.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



46
47
48
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 46

def delete_peer
  super
end

#listString

Get a list of the current iSession peer objects.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



90
91
92
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 90

def list
  super
end

#management_addressString

Get Management address

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



101
102
103
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 101

def management_address
  super
end

#nat_config_statusString

Get config_status

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



112
113
114
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 112

def nat_config_status
  super
end

#nat_source_addressNatSourceAddress

Get the nat address attribute in the peer WOC object.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



123
124
125
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 123

def nat_source_address
  super
end

#originOriginState

Get origin

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



134
135
136
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 134

def origin
  super
end

#peer_enabled_stateEnabledState

Get enable setting in the peer object.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



145
146
147
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 145

def peer_enabled_state
  super
end

#peer_ip_listString[]

Get a list of the current iSession peer object ips.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



156
157
158
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 156

def peer_ip_list
  super
end

#peer_routing_stateEnabledState

Get enabled flag in the peer routing attribute.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



167
168
169
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 167

def peer_routing_state
  super
end

#profile_serversslString

Get serverssl

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



178
179
180
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 178

def profile_serverssl
  super
end

#set_behind_nat(opts) ⇒ Object

Set the nat attribute in the peer WOC object.

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



209
210
211
212
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 209

def set_behind_nat(opts)
  opts = check_params(opts,[:nat_states])
  super(opts)
end

#set_management_address(opts) ⇒ Object

Set Management address

Options Hash (opts):

  • :ips (String)

    The new mgmt addresses to use.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



222
223
224
225
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 222

def set_management_address(opts)
  opts = check_params(opts,[:ips])
  super(opts)
end

#set_nat_config_status(opts) ⇒ Object

Set config_status

Options Hash (opts):

  • :nat_configs (String)

    The new nat configs.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



235
236
237
238
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 235

def set_nat_config_status(opts)
  opts = check_params(opts,[:nat_configs])
  super(opts)
end

#set_nat_source_address(opts) ⇒ Object

Set the nat address attribute in the peer WOC object.

Options Hash (opts):

  • :nat_states (IControl::Networking::iSessionRemoteInterface::NatSourceAddress)

    The new nat states.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



248
249
250
251
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 248

def set_nat_source_address(opts)
  opts = check_params(opts,[:nat_states])
  super(opts)
end

#set_origin(opts) ⇒ Object

Set origin

Options Hash (opts):

  • :origins (IControl::Networking::iSessionRemoteInterface::OriginState)

    The new peer origin states.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



261
262
263
264
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 261

def set_origin(opts)
  opts = check_params(opts,[:origins])
  super(opts)
end

#set_peer_enabled_state(opts) ⇒ Object

Set enable in the peer object.

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



274
275
276
277
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 274

def set_peer_enabled_state(opts)
  opts = check_params(opts,[:enabled])
  super(opts)
end

#set_peer_routing_state(opts) ⇒ Object

Set enabled flag in the peer routing attribute.

Options Hash (opts):

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



287
288
289
290
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 287

def set_peer_routing_state(opts)
  opts = check_params(opts,[:routing])
  super(opts)
end

#set_profile_serverssl(opts) ⇒ Object

Set serverssl

Options Hash (opts):

  • :serverssl (String)

    The server ssl name.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



300
301
302
303
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 300

def set_profile_serverssl(opts)
  opts = check_params(opts,[:serverssl])
  super(opts)
end

#set_tunnel_port(opts) ⇒ Object

Set tunnel_port

Options Hash (opts):

  • :tunnel_ports (short)

    The tunnel port number.

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



313
314
315
316
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 313

def set_tunnel_port(opts)
  opts = check_params(opts,[:tunnel_ports])
  super(opts)
end

#tunnel_portshort

Get tunnel_port

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



189
190
191
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 189

def tunnel_port
  super
end

#UUIDUuid_128

Get UUID

Raises:

  • (IControl::IControl::Common::AccessDenied)

    raised if the client credentials are not valid.

  • (IControl::IControl::Common::InvalidArgument)

    raised if one of the arguments is invalid.

  • (IControl::IControl::Common::OperationFailed)

    raised if an operation error occurs.



57
58
59
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 57

def UUID
  super
end

#versionString

Gets the version information for this interface.



197
198
199
# File 'lib/icontrol/networking/i_session_remote_interface.rb', line 197

def version
  super
end