lib/junoser/ruler.rb in junoser-0.2.9 vs lib/junoser/ruler.rb in junoser-0.2.10
- old
+ new
@@ -65,9 +65,10 @@
str = omit_label(str, 'interface', 'interfaces_type')
str = omit_label(str, 'client-address-list', 'client_address_object')
str = omit_label(str, 'prefix-list-item', 'prefix_list_items')
str = omit_label(str, 'instance', 'juniper_routing_instance')
str = omit_label(str, 'vlan', 'vlan_type')
+ str = omit_label(str, 'dynamic-tunnel', 'dynamic_tunnel_type')
str.gsub!(/"icmp"(.*)"icmp6"/) { %["icmpv6"#$1"icmp"] }
str.gsub!(/"http"(.*)"https"/) { %["https"#$1"http"] }
str.gsub!(/"snmp"(.*)"snmptrap"/) { %["snmptrap"#$1"snmp"] }
str.gsub!(/"cspf"(.*)"cspf-link"/) { %["cspf-link"#$1"cspf"] }