def set_extcommunity_4bytes_set(none, transit, non_transit, add)
      str = ''
      # reset first
      set_args_keys(state: 'no', string: str)
      config_set('route_map', 'set_extcommunity_4bytes', @set_args)
      return unless none || add || !transit.empty? || !non_transit.empty?
      str.concat('none') if none
      transit.each do |elem|
        str.concat('transitive ' + elem + ' ')
      end
      non_transit.each do |elem|
        str.concat('non-transitive ' + elem + ' ')
      end
      str.concat('additive') if add
      set_args_keys(state: '', string: str)
      config_set('route_map', 'set_extcommunity_4bytes', @set_args)
    end
def set_extcommunity_4bytes_set(none, transit, non_transit, add)
      str = ''
      # reset first
      set_args_keys(state: 'no', string: str)
      config_set('route_map', 'set_extcommunity_4bytes', @set_args)
      return unless none || add || !transit.empty? || !non_transit.empty?
      str.concat('none') if none
      transit.each do |elem|
        str.concat('transitive ' + elem + ' ')
      end
      non_transit.each do |elem|
        str.concat('non-transitive ' + elem + ' ')
      end
      str.concat('additive') if add
      set_args_keys(state: '', string: str)
      config_set('route_map', 'set_extcommunity_4bytes', @set_args)
    end
set extcommunity 4byteas-generic none
 set extcommunity 4byteas-generic additive
 set extcommunity 4byteas-generic transitive 11:22 transitive 22:33
 set extcommunity 4byteas-generic non-transitive 11:22
 set extcommunity 4byteas-generic transitive 22:33 non-transitive 11:22