Method: Cisco::RouteMap#match_ipv6_multicast_get

Defined in:
lib/cisco_node_utils/route_map.rb

#match_ipv6_multicast_getObject



717
718
719
720
721
722
723
724
725
726
727
# File 'lib/cisco_node_utils/route_map.rb', line 717

def match_ipv6_multicast_get
  str = config_get('route_map', 'match_ipv6_multicast', @get_args)
  return nil if str.nil?
  regexp = Regexp.new('match ipv6 multicast *(?<src>source \S+)?'\
                      ' *(?<grp>group \S+)?'\
                      ' *(?<grp_range_start>group-range \S+)?'\
                      ' *(?<grp_range_end>to \S+)?'\
                      ' *(?<rp>rp \S+)?'\
                      ' *(?<rp_type>rp-type \S+)?')
  regexp.match(str)
end