Method: Cisco::RouteMap#match_community

Defined in:
lib/cisco_node_utils/route_map.rb

#match_communityObject

match community public private exact-match



156
157
158
159
160
161
162
163
164
165
# File 'lib/cisco_node_utils/route_map.rb', line 156

def match_community
  str = config_get('route_map', 'match_community', @get_args)
  if str.empty?
    val = default_match_community
  else
    val = str.split
    val.delete('exact-match')
  end
  val
end