Class: IControl::Networking::RouteTable
- Inherits:
-
Base
- Object
- Base
- IControl::Networking::RouteTable
- Defined in:
- lib/icontrol/networking/route_table.rb,
lib/icontrol/networking.rb
Overview
The RouteTable interface enables you to work with the Route table and entries.
Defined Under Namespace
Classes: DynamicRoute, DynamicRouteSequence, DynamicRouteStatistics, DynamicRouteStatisticsSequence, RouteAttribute, RouteAttributeSequence, RouteDefinition, RouteDefinitionSequence, RouteTableMetricEntry, RouteTableMetricEntrySequence, RouteTableMetricStatistics, RouteTableMetricStatisticsSequence
Instance Method Summary collapse
-
#add_management_route(opts) ⇒ Object
Adds this management route entries to the route table.
-
#add_static_route(opts) ⇒ Object
Adds this static route entries to the route table.
-
#delete_all_management_routes ⇒ Object
Deletes all management route entries from the route table.
-
#delete_all_static_routes ⇒ Object
Deletes all static route entries from the route table.
-
#delete_management_route ⇒ Object
Deletes this management route entries from the route table.
-
#delete_static_route ⇒ Object
Deletes this static route entries from the route table.
-
#dynamic_route(opts) ⇒ DynamicRouteStatistics
Gets the dynamic route for this destination IP addresses.
-
#management_route ⇒ RouteDefinition
Gets a list of all management route entries.
-
#management_route_gateway ⇒ String
Gets the gateways for this management route.
-
#management_route_mtu ⇒ long
Gets the MTUs for this management route.
-
#management_route_type ⇒ RouteEntryType
Gets the route type for this management route.
-
#reset_all_route_table_metric_statistics ⇒ Object
Resets or flushes all route metric statistics.
-
#route_table_metric_statistics_for_destination(opts) ⇒ RouteTableMetricStatistics
Gets the route metric statistics for this destination IP addresses.
-
#route_table_metric_statistics_for_mac(opts) ⇒ RouteTableMetricStatistics
Gets the route metric statistics for this MAC addresses of the gateways.
-
#set_management_route_gateway(opts) ⇒ Object
Sets the gateways for this management route.
-
#set_management_route_mtu(opts) ⇒ Object
Sets the MTUs for this management route.
-
#set_management_route_reject ⇒ Object
Sets the state that rejects all requests for this management route.
-
#set_static_route_gateway(opts) ⇒ Object
Sets the gateways for this static route.
-
#set_static_route_mtu(opts) ⇒ Object
Sets the MTUs for this static route.
-
#set_static_route_pool(opts) ⇒ Object
Sets the pool names for this static route.
-
#set_static_route_reject ⇒ Object
Sets the state that rejects all requests for this static route.
-
#set_static_route_vlan(opts) ⇒ Object
Sets the VLAN names for this static route.
-
#static_route ⇒ RouteDefinition
Gets a list of all static route entries.
-
#static_route_gateway ⇒ String
Gets the gateways for this static route.
-
#static_route_mtu ⇒ long
Gets the MTUs for this static route.
-
#static_route_pool ⇒ String
Gets the pool names for this static route.
-
#static_route_type ⇒ RouteEntryType
Gets the route type for this static route.
-
#static_route_vlan ⇒ String
Gets the VLAN names for this static route.
-
#version ⇒ String
Gets the version information for this interface.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class IControl::Base
Instance Method Details
#add_management_route(opts) ⇒ Object
Adds this management route entries to the route table.
27 28 29 30 |
# File 'lib/icontrol/networking/route_table.rb', line 27 def add_management_route(opts) opts = check_params(opts,[:attributes]) super(opts) end |
#add_static_route(opts) ⇒ Object
Adds this static route entries to the route table.
40 41 42 43 |
# File 'lib/icontrol/networking/route_table.rb', line 40 def add_static_route(opts) opts = check_params(opts,[:attributes]) super(opts) end |
#delete_all_management_routes ⇒ Object
Deletes all management route entries from the route table.
51 52 53 |
# File 'lib/icontrol/networking/route_table.rb', line 51 def delete_all_management_routes super end |
#delete_all_static_routes ⇒ Object
Deletes all static route entries from the route table.
61 62 63 |
# File 'lib/icontrol/networking/route_table.rb', line 61 def delete_all_static_routes super end |
#delete_management_route ⇒ Object
Deletes this management route entries from the route table.
71 72 73 |
# File 'lib/icontrol/networking/route_table.rb', line 71 def delete_management_route super end |
#delete_static_route ⇒ Object
Deletes this static route entries from the route table.
81 82 83 |
# File 'lib/icontrol/networking/route_table.rb', line 81 def delete_static_route super end |
#dynamic_route(opts) ⇒ DynamicRouteStatistics
Gets the dynamic route for this destination IP addresses.
94 95 96 97 |
# File 'lib/icontrol/networking/route_table.rb', line 94 def dynamic_route(opts) opts = check_params(opts,[:destinations]) super(opts) end |
#management_route ⇒ RouteDefinition
Gets a list of all management route entries.
106 107 108 |
# File 'lib/icontrol/networking/route_table.rb', line 106 def management_route super end |
#management_route_gateway ⇒ String
Gets the gateways for this management route.
117 118 119 |
# File 'lib/icontrol/networking/route_table.rb', line 117 def management_route_gateway super end |
#management_route_mtu ⇒ long
Gets the MTUs for this management route.
128 129 130 |
# File 'lib/icontrol/networking/route_table.rb', line 128 def management_route_mtu super end |
#management_route_type ⇒ RouteEntryType
Gets the route type for this management route.
139 140 141 |
# File 'lib/icontrol/networking/route_table.rb', line 139 def management_route_type super end |
#reset_all_route_table_metric_statistics ⇒ Object
Resets or flushes all route metric statistics.
252 253 254 |
# File 'lib/icontrol/networking/route_table.rb', line 252 def reset_all_route_table_metric_statistics super end |
#route_table_metric_statistics_for_destination(opts) ⇒ RouteTableMetricStatistics
Gets the route metric statistics for this destination IP addresses.
152 153 154 155 |
# File 'lib/icontrol/networking/route_table.rb', line 152 def route_table_metric_statistics_for_destination(opts) opts = check_params(opts,[:destinations]) super(opts) end |
#route_table_metric_statistics_for_mac(opts) ⇒ RouteTableMetricStatistics
Gets the route metric statistics for this MAC addresses of the gateways.
166 167 168 169 |
# File 'lib/icontrol/networking/route_table.rb', line 166 def route_table_metric_statistics_for_mac(opts) opts = check_params(opts,[:mac_addresses]) super(opts) end |
#set_management_route_gateway(opts) ⇒ Object
Sets the gateways for this management route.
264 265 266 267 |
# File 'lib/icontrol/networking/route_table.rb', line 264 def set_management_route_gateway(opts) opts = check_params(opts,[:gateways]) super(opts) end |
#set_management_route_mtu(opts) ⇒ Object
Sets the MTUs for this management route.
277 278 279 280 |
# File 'lib/icontrol/networking/route_table.rb', line 277 def set_management_route_mtu(opts) opts = check_params(opts,[:mtus]) super(opts) end |
#set_management_route_reject ⇒ Object
Sets the state that rejects all requests for this management route.
288 289 290 |
# File 'lib/icontrol/networking/route_table.rb', line 288 def set_management_route_reject super end |
#set_static_route_gateway(opts) ⇒ Object
Sets the gateways for this static route.
300 301 302 303 |
# File 'lib/icontrol/networking/route_table.rb', line 300 def set_static_route_gateway(opts) opts = check_params(opts,[:gateways]) super(opts) end |
#set_static_route_mtu(opts) ⇒ Object
Sets the MTUs for this static route.
313 314 315 316 |
# File 'lib/icontrol/networking/route_table.rb', line 313 def set_static_route_mtu(opts) opts = check_params(opts,[:mtus]) super(opts) end |
#set_static_route_pool(opts) ⇒ Object
Sets the pool names for this static route. The pool name allow the destination to select the nexthop router from a pool.
327 328 329 330 |
# File 'lib/icontrol/networking/route_table.rb', line 327 def set_static_route_pool(opts) opts = check_params(opts,[:pools]) super(opts) end |
#set_static_route_reject ⇒ Object
Sets the state that rejects all requests for this static route.
338 339 340 |
# File 'lib/icontrol/networking/route_table.rb', line 338 def set_static_route_reject super end |
#set_static_route_vlan(opts) ⇒ Object
Sets the VLAN names for this static route.
350 351 352 353 |
# File 'lib/icontrol/networking/route_table.rb', line 350 def set_static_route_vlan(opts) opts = check_params(opts,[:vlans]) super(opts) end |
#static_route ⇒ RouteDefinition
Gets a list of all static route entries.
178 179 180 |
# File 'lib/icontrol/networking/route_table.rb', line 178 def static_route super end |
#static_route_gateway ⇒ String
Gets the gateways for this static route.
189 190 191 |
# File 'lib/icontrol/networking/route_table.rb', line 189 def static_route_gateway super end |
#static_route_mtu ⇒ long
Gets the MTUs for this static route.
200 201 202 |
# File 'lib/icontrol/networking/route_table.rb', line 200 def static_route_mtu super end |
#static_route_pool ⇒ String
Gets the pool names for this static route. The pool name allow the destination to select the nexthop router from a pool.
212 213 214 |
# File 'lib/icontrol/networking/route_table.rb', line 212 def static_route_pool super end |
#static_route_type ⇒ RouteEntryType
Gets the route type for this static route.
223 224 225 |
# File 'lib/icontrol/networking/route_table.rb', line 223 def static_route_type super end |
#static_route_vlan ⇒ String
Gets the VLAN names for this static route.
234 235 236 |
# File 'lib/icontrol/networking/route_table.rb', line 234 def static_route_vlan super end |
#version ⇒ String
Gets the version information for this interface.
242 243 244 |
# File 'lib/icontrol/networking/route_table.rb', line 242 def version super end |