lib/junoser/ruler.rb in junoser-0.3.5 vs lib/junoser/ruler.rb in junoser-0.3.6
- old
+ new
@@ -42,9 +42,11 @@
end
def process_reserved_element(str)
str.gsub! /"\$\S+"/, 'arg'
+ str.gsub! /"groups" \(\s*s\(\s*any\s*\)\s*\)/, 'a("groups", arg, configuration)'
+
%w[as-number confederation-as metric-value limit-threshold filename filter-name class-name classifier-name link-subscription per-traffic-class-bandwidth template-name].each do |key|
str.gsub! %["#{key}" arg], 'arg'
end
str.gsub! '"equal-literal"', '"="'