Class: IControl::GlobalLB::PoolMember

Inherits:
Base
  • Object
show all
Defined in:
lib/icontrol/global_lb/pool_member.rb,
lib/icontrol/global_lb.rb

Overview

The PoolMember interface enables you to work with the pool members and their settings, and statistics.

Defined Under Namespace

Classes: MemberDependency, MemberDependencySequence, MemberDependencySequenceSequence, MemberEnabledState, MemberEnabledStateSequence, MemberEnabledStateSequenceSequence, MemberMetricLimit, MemberMetricLimitSequence, MemberMetricLimitSequenceSequence, MemberMonitorAssociation, MemberMonitorAssociationRemoval, MemberMonitorAssociationRemovalSequence, MemberMonitorAssociationRemovalSequenceSequence, MemberMonitorAssociationSequence, MemberMonitorAssociationSequenceSequence, MemberObjectStatus, MemberObjectStatusSequence, MemberObjectStatusSequenceSequence, MemberOrder, MemberOrderSequence, MemberOrderSequenceSequence, MemberRatio, MemberRatioSequence, MemberRatioSequenceSequence, MemberStatisticEntry, MemberStatisticEntrySequence, MemberStatistics, MemberStatisticsSequence

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

- (Object) add_dependency(opts)

Adds the virtual servers to the dependency list that this pool members depend on.

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.



44
45
46
47
# File 'lib/icontrol/global_lb/pool_member.rb', line 44

def add_dependency(opts)
  check_params(opts,[:dependencies])
  super
end

- (MemberStatistics) all_statistics

Gets the statistics for all pool members of this pool.

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.



56
57
58
# File 'lib/icontrol/global_lb/pool_member.rb', line 56

def all_statistics
  super
end

- (MemberDependency[]) dependency(opts)

Gets the list of virtual servers that this pool members depend on.

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.



69
70
71
72
# File 'lib/icontrol/global_lb/pool_member.rb', line 69

def dependency(opts)
  check_params(opts,[:members])
  super
end

- (MemberEnabledState[]) enabled_state(opts)

Gets the enabled states for this members in this pool.

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.



83
84
85
86
# File 'lib/icontrol/global_lb/pool_member.rb', line 83

def enabled_state(opts)
  check_params(opts,[:members])
  super
end

- (MemberMetricLimit[]) limit(opts)

Gets the metric limits for this members of this pool.

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.



97
98
99
100
# File 'lib/icontrol/global_lb/pool_member.rb', line 97

def limit(opts)
  check_params(opts,[:members])
  super
end

- (MemberMonitorAssociation[]) monitor_association

Gets the monitor associations used by this pool members, i.e. the monitor rules used by the pool members.

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.



110
111
112
# File 'lib/icontrol/global_lb/pool_member.rb', line 110

def monitor_association
  super
end

- (MemberObjectStatus[]) object_status(opts)

Gets the statuses for this members in this pool.

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.



123
124
125
126
# File 'lib/icontrol/global_lb/pool_member.rb', line 123

def object_status(opts)
  check_params(opts,[:members])
  super
end

- (MemberOrder[]) order(opts)

Gets the orders for this members in this pool.

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.



137
138
139
140
# File 'lib/icontrol/global_lb/pool_member.rb', line 137

def order(opts)
  check_params(opts,[:members])
  super
end

- (MemberRatio[]) ratio(opts)

Gets the ratios for this members in this pool.

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.



151
152
153
154
# File 'lib/icontrol/global_lb/pool_member.rb', line 151

def ratio(opts)
  check_params(opts,[:members])
  super
end

- (Object) remove_all_dependencies(opts)

Removes any and all dependencies of this pool members.

Options Hash (opts):

  • :members (IControl::Common::IPPortDefinition[])

    The pool members to remove the dependencies from. These pool members will no longer have any dependency on any other virtual servers.

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.



186
187
188
189
# File 'lib/icontrol/global_lb/pool_member.rb', line 186

def remove_all_dependencies(opts)
  check_params(opts,[:members])
  super
end

- (Object) remove_dependency(opts)

Removes the virtual servers from the dependency list that this pool members depend on.

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.



200
201
202
203
# File 'lib/icontrol/global_lb/pool_member.rb', line 200

def remove_dependency(opts)
  check_params(opts,[:dependencies])
  super
end

- (Object) remove_monitor_association(opts)

Removes the monitor associations for this pool members. Depending on the monitor association removal rule specified, this basically deletes any explicit monitor associations between a pool member and a monitor rule and thus causing the pool member to use the default monitor association of its parent pool, or this will delete any monitor association for the pool members altogether, i.e. this pool members will no longer be monitored.

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.



218
219
220
221
# File 'lib/icontrol/global_lb/pool_member.rb', line 218

def remove_monitor_association(opts)
  check_params(opts,[:monitor_associations])
  super
end

- (Object) reset_statistics(opts)

Resets the statistics for this set of pool members.

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.



231
232
233
234
# File 'lib/icontrol/global_lb/pool_member.rb', line 231

def reset_statistics(opts)
  check_params(opts,[:members])
  super
end

- (Object) set_enabled_state(opts)

Sets the enabled states for this pool members in this pool.

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.



244
245
246
247
# File 'lib/icontrol/global_lb/pool_member.rb', line 244

def set_enabled_state(opts)
  check_params(opts,[:states])
  super
end

- (Object) set_limit(opts)

Sets the metric limits for this members of this pool.

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.



257
258
259
260
# File 'lib/icontrol/global_lb/pool_member.rb', line 257

def set_limit(opts)
  check_params(opts,[:limits])
  super
end

- (Object) set_monitor_association(opts)

Sets/creates the monitor associations for this pool members. This basically creates the monitor associations between a pool member and a monitor rule.

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.



271
272
273
274
# File 'lib/icontrol/global_lb/pool_member.rb', line 271

def set_monitor_association(opts)
  check_params(opts,[:monitor_associations])
  super
end

- (Object) set_order(opts)

Sets the orders for this pool members.

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.



284
285
286
287
# File 'lib/icontrol/global_lb/pool_member.rb', line 284

def set_order(opts)
  check_params(opts,[:orders])
  super
end

- (Object) set_ratio(opts)

Sets the ratios for this pool members.

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.



297
298
299
300
# File 'lib/icontrol/global_lb/pool_member.rb', line 297

def set_ratio(opts)
  check_params(opts,[:ratios])
  super
end

- (MemberStatistics) statistics(opts)

Gets the statistics for this set of pool members.

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.



165
166
167
168
# File 'lib/icontrol/global_lb/pool_member.rb', line 165

def statistics(opts)
  check_params(opts,[:members])
  super
end

- (String) version

Gets the version information for this interface.



174
175
176
# File 'lib/icontrol/global_lb/pool_member.rb', line 174

def version
  super
end