Method: Cisco::RouteMap#match_ipv4_multicast_set

Defined in:
lib/cisco_node_utils/route_map.rb

#match_ipv4_multicast_set(attrs) ⇒ Object



572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
# File 'lib/cisco_node_utils/route_map.rb', line 572

def match_ipv4_multicast_set(attrs)
  set_args_keys(attrs)
  [:match_ipv4_multicast_src_addr,
   :match_ipv4_multicast_group_addr,
   :match_ipv4_multicast_group_range_begin_addr,
   :match_ipv4_multicast_group_range_end_addr,
   :match_ipv4_multicast_rp_addr,
   :match_ipv4_multicast_rp_type,
   :match_ipv4_multicast_enable,
  ].each do |p|
    attrs[p] = '' if attrs[p].nil?
    send(p.to_s + '=', attrs[p])
  end
  @get_args = @set_args
  config_set('route_map', 'match_ipv4_multicast', @set_args)
end