lib/junoser/parser.rb in junoser-0.2.8 vs lib/junoser/parser.rb in junoser-0.2.9

- old
+ new

@@ -22842,10 +22842,13 @@ b(str("mld-snooping"), juniper_protocols_mld_snooping ), b(str("layer2-control"), juniper_protocols_layer2_control + ), + b(str("sflow"), + juniper_protocols_sflow ) ) end rule(:admin_group_include_exclude) do @@ -38223,9 +38226,54 @@ ) ) ).as(:oneline), a(str("level"), arg), a(str("flag"), str("active-directory-authentication") | str("configuration") | str("db") | str("ip-user-mapping") | str("ip-user-probe") | str("ipc") | str("user-group-mapping") | str("wmic") | str("all")).as(:oneline) + ) + ) + ) + end + + rule(:juniper_protocols_sflow) do + c( + a(str("agent-id"), ipaddr), + b(a(str("collector"), ipaddr), + a(str("udp-port"), arg) + ), + b(a(str("interfaces"), arg), + c( + a(str("polling-interval"), arg), + b(str("sample-rate"), + c( + a(str("egress"), arg), + a(str("ingress"), arg), + ) + ) + ) + ), + a(str("polling-interval"), arg), + b(str("sample-rate"), + c( + a(str("egress"), arg), + a(str("ingress"), arg) + ) + ), + a(str("source-ip"), ipaddr), + str("disable-sw-rate-limiter"), + b(str("traceoptions"), + c( + b(str("file"), + sca( + a(str("files"), arg), + str("no-stamp"), + str("replace"), + a(str("size"), arg), + str("world-readable"), + str("no-world-readable"), + arg + ) + ), + a(str("flag"), str("all") | str("client-server") | str("configuration") | str("interface") | str("rtsock")).as(:oneline) ) ) ) end end