Method: Cisco::RouteMap#match_interface
- Defined in:
- lib/cisco_node_utils/route_map.rb
#match_interface ⇒ Object
match interface port-channel1 Null0 (and so on)
248 249 250 251 252 253 |
# File 'lib/cisco_node_utils/route_map.rb', line 248 def match_interface str = config_get('route_map', 'match_interface', @get_args) intf = str.empty? ? default_match_interface : str.split # Normalize by downcasing intf.map!(&:downcase) end |