Method: Cisco::RouteMap#set_ipv4_next_hop_load_share
- Defined in:
- lib/cisco_node_utils/route_map.rb
#set_ipv4_next_hop_load_share ⇒ Object
set ip next-hop 1.1.1.1 2.2.2.2 3.3.3.3 load-share set ip next-hop load-share
1963 1964 1965 1966 1967 1968 1969 1970 1971 |
# File 'lib/cisco_node_utils/route_map.rb', line 1963 def set_ipv4_next_hop_load_share arr = config_get('route_map', 'set_ipv4_next_hop', @get_args) val = default_set_ipv4_next_hop_load_share arr.each do |str| next if str.empty? return true if str.include?('load-share') end val end |