Method: Cisco::RouteMap#set_as_path_prepend

Defined in:
lib/cisco_node_utils/route_map.rb

#set_as_path_prependObject

set as-path prepend 55.77 44 33.5 set as-path prepend last-as 1



1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
# File 'lib/cisco_node_utils/route_map.rb', line 1794

def set_as_path_prepend
  arr = []
  match = config_get('route_map', 'set_as_path_prepend', @get_args)
  if arr
    match.each do |line|
      next if line.include?('last-as')
      arr = line.strip.split
    end
  end
  arr
end