lib/junoser/parser.rb in junoser-0.3.3 vs lib/junoser/parser.rb in junoser-0.3.4

- old
+ new

@@ -66,10 +66,14 @@ def sca(*objects) (c(*objects, arg) >> space.maybe).repeat(0) end + def enum(object) + (object.as(:enum)) + end + rule(:arg) { match('\S').repeat(1) } rule(:space) { match('\s').repeat(1) } rule(:any) { match('.').repeat(1) } rule(:eos) { match('$') } rule(:dotted) { match('[^. \t\n\r\f]').repeat(1) >> str('.') >> match('[^. \t\n\r\f]').repeat(1) } @@ -359,11 +363,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all") | str("configuration") | str("rtsock") | str("client-server") | str("interface") | str("xmlproxy")), + a(str("flag"), enum(str("all") | str("configuration") | str("rtsock") | str("client-server") | str("interface") | str("xmlproxy")), c( str("disable") ) ).as(:oneline) ) @@ -459,11 +463,11 @@ ), b(a(str("address"), arg), c( b(a(str("port"), arg), c( - a(str("transport"), (str("tcp") | str("udp")), + a(str("transport"), enum(str("tcp") | str("udp")), c( a(str("export-profile"), arg) ) ) ) @@ -508,11 +512,11 @@ b(a(str("port"), arg), c( b(str("stream-format"), (str("json") | str("csv") | str("tsv")) ), - a(str("stream-type"), (str("traffic-statistics") | str("queue-statistics"))) + a(str("stream-type"), enum(str("traffic-statistics") | str("queue-statistics"))) ) ) ) ) ) @@ -1461,11 +1465,11 @@ ) ) ) ) ), - a(str("syslog"), (str("any") | str("authorization") | str("privileged") | str("cron") | str("daemon") | str("kernel") | str("syslog") | str("user") | str("uucp") | str("local0") | str("local1") | str("local2") | str("local3") | str("local4") | str("local5") | str("local6") | str("local7")), + a(str("syslog"), enum(str("any") | str("authorization") | str("privileged") | str("cron") | str("daemon") | str("kernel") | str("syslog") | str("user") | str("uucp") | str("local0") | str("local1") | str("local2") | str("local3") | str("local4") | str("local5") | str("local6") | str("local7")), c( c( str("any"), str("emergency"), str("alert"), @@ -1629,11 +1633,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all") | str("ipc") | str("config") | str("connect"))).as(:oneline) + a(str("flag"), enum(str("all") | str("ipc") | str("config") | str("connect"))).as(:oneline) ) ), b(a(str("captive-portal"), arg), c( b(str("redirect-traffic"), @@ -1987,11 +1991,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all"))).as(:oneline), + a(str("flag"), enum(str("all"))).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ) ) ) @@ -2171,14 +2175,14 @@ c( b(str("hash-keys"), c( str("resource-triggered"), b(str("ingress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) ), b(str("egress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) ) ) ) ) ) @@ -2613,17 +2617,17 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("gres") | str("init") | str("events") | str("memory") | str("message") | str("packet-error") | str("parse") | str("receive-packets") | str("session-db") | str("states") | str("timer") | str("transmit-packets") | str("routing-socket") | str("routing-process") | str("protocol") | str("configuration") | str("ipc-tx") | str("ipc-rx") | str("general") | str("tunnel") | str("stats") | str("authentication") | str("all"))).as(:oneline), + a(str("flag"), enum(str("gres") | str("init") | str("events") | str("memory") | str("message") | str("packet-error") | str("parse") | str("receive-packets") | str("session-db") | str("states") | str("timer") | str("transmit-packets") | str("routing-socket") | str("routing-process") | str("protocol") | str("configuration") | str("ipc-tx") | str("ipc-rx") | str("general") | str("tunnel") | str("stats") | str("authentication") | str("all"))).as(:oneline), b(str("debug-level"), (str("error") | str("detail") | str("packet-dump")) ), b(str("filter"), c( - a(str("protocol"), (str("ppp") | str("l2tp") | str("radius") | str("udp"))).as(:oneline), + a(str("protocol"), enum(str("ppp") | str("l2tp") | str("radius") | str("udp"))).as(:oneline), a(str("user-name"), arg), b(str("user"), c( arg ) @@ -2724,11 +2728,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("routing-socket") | str("routing-protocol") | str("service-identification") | str("configuration") | str("ipc") | str("kernel-object") | str("snmp") | str("all"))).as(:oneline) + a(str("flag"), enum(str("routing-socket") | str("routing-protocol") | str("service-identification") | str("configuration") | str("ipc") | str("kernel-object") | str("snmp") | str("all"))).as(:oneline) ) ) ) ), b(str("license-management"), @@ -3243,11 +3247,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all") | str("kernel") | str("change-events") | str("kernel-detail") | str("config-states") | str("resource-usage") | str("gres-events") | str("select-events") | str("bfd-events") | str("lib-events") | str("reserved") | str("emergency") | str("alert") | str("critical") | str("error") | str("warning") | str("notice") | str("informational") | str("debugging") | str("verbose") | str("japi")), + a(str("flag"), enum(str("all") | str("kernel") | str("change-events") | str("kernel-detail") | str("config-states") | str("resource-usage") | str("gres-events") | str("select-events") | str("bfd-events") | str("lib-events") | str("reserved") | str("emergency") | str("alert") | str("critical") | str("error") | str("warning") | str("notice") | str("informational") | str("debugging") | str("verbose") | str("japi")), c( str("disable") ) ).as(:oneline) ) @@ -3274,11 +3278,11 @@ a(str("member-interfaces"), arg) ) ), b(str("traceoptions"), c( - a(str("flag"), (str("ipc") | str("event") | str("media") | str("all"))).as(:oneline) + a(str("flag"), enum(str("ipc") | str("event") | str("media") | str("all"))).as(:oneline) ) ), str("passive-monitor-mode"), c( b(str("keepalives"), @@ -4503,11 +4507,11 @@ (str("differential") | str("non-differential")) ), b(str("fec"), (str("sdfec") | str("sdfec25")) ), - a(str("alarm"), (str("low-light-alarm")), + a(str("alarm"), enum(str("low-light-alarm")), c( c( str("syslog"), str("link-down") ) @@ -4667,11 +4671,11 @@ a(str("threshold-24hrs"), arg) ) ) ) ), - a(str("warning"), (str("low-light-warning")), + a(str("warning"), enum(str("low-light-warning")), c( c( str("syslog"), str("link-down") ) @@ -5111,11 +5115,11 @@ a(str("input-policer"), arg), a(str("input-hierarchical-policer"), arg) ) ) ), - a(str("unit"), (arg | arg | arg), + a(str("unit"), enum(arg | arg | arg), c( b(str("policer-overhead"), ca( a(str("ingress"), arg), a(str("egress"), arg) @@ -5199,14 +5203,14 @@ ) ) ), str("actual-transit-statistics"), b(str("demux-source"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("demux-destination"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("encapsulation"), (str("atm-nlpid") | str("atm-cisco-nlpid") | str("atm-snap") | str("atm-vc-mux") | str("atm-ccc-vc-mux") | str("atm-tcc-vc-mux") | str("atm-tcc-snap") | str("atm-ccc-cell-relay") | str("vlan-vci-ccc") | str("ether-over-atm-llc") | str("ether-vpls-over-atm-llc") | str("ppp-over-ether-over-atm-llc") | str("ppp-over-ether") | str("atm-ppp-vc-mux") | str("atm-ppp-llc") | str("atm-mlppp-llc") | str("frame-relay-ppp") | str("frame-relay-ccc") | str("frame-relay") | str("frame-relay-tcc") | str("frame-relay-ether-type") | str("frame-relay-ether-type-tcc") | str("ether-vpls-fr") | str("vlan-ccc") | str("ethernet-ccc") | str("vlan-vpls") | str("vlan-bridge") | str("dix") | str("ethernet-vpls") | str("ethernet-bridge") | str("ethernet") | str("vlan") | str("vlan-tcc") | str("multilink-ppp") | str("multilink-frame-relay-end-to-end") | str("ppp-ccc")) ), str("gre"), @@ -5775,20 +5779,20 @@ b(str("dhcpv6-client"), c( b(str("client-type"), (str("stateful") | str("autoconfig")) ), - a(str("client-ia-type"), (str("ia-na") | str("ia-pd"))), + a(str("client-ia-type"), enum(str("ia-na") | str("ia-pd"))), str("rapid-commit"), b(str("client-identifier"), c( b(str("duid-type"), (str("duid-llt") | str("vendor") | str("duid-ll")) ) ) ).as(:oneline), - a(str("req-option"), (str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), + a(str("req-option"), enum(str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), a(str("retransmission-attempt"), arg), str("no-dns-propagation"), b(str("update-router-advertisement"), c( b(a(str("interface"), arg), @@ -6252,14 +6256,14 @@ interface_device ), b(str("hash-keys"), c( b(str("ingress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) ), b(str("egress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) ) ) ) ) ), @@ -6332,11 +6336,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("error") | str("event") | str("packet") | str("pipe") | str("pipe-detail") | str("all"))).as(:oneline) + a(str("flag"), enum(str("error") | str("event") | str("packet") | str("pipe") | str("pipe-detail") | str("all"))).as(:oneline) ) ) ) ) ) @@ -6417,11 +6421,11 @@ ), b(str("vacm"), c( b(str("security-to-group"), c( - a(str("security-model"), (str("usm") | str("v1") | str("v2c")), + a(str("security-model"), enum(str("usm") | str("v1") | str("v2c")), c( b(a(str("security-name"), arg), c( a(str("group"), arg) ) @@ -6865,11 +6869,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("timer") | str("protocol-timeouts") | str("pdu") | str("varbind-error") | str("routing-socket") | str("interface-stats") | str("subagent") | str("general") | str("nonvolatile-sets") | str("all"))).as(:oneline) + a(str("flag"), enum(str("timer") | str("protocol-timeouts") | str("pdu") | str("varbind-error") | str("routing-socket") | str("interface-stats") | str("subagent") | str("general") | str("nonvolatile-sets") | str("all"))).as(:oneline) ) ), b(str("rmon"), c( b(a(str("history"), arg), @@ -6997,11 +7001,11 @@ a(str("files"), arg), str("world-readable"), str("no-world-readable") ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("memory") | str("diagnostic") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("memory") | str("diagnostic") | str("all"))).as(:oneline) ) ) ) ), a(str("interval"), arg), @@ -7064,11 +7068,11 @@ ) ), b(str("attributes-match"), s( arg, - ((str("equals") | str("starts-with") | str("matches"))), + enum((str("equals") | str("starts-with") | str("matches"))), arg ) ).as(:oneline), b(str("then"), c( @@ -7195,11 +7199,11 @@ a(str("files"), arg), str("world-readable"), str("no-world-readable") ) ).as(:oneline), - a(str("flag"), (str("events") | str("input") | str("offline") | str("output") | str("rpc") | str("xslt") | str("all"))).as(:oneline) + a(str("flag"), enum(str("events") | str("input") | str("offline") | str("output") | str("rpc") | str("xslt") | str("all"))).as(:oneline) ) ), b(a(str("file"), arg), c( a(str("source"), arg), @@ -7262,11 +7266,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("server") | str("configuration") | str("events") | str("timer-events") | str("database") | str("policy") | str("registration") | str("syslogd") | str("all"))).as(:oneline) + a(str("flag"), enum(str("server") | str("configuration") | str("events") | str("timer-events") | str("database") | str("policy") | str("registration") | str("syslogd") | str("all"))).as(:oneline) ) ), b(str("redundancy-event"), srd_events_object ) @@ -8261,12 +8265,12 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("init") | str("config") | str("general") | str("request") | str("response") | str("high-availability") | str("debug") | str("request-in") | str("request-out") | str("response-in") | str("response-out") | str("client-request-in") | str("client-request-out") | str("all"))).as(:oneline), - a(str("protocol"), (str("radius") | str("diameter") | str("all"))).as(:oneline) + a(str("flag"), enum(str("init") | str("config") | str("general") | str("request") | str("response") | str("high-availability") | str("debug") | str("request-in") | str("request-out") | str("response-in") | str("response-out") | str("client-request-in") | str("client-request-out") | str("all"))).as(:oneline), + a(str("protocol"), enum(str("radius") | str("diameter") | str("all"))).as(:oneline) ) end rule(:aacl_rule_object) do b(arg.as(:arg), @@ -8606,11 +8610,11 @@ b(str("stacked-vlan-ranges"), c( b(a(str("dynamic-profile"), arg), c( b(str("accept"), - ((str("inet6") | str("inet") | str("pppoe") | str("dhcp-v4") | str("dhcp-v6") | str("any"))) + enum((str("inet6") | str("inet") | str("pppoe") | str("dhcp-v4") | str("dhcp-v6") | str("any"))) ), a(str("ranges"), arg), b(str("access-profile"), c( arg @@ -8642,14 +8646,14 @@ c( b(a(str("dynamic-profile"), arg), c( c( b(str("accept"), - ((str("inet6") | str("inet") | str("pppoe") | str("dhcp-v4") | str("dhcp-v6") | str("any"))) + enum((str("inet6") | str("inet") | str("pppoe") | str("dhcp-v4") | str("dhcp-v6") | str("any"))) ), b(str("accept-out-of-band"), - ((str("ancp"))) + enum((str("ancp"))) ) ), a(str("ranges"), arg), b(str("access-profile"), c( @@ -8699,11 +8703,11 @@ end rule(:auto_configure_authentication_type) do c( b(str("packet-types"), - ((str("inet6") | str("inet") | str("pppoe") | str("dhcp-v4") | str("dhcp-v6") | str("any"))) + enum((str("inet6") | str("inet") | str("pppoe") | str("dhcp-v4") | str("dhcp-v6") | str("any"))) ), a(str("password"), arg), b(str("username-include"), c( a(str("delimiter"), arg), @@ -9223,11 +9227,11 @@ ) ).as(:oneline), b(str("level"), (str("critical") | str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("init") | str("config") | str("general") | str("triggers") | str("cdr-encoding") | str("transport") | str("path-management") | str("fsm") | str("ipc") | str("resource") | str("group-fsm") | str("client-fsm") | str("timers") | str("online") | str("tpm") | str("all"))).as(:oneline) + a(str("flag"), enum(str("init") | str("config") | str("general") | str("triggers") | str("cdr-encoding") | str("transport") | str("path-management") | str("fsm") | str("ipc") | str("resource") | str("group-fsm") | str("client-fsm") | str("timers") | str("online") | str("tpm") | str("all"))).as(:oneline) ) end rule(:chassis_type) do c( @@ -9316,13 +9320,13 @@ chassis_routing_engine_type ), b(str("aggregated-devices"), chassis_agg_dev_type ), - a(str("disk-partition"), (str("/var") | str("/config")), + a(str("disk-partition"), enum(str("/var") | str("/config")), c( - a(str("level"), (str("high") | str("full")), + a(str("level"), enum(str("high") | str("full")), c( b(str("free-space"), ca( c( str("percent"), @@ -9855,11 +9859,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("parse") | str("config-internal") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("krt") | str("lldp") | str("provision") | str("extended-port") | str("multi-chassis") | str("upgrade-group") | str("device") | str("tcp") | str("interface") | str("cluster") | str("all")), + a(str("flag"), enum(str("parse") | str("config-internal") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("krt") | str("lldp") | str("provision") | str("extended-port") | str("multi-chassis") | str("upgrade-group") | str("device") | str("tcp") | str("interface") | str("cluster") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -10448,11 +10452,11 @@ end rule(:chassis_fpc_error_level_type) do c( a(str("threshold"), arg), - a(str("action"), (str("reset") | str("offline") | str("alarm") | str("get-state") | str("log") | str("disable-pfe") | str("offline-pic"))) + a(str("action"), enum(str("reset") | str("offline") | str("alarm") | str("get-state") | str("log") | str("disable-pfe") | str("offline-pic"))) ) end rule(:chassis_fpc_type) do b(arg.as(:arg), @@ -11232,20 +11236,20 @@ c( b(str("queue-threshold"), c( b(str("fabric-queue"), c( - a(str("priority"), (str("low") | str("high")), + a(str("priority"), enum(str("low") | str("high")), c( a(str("threshold"), arg) ) ) ) ), b(str("wan-queue"), c( - a(str("priority"), (str("low") | str("medium-low") | str("medium-high") | str("high")), + a(str("priority"), enum(str("low") | str("medium-low") | str("medium-high") | str("high")), c( a(str("threshold"), arg) ) ) ) @@ -11474,11 +11478,11 @@ ) ), str("session-offload"), str("no-default-packages"), a(str("package"), arg), - a(str("syslog"), (str("external") | str("pfe") | str("daemon") | str("kernel")), + a(str("syslog"), enum(str("external") | str("pfe") | str("daemon") | str("kernel")), c( c( str("any"), str("emergency"), str("alert"), @@ -11845,11 +11849,12 @@ b(str("forwarding-mode"), c( str("sa-multicast") ) ), - str("no-mcast-replication") + str("no-mcast-replication"), + a(str("number-of-sub-ports"), arg) ) ) end rule(:chassis_port_type) do @@ -11904,11 +11909,11 @@ rule(:chassis_non_stop_forwarding_type) do c( b(str("traceoptions"), c( - a(str("flag"), (str("update") | str("all"))).as(:oneline) + a(str("flag"), enum(str("update") | str("all"))).as(:oneline) ) ) ) end @@ -12186,11 +12191,11 @@ c( b(str("premium"), c( b(a(str("forwarding-class"), arg), c( - a(str("loss-priority"), (str("low") | str("high"))).as(:oneline) + a(str("loss-priority"), enum(str("low") | str("high"))).as(:oneline) ) ) ) ) ) @@ -12328,11 +12333,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("clicommand") | str("general") | str("rtsock") | str("statistics") | str("rules") | str("ssets") | str("ipc") | str("gres") | str("re-services") | str("re-svc-debug-stat") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("clicommand") | str("general") | str("rtsock") | str("statistics") | str("rules") | str("ssets") | str("ipc") | str("gres") | str("re-services") | str("re-svc-debug-stat") | str("all"))).as(:oneline) ) end rule(:ct3_port_type) do b(arg.as(:arg), @@ -14853,14 +14858,14 @@ ), b(str("then"), c( str("reject"), b(str("committed-information-rate"), - (arg) + enum(arg) ), b(str("committed-burst-size"), - (arg) + enum(arg) ), a(str("dscp"), arg) ) ) ) @@ -15080,11 +15085,11 @@ ) ) end rule(:call_usage_method_type) do - ((str("method-invite"))).as(:arg) + enum((str("method-invite"))).as(:arg) end rule(:ggsn_pgw_apn_services) do c( b(str("apns"), @@ -15794,11 +15799,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all"))).as(:oneline), + a(str("flag"), enum(str("all"))).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ) ) end @@ -17569,11 +17574,11 @@ a(str("member-interfaces"), arg) ) ), b(str("traceoptions"), c( - a(str("flag"), (str("ipc") | str("event") | str("media") | str("all"))).as(:oneline) + a(str("flag"), enum(str("ipc") | str("event") | str("media") | str("all"))).as(:oneline) ) ), str("passive-monitor-mode"), c( b(str("keepalives"), @@ -18798,11 +18803,11 @@ (str("differential") | str("non-differential")) ), b(str("fec"), (str("sdfec") | str("sdfec25")) ), - a(str("alarm"), (str("low-light-alarm")), + a(str("alarm"), enum(str("low-light-alarm")), c( c( str("syslog"), str("link-down") ) @@ -18962,11 +18967,11 @@ a(str("threshold-24hrs"), arg) ) ) ) ), - a(str("warning"), (str("low-light-warning")), + a(str("warning"), enum(str("low-light-warning")), c( c( str("syslog"), str("link-down") ) @@ -19406,11 +19411,11 @@ a(str("input-policer"), arg), a(str("input-hierarchical-policer"), arg) ) ) ), - a(str("unit"), (arg | arg | arg), + a(str("unit"), enum(arg | arg | arg), c( b(str("policer-overhead"), ca( a(str("ingress"), arg), a(str("egress"), arg) @@ -19494,14 +19499,14 @@ ) ) ), str("actual-transit-statistics"), b(str("demux-source"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("demux-destination"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("encapsulation"), (str("atm-nlpid") | str("atm-cisco-nlpid") | str("atm-snap") | str("atm-vc-mux") | str("atm-ccc-vc-mux") | str("atm-tcc-vc-mux") | str("atm-tcc-snap") | str("atm-ccc-cell-relay") | str("vlan-vci-ccc") | str("ether-over-atm-llc") | str("ether-vpls-over-atm-llc") | str("ppp-over-ether-over-atm-llc") | str("ppp-over-ether") | str("atm-ppp-vc-mux") | str("atm-ppp-llc") | str("atm-mlppp-llc") | str("frame-relay-ppp") | str("frame-relay-ccc") | str("frame-relay") | str("frame-relay-tcc") | str("frame-relay-ether-type") | str("frame-relay-ether-type-tcc") | str("ether-vpls-fr") | str("vlan-ccc") | str("ethernet-ccc") | str("vlan-vpls") | str("vlan-bridge") | str("dix") | str("ethernet-vpls") | str("ethernet-bridge") | str("ethernet") | str("vlan") | str("vlan-tcc") | str("multilink-ppp") | str("multilink-frame-relay-end-to-end") | str("ppp-ccc")) ), str("gre"), @@ -20070,20 +20075,20 @@ b(str("dhcpv6-client"), c( b(str("client-type"), (str("stateful") | str("autoconfig")) ), - a(str("client-ia-type"), (str("ia-na") | str("ia-pd"))), + a(str("client-ia-type"), enum(str("ia-na") | str("ia-pd"))), str("rapid-commit"), b(str("client-identifier"), c( b(str("duid-type"), (str("duid-llt") | str("vendor") | str("duid-ll")) ) ) ).as(:oneline), - a(str("req-option"), (str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), + a(str("req-option"), enum(str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), a(str("retransmission-attempt"), arg), str("no-dns-propagation"), b(str("update-router-advertisement"), c( b(a(str("interface"), arg), @@ -20547,14 +20552,14 @@ interface_device ), b(str("hash-keys"), c( b(str("ingress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) ), b(str("egress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) ) ) ) ) ), @@ -20642,11 +20647,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("timer") | str("routing-socket") | str("parse") | str("ike") | str("policy-manager") | str("general") | str("database") | str("certificates") | str("snmp") | str("ams") | str("lic") | str("all"))).as(:oneline) + a(str("flag"), enum(str("timer") | str("routing-socket") | str("parse") | str("ike") | str("policy-manager") | str("general") | str("database") | str("certificates") | str("snmp") | str("ams") | str("lic") | str("all"))).as(:oneline) ) end rule(:ipsec_vpn_rule_object) do b(arg.as(:arg), @@ -20666,11 +20671,11 @@ ipaddr ), c( b(str("manual"), c( - a(str("direction"), (str("inbound") | str("outbound") | str("bidirectional")), + a(str("direction"), enum(str("inbound") | str("outbound") | str("bidirectional")), c( b(str("protocol"), (str("ah") | str("esp") | str("bundle")) ), a(str("spi"), arg), @@ -27817,11 +27822,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -27960,11 +27965,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -28796,11 +28801,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("state") | str("packet") | str("flow") | str("packet-option") | str("dhcpv6-state") | str("dhcpv6-packet") | str("dhcpv6-packet-option") | str("all"))).as(:oneline) + a(str("flag"), enum(str("state") | str("packet") | str("flow") | str("packet-option") | str("dhcpv6-state") | str("dhcpv6-packet") | str("dhcpv6-packet-option") | str("all"))).as(:oneline) ) end rule(:jdhcp_security_type) do c( @@ -28887,11 +28892,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("state") | str("packet") | str("flow") | str("packet-option") | str("dhcpv6-state") | str("dhcpv6-packet") | str("dhcpv6-packet-option") | str("all") | str("database") | str("persistent") | str("interface") | str("rtsock") | str("flow-notify") | str("io") | str("ha") | str("ui") | str("general") | str("fwd") | str("rpd") | str("auth") | str("profile") | str("session-db") | str("performance") | str("statistics") | str("dhcpv6-io") | str("dhcpv6-rpd") | str("dhcpv6-session-db") | str("dhcpv6-general") | str("liveness-detection") | str("security-persistence") | str("mclag"))).as(:oneline) + a(str("flag"), enum(str("state") | str("packet") | str("flow") | str("packet-option") | str("dhcpv6-state") | str("dhcpv6-packet") | str("dhcpv6-packet-option") | str("all") | str("database") | str("persistent") | str("interface") | str("rtsock") | str("flow-notify") | str("io") | str("ha") | str("ui") | str("general") | str("fwd") | str("rpd") | str("auth") | str("profile") | str("session-db") | str("performance") | str("statistics") | str("dhcpv6-io") | str("dhcpv6-rpd") | str("dhcpv6-session-db") | str("dhcpv6-general") | str("liveness-detection") | str("security-persistence") | str("mclag"))).as(:oneline) ) end rule(:jdhcp_vendor_specific_type) do c( @@ -29015,11 +29020,11 @@ ) ).as(:oneline), b(str("level"), (str("critical") | str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("general") | str("mirror") | str("connection") | str("file-operations") | str("journaling") | str("all"))).as(:oneline) + a(str("flag"), enum(str("general") | str("mirror") | str("connection") | str("file-operations") | str("journaling") | str("all"))).as(:oneline) ) end rule(:juniper_charging_profiles) do b(arg.as(:arg), @@ -29444,11 +29449,11 @@ ) ) ), b(a(str("adaptive-shapers"), arg), c( - a(str("trigger"), (str("becn")), + a(str("trigger"), enum(str("becn")), c( b(str("shaping-rate"), c( ca( a(str("percent"), arg) @@ -29782,11 +29787,11 @@ ) ) ), b(str("dynamic-class-of-service-options"), c( - a(str("vendor-specific-tags"), (str("actual-data-rate-downstream") | str("access-loop-encapsulation"))) + a(str("vendor-specific-tags"), enum(str("actual-data-rate-downstream") | str("access-loop-encapsulation"))) ) ), b(str("interfaces"), c( b(a(str("interface-set"), arg), @@ -30013,11 +30018,11 @@ ), b(str("fabric"), c( b(str("scheduler-map"), c( - a(str("priority"), (str("low") | str("high")), + a(str("priority"), enum(str("low") | str("high")), c( a(str("scheduler"), arg) ) ).as(:oneline) ) @@ -30146,11 +30151,11 @@ a(str("adjust-minimum"), arg) ) ), b(a(str("adjustment-control-profiles"), arg), c( - a(str("application"), (str("ancp") | str("radius-coa") | str("pppoe-tags") | str("dhcp-tags")), + a(str("application"), enum(str("ancp") | str("radius-coa") | str("pppoe-tags") | str("dhcp-tags")), c( a(str("priority"), arg), b(str("algorithm"), (str("adjust-less") | str("adjust-less-or-equal") | str("adjust-greater") | str("adjust-greater-or-equal") | str("adjust-always") | str("adjust-never")) ) @@ -30170,11 +30175,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("init") | str("show") | str("route-socket") | str("parse") | str("process") | str("util") | str("restart") | str("snmp") | str("hardware-database") | str("asynch") | str("dynamic") | str("cos-adjustment") | str("performance-monitor") | str("chassis-scheduler") | str("cn-util") | str("snmp-timeouts") | str("all") | str("feature-capability") | str("application"))).as(:oneline) + a(str("flag"), enum(str("init") | str("show") | str("route-socket") | str("parse") | str("process") | str("util") | str("restart") | str("snmp") | str("hardware-database") | str("asynch") | str("dynamic") | str("cos-adjustment") | str("performance-monitor") | str("chassis-scheduler") | str("cn-util") | str("snmp-timeouts") | str("all") | str("feature-capability") | str("application"))).as(:oneline) ) ), b(str("multi-destination"), c( a(str("scheduler-map"), arg), @@ -30280,11 +30285,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all"))).as(:oneline), + a(str("flag"), enum(str("all"))).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ) ) end @@ -30444,11 +30449,11 @@ ) ) ) ) ), - a(str("unit"), (str("*")), + a(str("unit"), enum(str("*")), c( a(str("output-forwarding-class-map"), arg), a(str("forwarding-class"), arg), a(str("virtual-channel-group"), arg), str("vc-shared-scheduler"), @@ -31556,11 +31561,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("parse") | str("config-internal") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("parse") | str("config-internal") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -31634,11 +31639,11 @@ ) ), b(str("forwarding-cache"), c( str("allow-maximum"), - a(str("family"), (str("inet6") | str("inet")), + a(str("family"), enum(str("inet6") | str("inet")), c( b(str("threshold"), c( a(str("suppress"), arg), a(str("reuse"), arg), @@ -31745,11 +31750,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all") | str("kernel") | str("change-events") | str("kernel-detail") | str("config-states") | str("resource-usage") | str("gres-events") | str("select-events") | str("bfd-events") | str("lib-events") | str("reserved") | str("emergency") | str("alert") | str("critical") | str("error") | str("warning") | str("notice") | str("informational") | str("debugging") | str("verbose") | str("japi")), + a(str("flag"), enum(str("all") | str("kernel") | str("change-events") | str("kernel-detail") | str("config-states") | str("resource-usage") | str("gres-events") | str("select-events") | str("bfd-events") | str("lib-events") | str("reserved") | str("emergency") | str("alert") | str("critical") | str("error") | str("warning") | str("notice") | str("informational") | str("debugging") | str("verbose") | str("japi")), c( str("disable") ) ).as(:oneline) ) @@ -31776,11 +31781,11 @@ a(str("member-interfaces"), arg) ) ), b(str("traceoptions"), c( - a(str("flag"), (str("ipc") | str("event") | str("media") | str("all"))).as(:oneline) + a(str("flag"), enum(str("ipc") | str("event") | str("media") | str("all"))).as(:oneline) ) ), str("passive-monitor-mode"), c( b(str("keepalives"), @@ -33005,11 +33010,11 @@ (str("differential") | str("non-differential")) ), b(str("fec"), (str("sdfec") | str("sdfec25")) ), - a(str("alarm"), (str("low-light-alarm")), + a(str("alarm"), enum(str("low-light-alarm")), c( c( str("syslog"), str("link-down") ) @@ -33169,11 +33174,11 @@ a(str("threshold-24hrs"), arg) ) ) ) ), - a(str("warning"), (str("low-light-warning")), + a(str("warning"), enum(str("low-light-warning")), c( c( str("syslog"), str("link-down") ) @@ -33613,11 +33618,11 @@ a(str("input-policer"), arg), a(str("input-hierarchical-policer"), arg) ) ) ), - a(str("unit"), (arg | arg | arg), + a(str("unit"), enum(arg | arg | arg), c( b(str("policer-overhead"), ca( a(str("ingress"), arg), a(str("egress"), arg) @@ -33701,14 +33706,14 @@ ) ) ), str("actual-transit-statistics"), b(str("demux-source"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("demux-destination"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("encapsulation"), (str("atm-nlpid") | str("atm-cisco-nlpid") | str("atm-snap") | str("atm-vc-mux") | str("atm-ccc-vc-mux") | str("atm-tcc-vc-mux") | str("atm-tcc-snap") | str("atm-ccc-cell-relay") | str("vlan-vci-ccc") | str("ether-over-atm-llc") | str("ether-vpls-over-atm-llc") | str("ppp-over-ether-over-atm-llc") | str("ppp-over-ether") | str("atm-ppp-vc-mux") | str("atm-ppp-llc") | str("atm-mlppp-llc") | str("frame-relay-ppp") | str("frame-relay-ccc") | str("frame-relay") | str("frame-relay-tcc") | str("frame-relay-ether-type") | str("frame-relay-ether-type-tcc") | str("ether-vpls-fr") | str("vlan-ccc") | str("ethernet-ccc") | str("vlan-vpls") | str("vlan-bridge") | str("dix") | str("ethernet-vpls") | str("ethernet-bridge") | str("ethernet") | str("vlan") | str("vlan-tcc") | str("multilink-ppp") | str("multilink-frame-relay-end-to-end") | str("ppp-ccc")) ), str("gre"), @@ -34277,20 +34282,20 @@ b(str("dhcpv6-client"), c( b(str("client-type"), (str("stateful") | str("autoconfig")) ), - a(str("client-ia-type"), (str("ia-na") | str("ia-pd"))), + a(str("client-ia-type"), enum(str("ia-na") | str("ia-pd"))), str("rapid-commit"), b(str("client-identifier"), c( b(str("duid-type"), (str("duid-llt") | str("vendor") | str("duid-ll")) ) ) ).as(:oneline), - a(str("req-option"), (str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), + a(str("req-option"), enum(str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), a(str("retransmission-attempt"), arg), str("no-dns-propagation"), b(str("update-router-advertisement"), c( b(a(str("interface"), arg), @@ -34754,14 +34759,14 @@ interface_device ), b(str("hash-keys"), c( b(str("ingress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) ), b(str("egress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) ) ) ) ) ), @@ -34857,11 +34862,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all") | str("kernel") | str("change-events") | str("kernel-detail") | str("config-states") | str("resource-usage") | str("gres-events") | str("select-events") | str("bfd-events") | str("lib-events") | str("reserved") | str("emergency") | str("alert") | str("critical") | str("error") | str("warning") | str("notice") | str("informational") | str("debugging") | str("verbose") | str("japi")), + a(str("flag"), enum(str("all") | str("kernel") | str("change-events") | str("kernel-detail") | str("config-states") | str("resource-usage") | str("gres-events") | str("select-events") | str("bfd-events") | str("lib-events") | str("reserved") | str("emergency") | str("alert") | str("critical") | str("error") | str("warning") | str("notice") | str("informational") | str("debugging") | str("verbose") | str("japi")), c( str("disable") ) ).as(:oneline) ) @@ -34888,11 +34893,11 @@ a(str("member-interfaces"), arg) ) ), b(str("traceoptions"), c( - a(str("flag"), (str("ipc") | str("event") | str("media") | str("all"))).as(:oneline) + a(str("flag"), enum(str("ipc") | str("event") | str("media") | str("all"))).as(:oneline) ) ), str("passive-monitor-mode"), c( b(str("keepalives"), @@ -36117,11 +36122,11 @@ (str("differential") | str("non-differential")) ), b(str("fec"), (str("sdfec") | str("sdfec25")) ), - a(str("alarm"), (str("low-light-alarm")), + a(str("alarm"), enum(str("low-light-alarm")), c( c( str("syslog"), str("link-down") ) @@ -36281,11 +36286,11 @@ a(str("threshold-24hrs"), arg) ) ) ) ), - a(str("warning"), (str("low-light-warning")), + a(str("warning"), enum(str("low-light-warning")), c( c( str("syslog"), str("link-down") ) @@ -36725,11 +36730,11 @@ a(str("input-policer"), arg), a(str("input-hierarchical-policer"), arg) ) ) ), - a(str("unit"), (arg | arg | arg), + a(str("unit"), enum(arg | arg | arg), c( b(str("policer-overhead"), ca( a(str("ingress"), arg), a(str("egress"), arg) @@ -36813,14 +36818,14 @@ ) ) ), str("actual-transit-statistics"), b(str("demux-source"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("demux-destination"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("encapsulation"), (str("atm-nlpid") | str("atm-cisco-nlpid") | str("atm-snap") | str("atm-vc-mux") | str("atm-ccc-vc-mux") | str("atm-tcc-vc-mux") | str("atm-tcc-snap") | str("atm-ccc-cell-relay") | str("vlan-vci-ccc") | str("ether-over-atm-llc") | str("ether-vpls-over-atm-llc") | str("ppp-over-ether-over-atm-llc") | str("ppp-over-ether") | str("atm-ppp-vc-mux") | str("atm-ppp-llc") | str("atm-mlppp-llc") | str("frame-relay-ppp") | str("frame-relay-ccc") | str("frame-relay") | str("frame-relay-tcc") | str("frame-relay-ether-type") | str("frame-relay-ether-type-tcc") | str("ether-vpls-fr") | str("vlan-ccc") | str("ethernet-ccc") | str("vlan-vpls") | str("vlan-bridge") | str("dix") | str("ethernet-vpls") | str("ethernet-bridge") | str("ethernet") | str("vlan") | str("vlan-tcc") | str("multilink-ppp") | str("multilink-frame-relay-end-to-end") | str("ppp-ccc")) ), str("gre"), @@ -37389,20 +37394,20 @@ b(str("dhcpv6-client"), c( b(str("client-type"), (str("stateful") | str("autoconfig")) ), - a(str("client-ia-type"), (str("ia-na") | str("ia-pd"))), + a(str("client-ia-type"), enum(str("ia-na") | str("ia-pd"))), str("rapid-commit"), b(str("client-identifier"), c( b(str("duid-type"), (str("duid-llt") | str("vendor") | str("duid-ll")) ) ) ).as(:oneline), - a(str("req-option"), (str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), + a(str("req-option"), enum(str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), a(str("retransmission-attempt"), arg), str("no-dns-propagation"), b(str("update-router-advertisement"), c( b(a(str("interface"), arg), @@ -37866,14 +37871,14 @@ interface_device ), b(str("hash-keys"), c( b(str("ingress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) ), b(str("egress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) ) ) ) ) ), @@ -37937,11 +37942,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("mtrace") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("mtrace") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -38055,11 +38060,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("routing-socket") | str("protocol") | str("action-profile") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("protocol") | str("action-profile") | str("all"))).as(:oneline) ) ), b(a(str("action-profile"), arg), c( b(str("event"), @@ -38551,11 +38556,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("routing-socket") | str("protocol") | str("init") | str("error") | str("packet") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("protocol") | str("init") | str("error") | str("packet") | str("all"))).as(:oneline) ) ), a(str("status-counter"), arg), a(str("polling-verification-timer"), arg), b(a(str("interface"), arg), @@ -38581,11 +38586,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("events") | str("pdu") | str("timers") | str("error") | str("all"))).as(:oneline) + a(str("flag"), enum(str("events") | str("pdu") | str("timers") | str("error") | str("all"))).as(:oneline) ) ), b(str("interval"), (str("100ms") | str("1s") | str("10s") | str("1m") | str("10m")) ), @@ -38613,11 +38618,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("routing-socket") | str("protocol") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("protocol") | str("all"))).as(:oneline) ) ), b(a(str("interface"), arg), c( a(str("keepalive-time"), arg), @@ -38633,11 +38638,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("mtrace") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("mtrace") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -38712,11 +38717,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all"))).as(:oneline) + a(str("flag"), enum(str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all"))).as(:oneline) ) ), a(str("interface"), arg | arg, c( b(str("preference"), @@ -39324,11 +39329,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("parse") | str("config-internal") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("parse") | str("config-internal") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -39402,11 +39407,11 @@ ) ), b(str("forwarding-cache"), c( str("allow-maximum"), - a(str("family"), (str("inet6") | str("inet")), + a(str("family"), enum(str("inet6") | str("inet")), c( b(str("threshold"), c( a(str("suppress"), arg), a(str("reuse"), arg), @@ -39779,11 +39784,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("routing-socket") | str("protocol") | str("init") | str("error") | str("issu") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("protocol") | str("init") | str("error") | str("issu") | str("all"))).as(:oneline) ) end rule(:flow_interface_group) do ca( @@ -39882,11 +39887,11 @@ rule(:flow_dep_traceoptions) do c( b(str("file"), trace_file_type ), - a(str("flag"), (str("resolution") | str("flash") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("resolution") | str("flash") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable"), @@ -39965,11 +39970,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("parse") | str("regex-parse") | str("config-internal") | str("nsr-synchronization") | str("condition-manager") | str("graceful-restart") | str("session") | str("hfrr-fsm") | str("hfrr-route") | str("statistics-id-group") | str("route-record") | str("jvision-lsp") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all") | str("eswd") | str("arp") | str("prefix") | str("ne-port") | str("route-selection") | str("bridge") | str("grat-arp") | str("l2l3-map")), + a(str("flag"), enum(str("parse") | str("regex-parse") | str("config-internal") | str("nsr-synchronization") | str("condition-manager") | str("graceful-restart") | str("session") | str("hfrr-fsm") | str("hfrr-route") | str("statistics-id-group") | str("route-record") | str("jvision-lsp") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all") | str("eswd") | str("arp") | str("prefix") | str("ne-port") | str("route-selection") | str("bridge") | str("grat-arp") | str("l2l3-map")), c( str("disable"), str("send"), str("receive"), str("detail") @@ -39991,11 +39996,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("event") | str("flash") | str("kernel") | str("indirect") | str("task") | str("igp-frr") | str("igp-frr-extensive") | str("tunnel") | str("all")), + a(str("flag"), enum(str("event") | str("flash") | str("kernel") | str("indirect") | str("task") | str("igp-frr") | str("igp-frr-extensive") | str("tunnel") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -40010,11 +40015,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("export") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("export") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -40031,11 +40036,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("vccpdf") | str("root") | str("core") | str("edge") | str("cspf") | str("all")), + a(str("flag"), enum(str("vccpdf") | str("root") | str("core") | str("edge") | str("cspf") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -40484,18 +40489,18 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("trace") | str("address") | str("main") | str("config") | str("ifdb") | str("io") | str("rtsock") | str("ui") | str("util") | str("gencfg") | str("domain") | str("tftp") | str("bootp") | str("port") | str("if-rtsdb") | str("all"))).as(:oneline) + a(str("flag"), enum(str("trace") | str("address") | str("main") | str("config") | str("ifdb") | str("io") | str("rtsock") | str("ui") | str("util") | str("gencfg") | str("domain") | str("tftp") | str("bootp") | str("port") | str("if-rtsdb") | str("all"))).as(:oneline) ) ), b(str("rtsdb-client-traceoptions"), c( b(str("if-rtsdb"), c( - a(str("flag"), (str("init") | str("routing-socket") | str("map") | str("all")), + a(str("flag"), enum(str("init") | str("routing-socket") | str("map") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -40775,11 +40780,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all") | str("bd") | str("config-internal") | str("interface") | str("interface-vlan") | str("ipc") | str("kernel") | str("krt") | str("mac") | str("nh") | str("normal") | str("parse") | str("stp") | str("task") | str("timer") | str("firewall"))).as(:oneline) + a(str("flag"), enum(str("all") | str("bd") | str("config-internal") | str("interface") | str("interface-vlan") | str("ipc") | str("kernel") | str("krt") | str("mac") | str("nh") | str("normal") | str("parse") | str("stp") | str("task") | str("timer") | str("firewall"))).as(:oneline) ) ), str("local-replication"), b(a(str("fpc"), arg), c( @@ -41466,11 +41471,11 @@ jdhcp_interface_traceoptions_type ), b(str("dhcpv6"), dhcpv6_local_server_type ), - a(str("pool-match-order"), (str("external-authority") | str("ip-address-first") | str("option-82") | str("option-82-strict"))), + a(str("pool-match-order"), enum(str("external-authority") | str("ip-address-first") | str("option-82") | str("option-82-strict"))), str("duplicate-clients-on-interface"), b(str("duplicate-clients-in-subnet"), jdhcp_duplicate_clients_in_subnet_type ).as(:oneline), b(str("forward-snooped-clients"), @@ -42087,11 +42092,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("send") | str("send-detail") | str("receive") | str("receive-detail") | str("timeout") | str("state") | str("all"))).as(:oneline), + a(str("flag"), enum(str("send") | str("send-detail") | str("receive") | str("receive-detail") | str("timeout") | str("state") | str("all"))).as(:oneline), a(str("peer"), arg) ) end rule(:juniper_monitoring_options) do @@ -42144,11 +42149,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("parse") | str("config-internal") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("parse") | str("config-internal") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -42253,11 +42258,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("init") | str("bookkeeping") | str("connections") | str("charging") | str("flow-collector") | str("all"))).as(:oneline) + a(str("flag"), enum(str("init") | str("bookkeeping") | str("connections") | str("charging") | str("flow-collector") | str("all"))).as(:oneline) ) ) ) end @@ -44645,11 +44650,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("rtsock") | str("ipc") | str("init") | str("psd") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("rtsock") | str("ipc") | str("init") | str("psd") | str("all"))).as(:oneline) ) end rule(:juniper_protocols) do c( @@ -44661,11 +44666,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -44680,11 +44685,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("mtrace") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("mtrace") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -44785,11 +44790,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("mtrace") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("mtrace") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -44867,11 +44872,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all"))).as(:oneline) + a(str("flag"), enum(str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all"))).as(:oneline) ) ), a(str("interface"), arg | arg, c( b(str("preference"), @@ -44945,11 +44950,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("route") | str("poison") | str("packets") | str("probe") | str("report") | str("neighbor") | str("prune") | str("graft") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("route") | str("poison") | str("packets") | str("probe") | str("report") | str("neighbor") | str("prune") | str("graft") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -44998,11 +45003,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -45471,11 +45476,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -46010,11 +46015,11 @@ regular_expression ), str("microsecond-stamp") ) ).as(:oneline), - a(str("flag"), (str("database") | str("general") | str("interfaces") | str("normal") | str("packets") | str("state") | str("timer") | str("ppm") | str("all"))).as(:oneline) + a(str("flag"), enum(str("database") | str("general") | str("interfaces") | str("normal") | str("packets") | str("state") | str("timer") | str("ppm") | str("all"))).as(:oneline) ) ), a(str("failover-delay"), arg), a(str("startup-silent-period"), arg), str("asymmetric-hold-time"), @@ -46034,11 +46039,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("topology") | str("fec") | str("connections") | str("oam") | str("egress-protection") | str("auto-sensing") | str("sdb") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("topology") | str("fec") | str("connections") | str("oam") | str("egress-protection") | str("auto-sensing") | str("sdb") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -46242,11 +46247,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("topology") | str("nlri") | str("connections") | str("automatic-site") | str("oam") | str("mac-database") | str("nsr") | str("egress-protection") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("topology") | str("nlri") | str("connections") | str("automatic-site") | str("oam") | str("mac-database") | str("nsr") | str("egress-protection") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -46299,11 +46304,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("adjacency") | str("event") | str("error") | str("rtsock") | str("packet") | str("ppm-packet") | str("pipe") | str("pipe-detail") | str("state") | str("timer") | str("nsr-synchronization") | str("nsr-packet") | str("issu") | str("slow-start") | str("session") | str("all"))).as(:oneline) + a(str("flag"), enum(str("adjacency") | str("event") | str("error") | str("rtsock") | str("packet") | str("ppm-packet") | str("pipe") | str("pipe-detail") | str("state") | str("timer") | str("nsr-synchronization") | str("nsr-packet") | str("issu") | str("slow-start") | str("session") | str("all"))).as(:oneline) ) ), str("no-issu-timer-negotiation") ) ), @@ -46324,11 +46329,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("controller") | str("state") | str("route") | str("general") | str("interface") | str("all"))).as(:oneline) + a(str("flag"), enum(str("controller") | str("state") | str("route") | str("general") | str("interface") | str("all"))).as(:oneline) ) ), a(str("lsp-external-controller"), arg), a(str("preference"), arg) ) @@ -46374,11 +46379,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("cryptographic-address") | str("configuration") | str("protocol") | str("rsa") | str("all"))).as(:oneline) + a(str("flag"), enum(str("cryptographic-address") | str("configuration") | str("protocol") | str("rsa") | str("all"))).as(:oneline) ) ) ) ) ) @@ -46405,11 +46410,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("error") | str("event") | str("packet") | str("pipe") | str("pipe-detail") | str("all"))).as(:oneline) + a(str("flag"), enum(str("error") | str("event") | str("packet") | str("pipe") | str("pipe-detail") | str("all"))).as(:oneline) ) ) ) ), b(str("ilmi"), @@ -46426,11 +46431,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("database") | str("routing-socket") | str("state") | str("debug") | str("event") | str("packet") | str("all"))).as(:oneline) + a(str("flag"), enum(str("database") | str("routing-socket") | str("state") | str("debug") | str("event") | str("packet") | str("all"))).as(:oneline) ) ) ) ), b(str("lacp"), @@ -46447,11 +46452,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("routing-socket") | str("process") | str("startup") | str("protocol") | str("packet") | str("ppm") | str("bfd") | str("mc-ae") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("process") | str("startup") | str("protocol") | str("packet") | str("ppm") | str("bfd") | str("mc-ae") | str("all"))).as(:oneline) ) ), b(str("ppm"), (str("centralized")) ), @@ -46476,11 +46481,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("routing-socket") | str("protocol") | str("action-profile") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("protocol") | str("action-profile") | str("all"))).as(:oneline) ) ), b(a(str("action-profile"), arg), c( b(str("event"), @@ -46972,11 +46977,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("routing-socket") | str("protocol") | str("init") | str("error") | str("packet") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("protocol") | str("init") | str("error") | str("packet") | str("all"))).as(:oneline) ) ), a(str("status-counter"), arg), a(str("polling-verification-timer"), arg), b(a(str("interface"), arg), @@ -47002,11 +47007,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("events") | str("pdu") | str("timers") | str("error") | str("all"))).as(:oneline) + a(str("flag"), enum(str("events") | str("pdu") | str("timers") | str("error") | str("all"))).as(:oneline) ) ), b(str("interval"), (str("100ms") | str("1s") | str("10s") | str("1m") | str("10m")) ), @@ -47034,11 +47039,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("routing-socket") | str("protocol") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("protocol") | str("all"))).as(:oneline) ) ), b(a(str("interface"), arg), c( a(str("keepalive-time"), arg), @@ -47095,11 +47100,11 @@ a(str("sync-interval"), arg), a(str("grant-duration"), arg), str("convert-clock-class-to-quality-level"), b(str("clock-class-to-quality-level-mapping"), c( - a(str("quality-level"), (str("prc") | str("ssu-a") | str("ssu-b") | str("sec") | str("prs") | str("st2") | str("tnc") | str("st3e") | str("st3") | str("smc") | str("st4") | str("stu")), + a(str("quality-level"), enum(str("prc") | str("ssu-a") | str("ssu-b") | str("sec") | str("prs") | str("st2") | str("tnc") | str("st3e") | str("st3") | str("smc") | str("st4") | str("stu")), c( a(str("clock-class"), arg) ) ) ) @@ -47278,11 +47283,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("accounting-statistics") | str("authentication") | str("chap") | str("events") | str("gres") | str("init") | str("interface-db") | str("lcp") | str("memory") | str("ncp") | str("packet-error") | str("pap") | str("parse") | str("profile") | str("receive-packets") | str("routing-process") | str("rtp") | str("rtsock") | str("session-db") | str("smi-services-sentry") | str("states") | str("transmit-packets") | str("tunnel") | str("all"))).as(:oneline), + a(str("flag"), enum(str("accounting-statistics") | str("authentication") | str("chap") | str("events") | str("gres") | str("init") | str("interface-db") | str("lcp") | str("memory") | str("ncp") | str("packet-error") | str("pap") | str("parse") | str("profile") | str("receive-packets") | str("routing-process") | str("rtp") | str("rtsock") | str("session-db") | str("smi-services-sentry") | str("states") | str("transmit-packets") | str("tunnel") | str("all"))).as(:oneline), b(str("filter"), c( a(str("aci"), arg), a(str("ari"), arg), a(str("service-name"), arg), @@ -47345,11 +47350,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("all") | str("configuration") | str("rtsock") | str("packet") | str("protocol") | str("interface") | str("vlan") | str("snmp")), + a(str("flag"), enum(str("all") | str("configuration") | str("rtsock") | str("packet") | str("protocol") | str("interface") | str("vlan") | str("snmp")), c( str("disable") ) ).as(:oneline) ) @@ -47452,11 +47457,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("pcep") | str("all"))).as(:oneline) + a(str("flag"), enum(str("pcep") | str("all"))).as(:oneline) ) ), a(str("delegation-cleanup-timeout"), arg) ) ), @@ -47507,11 +47512,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("pcep") | str("all"))).as(:oneline) + a(str("flag"), enum(str("pcep") | str("all"))).as(:oneline) ) ), a(str("delegation-cleanup-timeout"), arg) ) ), @@ -47620,11 +47625,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("configuration") | str("rtsock") | str("interface") | str("client-server") | str("all")), + a(str("flag"), enum(str("configuration") | str("rtsock") | str("interface") | str("client-server") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -47740,11 +47745,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("init") | str("routing-socket") | str("synchronization") | str("ptp") | str("protocol") | str("configuration") | str("debug") | str("ppm") | str("error") | str("hybrid") | str("framer") | str("ipc") | str("all"))).as(:oneline) + a(str("flag"), enum(str("init") | str("routing-socket") | str("synchronization") | str("ptp") | str("protocol") | str("configuration") | str("debug") | str("ppm") | str("error") | str("hybrid") | str("framer") | str("ipc") | str("all"))).as(:oneline) ) end rule(:co_ordinate_elements) do c( @@ -47760,11 +47765,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("route") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("route") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -47854,11 +47859,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -47906,11 +47911,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -47971,11 +47976,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -48041,11 +48046,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("errors") | str("tunnels") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("errors") | str("tunnels") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -48102,11 +48107,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("config") | str("cos") | str("routing-socket") | str("packet") | str("protocol") | str("process") | str("startup") | str("session") | str("general") | str("restart") | str("subscriber") | str("timer") | str("all")), + a(str("flag"), enum(str("config") | str("cos") | str("routing-socket") | str("packet") | str("protocol") | str("process") | str("startup") | str("session") | str("general") | str("restart") | str("subscriber") | str("timer") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -48311,11 +48316,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("routing-socket") | str("interface-device") | str("interface-logical") | str("interface-family") | str("learning-domain") | str("ipc") | str("mac-learning") | str("initialization") | str("flood-next-hop") | str("storm-control") | str("unknown-unicast-forwarding") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("interface-device") | str("interface-logical") | str("interface-family") | str("learning-domain") | str("ipc") | str("mac-learning") | str("initialization") | str("flood-next-hop") | str("storm-control") | str("unknown-unicast-forwarding") | str("all"))).as(:oneline) ) ) ) end @@ -48369,11 +48374,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("damping") | str("packets") | str("open") | str("update") | str("keepalive") | str("refresh") | str("nsr-synchronization") | str("bfd") | str("4byte-as") | str("add-path") | str("graceful-restart") | str("egress-te") | str("thread-io") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("damping") | str("packets") | str("open") | str("update") | str("keepalive") | str("refresh") | str("nsr-synchronization") | str("bfd") | str("4byte-as") | str("add-path") | str("graceful-restart") | str("egress-te") | str("thread-io") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable"), @@ -48839,11 +48844,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("damping") | str("packets") | str("open") | str("update") | str("keepalive") | str("refresh") | str("nsr-synchronization") | str("bfd") | str("4byte-as") | str("add-path") | str("graceful-restart") | str("egress-te") | str("thread-io") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("damping") | str("packets") | str("open") | str("update") | str("keepalive") | str("refresh") | str("nsr-synchronization") | str("bfd") | str("4byte-as") | str("add-path") | str("graceful-restart") | str("egress-te") | str("thread-io") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable"), @@ -49296,11 +49301,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("damping") | str("packets") | str("open") | str("update") | str("keepalive") | str("refresh") | str("nsr-synchronization") | str("bfd") | str("4byte-as") | str("add-path") | str("graceful-restart") | str("egress-te") | str("thread-io") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("damping") | str("packets") | str("open") | str("update") | str("keepalive") | str("refresh") | str("nsr-synchronization") | str("bfd") | str("4byte-as") | str("add-path") | str("graceful-restart") | str("egress-te") | str("thread-io") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable"), @@ -49736,11 +49741,12 @@ str("as-override") ) ) ) ), - a(str("drop-path-attributes"), arg) + a(str("drop-path-attributes"), arg), + a(str("minimum-hold-time"), arg) ) end rule(:bgp_af_gr) do c( @@ -50434,11 +50440,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("routing-socket") | str("interface-device") | str("interface-logical") | str("interface-family") | str("bridging-domain") | str("routing-instance") | str("bridge-interface") | str("learning-domain") | str("ipc") | str("mac-learning") | str("initialization") | str("flood-next-hop") | str("irb") | str("vpls-ping") | str("vpls-loop-prev") | str("logical-system") | str("bmac-next-hop") | str("bridge-bmac-next-hop") | str("isid") | str("mc-ae") | str("kack") | str("storm-control") | str("redundant-trunk-group") | str("unknown-unicast-forwarding") | str("vxlan") | str("all"))).as(:oneline), + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("interface-device") | str("interface-logical") | str("interface-family") | str("bridging-domain") | str("routing-instance") | str("bridge-interface") | str("learning-domain") | str("ipc") | str("mac-learning") | str("initialization") | str("flood-next-hop") | str("irb") | str("vpls-ping") | str("vpls-loop-prev") | str("logical-system") | str("bmac-next-hop") | str("bridge-bmac-next-hop") | str("isid") | str("mc-ae") | str("kack") | str("storm-control") | str("redundant-trunk-group") | str("unknown-unicast-forwarding") | str("vxlan") | str("all"))).as(:oneline), str("in-memory-debug") ) ), b(str("global-mac-move"), c( @@ -50507,11 +50513,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("dot1x-debug") | str("parse") | str("esw-if") | str("eapol") | str("config-internal") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("vlan") | str("all") | str("dot1x-ipc") | str("dot1x-event") | str("iccp")), + a(str("flag"), enum(str("dot1x-debug") | str("parse") | str("esw-if") | str("eapol") | str("config-internal") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("vlan") | str("all") | str("dot1x-ipc") | str("dot1x-event") | str("iccp")), c( str("disable") ) ).as(:oneline) ) @@ -50632,11 +50638,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("esh") | str("ish") | str("graceful-restart") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("esh") | str("ish") | str("graceful-restart") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -50667,11 +50673,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("spf") | str("packets") | str("hello") | str("lsp") | str("psn") | str("csn") | str("layer2-map") | str("lsp-generation") | str("graceful-restart") | str("ldp-synchronization") | str("nsr-synchronization") | str("traffic-statistics") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("spf") | str("packets") | str("hello") | str("lsp") | str("psn") | str("csn") | str("layer2-map") | str("lsp-generation") | str("graceful-restart") | str("ldp-synchronization") | str("nsr-synchronization") | str("traffic-statistics") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -50754,11 +50760,11 @@ c( (str("disable")), str("credibility-protocol-preference"), str("ipv4-multicast-rpf-routes"), str("ignore-lsp-metrics"), - a(str("family"), (str("inet6") | str("inet") | str("inet-mpls") | str("inet6-mpls")), + a(str("family"), enum(str("inet6") | str("inet") | str("inet-mpls") | str("inet6-mpls")), c( b(str("shortcuts"), c( str("multicast-rpf-routes") ) @@ -50932,11 +50938,11 @@ str("loose-check") ) ) ) ), - a(str("family"), (str("inet6") | str("inet")), + a(str("family"), enum(str("inet6") | str("inet")), c( b(str("bfd-liveness-detection"), c( b(str("version"), (str("0") | str("1") | str("automatic")) @@ -50979,11 +50985,11 @@ a(str("ipv4-multicast-metric"), arg), a(str("ipv6-unicast-metric"), arg), a(str("ipv6-multicast-metric"), arg), str("no-advertise-adjacency-segment"), a(str("te-metric"), arg), - a(str("topology"), (str("default") | str("ipv4-multicast") | str("ipv6-unicast") | str("ipv6-multicast")), + a(str("topology"), enum(str("default") | str("ipv4-multicast") | str("ipv6-unicast") | str("ipv6-multicast")), c( a(str("metric"), arg), b(str("bandwidth-based-metrics"), c( b(a(str("bandwidth"), arg), @@ -51034,11 +51040,11 @@ b(a(str("interface-group"), arg), c( a(str("interface"), arg), b(a(str("level"), arg), c( - a(str("topology"), (str("default") | str("ipv4-multicast") | str("ipv6-unicast") | str("ipv6-multicast")), + a(str("topology"), enum(str("default") | str("ipv4-multicast") | str("ipv6-unicast") | str("ipv6-multicast")), c( a(str("metric"), arg), b(str("bandwidth-based-metrics"), c( b(a(str("bandwidth"), arg), @@ -51087,11 +51093,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("parse") | str("regex-parse") | str("config-internal") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("ppmlite") | str("all")), + a(str("flag"), enum(str("parse") | str("regex-parse") | str("config-internal") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("ppmlite") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -51142,11 +51148,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("event") | str("packet-dump") | str("packets") | str("periodic") | str("initialization") | str("notification") | str("address") | str("label") | str("binding") | str("path") | str("ppmd") | str("nsr-synchronization") | str("link-protection") | str("p2mp-nsr-synchronization") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("event") | str("packet-dump") | str("packets") | str("periodic") | str("initialization") | str("notification") | str("address") | str("label") | str("binding") | str("path") | str("ppmd") | str("nsr-synchronization") | str("link-protection") | str("p2mp-nsr-synchronization") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable"), @@ -51470,11 +51476,11 @@ ) ) ) ), str("upstream-label-assignment"), - a(str("family"), (str("inet6") | str("inet"))), + a(str("family"), enum(str("inet6") | str("inet"))), b(str("transport-preference"), (str("ipv4") | str("ipv6")) ), b(str("dual-transport"), c( @@ -51561,11 +51567,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("init") | str("show") | str("route-socket") | str("parse") | str("process") | str("server") | str("routing") | str("packets") | str("hello-packets") | str("state") | str("nsr-synchronization") | str("all")), + a(str("flag"), enum(str("init") | str("show") | str("route-socket") | str("parse") | str("process") | str("server") | str("routing") | str("packets") | str("hello-packets") | str("state") | str("nsr-synchronization") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -51644,11 +51650,11 @@ ) ) ), b(str("auto-policing"), c( - a(str("class"), (str("all") | str("ct0") | str("ct1") | str("ct2") | str("ct3")), + a(str("class"), enum(str("all") | str("ct0") | str("ct1") | str("ct2") | str("ct3")), c( c( str("drop"), str("loss-priority-high"), str("loss-priority-low") @@ -51738,11 +51744,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("connection") | str("connection-detail") | str("cspf-link") | str("cspf-node") | str("cspf") | str("cspf-abstract") | str("state") | str("error") | str("lsping") | str("graceful-restart") | str("nsr-synchronization") | str("nsr-synchronization-detail") | str("static") | str("egress-protection") | str("all") | str("autobw-state") | str("externally-controlled-lsp") | str("ted-import") | str("ted-export") | str("lsp-history") | str("abstract-hop"))).as(:oneline) + a(str("flag"), enum(str("connection") | str("connection-detail") | str("cspf-link") | str("cspf-node") | str("cspf") | str("cspf-abstract") | str("state") | str("error") | str("lsping") | str("graceful-restart") | str("nsr-synchronization") | str("nsr-synchronization-detail") | str("static") | str("egress-protection") | str("all") | str("autobw-state") | str("externally-controlled-lsp") | str("ted-import") | str("ted-export") | str("lsp-history") | str("abstract-hop"))).as(:oneline) ) ), b(a(str("admin-groups"), arg), c( arg @@ -51798,11 +51804,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("cspf-link") | str("cspf-node") | str("cspf") | str("cspf-abstract") | str("state") | str("all"))).as(:oneline) + a(str("flag"), enum(str("cspf-link") | str("cspf-node") | str("cspf") | str("cspf-abstract") | str("state") | str("all"))).as(:oneline) ) ), str("no-install-to-address"), str("backup"), b(str("from"), @@ -52283,11 +52289,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("state") | str("route") | str("error") | str("all"))).as(:oneline) + a(str("flag"), enum(str("state") | str("route") | str("error") | str("all"))).as(:oneline) ) ) ) ), b(str("label-range"), @@ -52361,11 +52367,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("route") | str("nsr-synchronization") | str("source-active") | str("source-active-request") | str("source-active-response") | str("keepalive") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("route") | str("nsr-synchronization") | str("source-active") | str("source-active-request") | str("source-active-response") | str("keepalive") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -52388,11 +52394,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("route") | str("nsr-synchronization") | str("source-active") | str("source-active-request") | str("source-active-response") | str("keepalive") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("route") | str("nsr-synchronization") | str("source-active") | str("source-active-request") | str("source-active-response") | str("keepalive") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -52448,11 +52454,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("route") | str("nsr-synchronization") | str("source-active") | str("source-active-request") | str("source-active-response") | str("keepalive") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("route") | str("nsr-synchronization") | str("source-active") | str("source-active-request") | str("source-active-response") | str("keepalive") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -52475,11 +52481,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("route") | str("nsr-synchronization") | str("source-active") | str("source-active-request") | str("source-active-response") | str("keepalive") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("route") | str("nsr-synchronization") | str("source-active") | str("source-active-request") | str("source-active-response") | str("keepalive") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -52554,11 +52560,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("nlri") | str("topology") | str("tunnel") | str("umh") | str("intra-as-ad") | str("inter-as-ad") | str("spmsi-ad") | str("leaf-ad") | str("source-active") | str("cmcast-join") | str("mdt-safi-ad") | str("mvpn-limit") | str("nsr-synchronization") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("nlri") | str("topology") | str("tunnel") | str("umh") | str("intra-as-ad") | str("inter-as-ad") | str("spmsi-ad") | str("leaf-ad") | str("source-active") | str("cmcast-join") | str("mdt-safi-ad") | str("mvpn-limit") | str("nsr-synchronization") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -52825,11 +52831,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -53309,21 +53315,21 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("socket") | str("rtsock") | str("config") | str("all"))).as(:oneline) + a(str("flag"), enum(str("socket") | str("rtsock") | str("config") | str("all"))).as(:oneline) ) ) ) end rule(:juniper_protocols_pgm) do c( b(str("traceoptions"), c( - a(str("flag"), (str("init") | str("show") | str("route-socket") | str("parse") | str("state") | str("packets") | str("all")), + a(str("flag"), enum(str("init") | str("show") | str("route-socket") | str("parse") | str("state") | str("packets") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -53364,11 +53370,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("route") | str("packets") | str("hello") | str("register") | str("join") | str("prune") | str("graft") | str("bootstrap") | str("rp") | str("autorp") | str("assert") | str("mdt") | str("nsr-synchronization") | str("bidirectional-df-election") | str("mofrr") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("route") | str("packets") | str("hello") | str("register") | str("join") | str("prune") | str("graft") | str("bootstrap") | str("rp") | str("autorp") | str("assert") | str("mdt") | str("nsr-synchronization") | str("bidirectional-df-election") | str("mofrr") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable"), @@ -53493,11 +53499,11 @@ ) ) ), b(str("sglimit"), c( - a(str("family"), (str("inet6") | str("inet")), + a(str("family"), enum(str("inet6") | str("inet")), c( a(str("maximum"), arg), a(str("threshold"), arg), a(str("log-interval"), arg) ) @@ -53530,11 +53536,11 @@ ) ) ), b(str("register-limit"), c( - a(str("family"), (str("inet6") | str("inet")), + a(str("family"), enum(str("inet6") | str("inet")), c( a(str("maximum"), arg), a(str("threshold"), arg), a(str("log-interval"), arg) ) @@ -53544,11 +53550,11 @@ a(str("log-interval"), arg) ) ), b(str("group-rp-mapping"), c( - a(str("family"), (str("inet6") | str("inet")), + a(str("family"), enum(str("inet6") | str("inet")), c( a(str("maximum"), arg), a(str("threshold"), arg), a(str("log-interval"), arg) ) @@ -53924,11 +53930,11 @@ ) end rule(:erp_trace_options) do c( - a(str("flag"), (str("events") | str("pdu") | str("timers") | str("state-machine") | str("periodic-packet-management") | str("config") | str("normal") | str("debug") | str("all"))).as(:oneline), + a(str("flag"), enum(str("events") | str("pdu") | str("timers") | str("state-machine") | str("periodic-packet-management") | str("config") | str("normal") | str("debug") | str("all"))).as(:oneline), b(str("file"), trace_file_type ) ) end @@ -54011,11 +54017,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("auth") | str("error") | str("expiration") | str("holddown") | str("packets") | str("request") | str("trigger") | str("update") | str("nsr-synchronization") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("auth") | str("error") | str("expiration") | str("holddown") | str("packets") | str("request") | str("trigger") | str("update") | str("nsr-synchronization") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable"), @@ -54210,11 +54216,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("expiration") | str("holddown") | str("packets") | str("request") | str("trigger") | str("update") | str("nsr-synchronization") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("expiration") | str("holddown") | str("packets") | str("request") | str("trigger") | str("update") | str("nsr-synchronization") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -54296,11 +54302,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all"))).as(:oneline) + a(str("flag"), enum(str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all"))).as(:oneline) ) ), b(a(str("interface"), arg), c( a(str("max-advertisement-interval"), arg), @@ -54366,11 +54372,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("io-event") | str("io-packets") | str("packets") | str("path") | str("resv") | str("pathtear") | str("resvtear") | str("state") | str("error") | str("route") | str("lmp") | str("event") | str("nsr-synchronization") | str("lsp-prefix") | str("enhanced-frr") | str("all")), + a(str("flag"), enum(str("io-event") | str("io-packets") | str("packets") | str("path") | str("resv") | str("pathtear") | str("resvtear") | str("state") | str("error") | str("route") | str("lmp") | str("event") | str("nsr-synchronization") | str("lsp-prefix") | str("enhanced-frr") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -54512,11 +54518,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("io-event") | str("io-packets") | str("packets") | str("path") | str("resv") | str("pathtear") | str("resvtear") | str("state") | str("error") | str("route") | str("lmp") | str("event") | str("nsr-synchronization") | str("lsp-prefix") | str("enhanced-frr") | str("all")), + a(str("flag"), enum(str("io-event") | str("io-packets") | str("packets") | str("path") | str("resv") | str("pathtear") | str("resvtear") | str("state") | str("error") | str("route") | str("lmp") | str("event") | str("nsr-synchronization") | str("lsp-prefix") | str("enhanced-frr") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -55446,11 +55452,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -55919,11 +55925,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("spf") | str("error") | str("event") | str("packet-dump") | str("flooding") | str("lsa-analysis") | str("packets") | str("hello") | str("database-description") | str("lsa-request") | str("lsa-update") | str("lsa-ack") | str("ldp-synchronization") | str("on-demand") | str("nsr-synchronization") | str("graceful-restart") | str("restart-signaling") | str("backup-spf") | str("source-packet-routing") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -56496,11 +56502,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("topology") | str("nlri") | str("connections") | str("automatic-site") | str("oam") | str("mac-database") | str("nsr") | str("egress-protection") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("topology") | str("nlri") | str("connections") | str("automatic-site") | str("oam") | str("mac-database") | str("nsr") | str("egress-protection") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -57197,11 +57203,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("hello") | str("join") | str("prune") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("hello") | str("join") | str("prune") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -57223,11 +57229,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -57405,11 +57411,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("query") | str("report") | str("leave") | str("group") | str("client-notification") | str("host-notification") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -57772,11 +57778,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("routing-socket") | str("interface-device") | str("interface-logical") | str("interface-family") | str("bridging-domain") | str("bridge-interface") | str("learning-domain") | str("ipc") | str("mac-learning") | str("initialization") | str("flood-next-hop") | str("irb") | str("vpls-ping") | str("vpls-loop-prev") | str("storm-control") | str("unknown-unicast-forwarding") | str("vxlan") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("routing-socket") | str("interface-device") | str("interface-logical") | str("interface-family") | str("bridging-domain") | str("bridge-interface") | str("learning-domain") | str("ipc") | str("mac-learning") | str("initialization") | str("flood-next-hop") | str("irb") | str("vpls-ping") | str("vpls-loop-prev") | str("storm-control") | str("unknown-unicast-forwarding") | str("vxlan") | str("all"))).as(:oneline) ) ) ) end @@ -57833,11 +57839,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("up") | str("down") | str("statistics") | str("route-monitoring") | str("event") | str("error") | str("write") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("up") | str("down") | str("statistics") | str("route-monitoring") | str("event") | str("error") | str("write") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -57895,11 +57901,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("packets") | str("up") | str("down") | str("statistics") | str("route-monitoring") | str("event") | str("error") | str("write") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("packets") | str("up") | str("down") | str("statistics") | str("route-monitoring") | str("event") | str("error") | str("write") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -57951,11 +57957,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("parse") | str("regex-parse") | str("config-internal") | str("nsr-synchronization") | str("condition-manager") | str("graceful-restart") | str("session") | str("hfrr-fsm") | str("hfrr-route") | str("statistics-id-group") | str("route-record") | str("jvision-lsp") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("parse") | str("regex-parse") | str("config-internal") | str("nsr-synchronization") | str("condition-manager") | str("graceful-restart") | str("session") | str("hfrr-fsm") | str("hfrr-route") | str("statistics-id-group") | str("route-record") | str("jvision-lsp") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -58003,11 +58009,11 @@ b(str("interface-routes"), c( b(str("rib-group"), rib_group_type ), - a(str("family"), (str("inet6") | str("inet")), + a(str("family"), enum(str("inet6") | str("inet")), c( b(str("import"), policy_algebra ), b(str("export"), @@ -59110,11 +59116,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("event") | str("flash") | str("kernel") | str("indirect") | str("task") | str("igp-frr") | str("igp-frr-extensive") | str("tunnel") | str("all")), + a(str("flag"), enum(str("event") | str("flash") | str("kernel") | str("indirect") | str("task") | str("igp-frr") | str("igp-frr-extensive") | str("tunnel") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -59150,11 +59156,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("parse") | str("config-internal") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("parse") | str("config-internal") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -59228,11 +59234,11 @@ ) ), b(str("forwarding-cache"), c( str("allow-maximum"), - a(str("family"), (str("inet6") | str("inet")), + a(str("family"), enum(str("inet6") | str("inet")), c( b(str("threshold"), c( a(str("suppress"), arg), a(str("reuse"), arg), @@ -59307,11 +59313,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("export") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("export") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -59354,11 +59360,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("kernel") | str("tunnel") | str("task") | str("all")), + a(str("flag"), enum(str("kernel") | str("tunnel") | str("task") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -59377,11 +59383,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("debug") | str("parse") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("debug") | str("parse") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -59394,11 +59400,11 @@ b(str("programmable-rpd"), programmable_rpd_type ), b(str("topologies"), c( - a(str("family"), (str("inet6") | str("inet")), + a(str("family"), enum(str("inet6") | str("inet")), c( a(str("topology"), arg) ) ) ) @@ -59486,11 +59492,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("packets") | str("keepalive") | str("update") | str("nsr-synchronization") | str("state") | str("policy") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("packets") | str("keepalive") | str("update") | str("nsr-synchronization") | str("state") | str("policy") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -59507,11 +59513,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("error") | str("packets") | str("keepalive") | str("update") | str("state") | str("task") | str("timer") | str("all")), + a(str("flag"), enum(str("error") | str("packets") | str("keepalive") | str("update") | str("state") | str("task") | str("timer") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -59812,11 +59818,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("parse") | str("rtsock") | str("sm") | str("all"))).as(:oneline) + a(str("flag"), enum(str("parse") | str("rtsock") | str("sm") | str("all"))).as(:oneline) ) end rule(:juniper_services_captive_portal) do c( @@ -59824,11 +59830,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("dot1x-debug") | str("parse") | str("esw-if") | str("config-internal") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("all") | str("dot1x-ipc") | str("dot1x-event")), + a(str("flag"), enum(str("dot1x-debug") | str("parse") | str("esw-if") | str("config-internal") | str("normal") | str("general") | str("state") | str("task") | str("timer") | str("all") | str("dot1x-ipc") | str("dot1x-event")), c( str("disable") ) ).as(:oneline) ) @@ -60127,11 +60133,11 @@ a(str("files"), arg), str("world-readable"), str("no-world-readable") ) ).as(:oneline), - a(str("flag"), (str("all") | str("events") | str("config") | str("radius") | str("tacplus"))).as(:oneline) + a(str("flag"), enum(str("all") | str("events") | str("config") | str("radius") | str("tacplus"))).as(:oneline) ) ), b(str("destination"), c( b(str("radius"), @@ -60402,11 +60408,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("timer") | str("timeouts") | str("routing-socket") | str("general") | str("config") | str("grpc") | str("notification") | str("all"))).as(:oneline) + a(str("flag"), enum(str("timer") | str("timeouts") | str("routing-socket") | str("general") | str("config") | str("grpc") | str("notification") | str("all"))).as(:oneline) ) ) ) ), b(str("netconf"), @@ -60432,11 +60438,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all") | str("incoming") | str("outgoing") | str("debug"))).as(:oneline), + a(str("flag"), enum(str("all") | str("incoming") | str("outgoing") | str("debug"))).as(:oneline), str("on-demand") ) ) ) ), @@ -60541,11 +60547,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("beep") | str("profile") | str("application") | str("io") | str("all"))).as(:oneline) + a(str("flag"), enum(str("beep") | str("profile") | str("application") | str("io") | str("all"))).as(:oneline) ) ) ) ), b(str("outbound-ssh"), @@ -60562,11 +60568,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("connectivity") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("connectivity") | str("all"))).as(:oneline) ) ), b(a(str("client"), arg), c( str("disable-ssh-security-settings"), @@ -61092,11 +61098,11 @@ ) ) ) ) ), - a(str("console"), (str("any") | str("authorization") | str("daemon") | str("ftp") | str("ntp") | str("security") | str("kernel") | str("user") | str("dfc") | str("external") | str("firewall") | str("pfe") | str("conflict-log") | str("change-log") | str("interactive-commands")), + a(str("console"), enum(str("any") | str("authorization") | str("daemon") | str("ftp") | str("ntp") | str("security") | str("kernel") | str("user") | str("dfc") | str("external") | str("firewall") | str("pfe") | str("conflict-log") | str("change-log") | str("interactive-commands")), c( c( str("any"), str("emergency"), str("alert"), @@ -61243,11 +61249,11 @@ str("world-readable"), str("no-world-readable"), str("microsecond-stamp") ) ).as(:oneline), - a(str("flag"), (str("ephemeral-commit") | str("operational-command") | str("debug") | str("all"))).as(:oneline) + a(str("flag"), enum(str("ephemeral-commit") | str("operational-command") | str("debug") | str("all"))).as(:oneline) ) ) ) ), b(str("server"), @@ -61279,11 +61285,11 @@ str("world-readable"), str("no-world-readable"), str("microsecond-stamp") ) ).as(:oneline), - a(str("flag"), (str("all") | str("commit-server") | str("batch") | str("configuration"))).as(:oneline) + a(str("flag"), enum(str("all") | str("commit-server") | str("batch") | str("configuration"))).as(:oneline) ) ) ) ), str("persist-groups-inheritance") @@ -61490,11 +61496,11 @@ arg ) ) ) ), - a(str("flag"), (str("configuration") | str("framework") | str("radius") | str("local-authentication") | str("ldap") | str("address-assignment") | str("jsrc") | str("gx-plus") | str("session-db") | str("profile-db") | str("lib-stats") | str("user-access") | str("nasreq") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("framework") | str("radius") | str("local-authentication") | str("ldap") | str("address-assignment") | str("jsrc") | str("gx-plus") | str("session-db") | str("profile-db") | str("lib-stats") | str("user-access") | str("nasreq") | str("all"))).as(:oneline) ) ) ) ), b(str("smg-service"), @@ -61529,11 +61535,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("framework") | str("all"))).as(:oneline) + a(str("flag"), enum(str("framework") | str("all"))).as(:oneline) ) ) ) ), b((str("dhcp-service") | str("dhcp")), @@ -61592,11 +61598,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("framework") | str("configuration") | str("memory-management") | str("daemon") | str("application") | str("node") | str("diameter-instance") | str("dne") | str("peer") | str("messages") | str("all"))).as(:oneline) + a(str("flag"), enum(str("framework") | str("configuration") | str("memory-management") | str("daemon") | str("application") | str("node") | str("diameter-instance") | str("dne") | str("peer") | str("messages") | str("all"))).as(:oneline) ) ) ) ), b(str("mac-validation"), @@ -61673,11 +61679,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("database") | str("general") | str("message") | str("rtsock") | str("statistics") | str("subscriber") | str("gres") | str("issu") | str("authentication") | str("profile") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("database") | str("general") | str("message") | str("rtsock") | str("statistics") | str("subscriber") | str("gres") | str("issu") | str("authentication") | str("profile") | str("all"))).as(:oneline) ) ) ) ), b(str("extensible-subscriber-services"), @@ -61699,11 +61705,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("authentication") | str("configuration") | str("database") | str("dictionary") | str("dynamic") | str("fsm") | str("general") | str("kernel") | str("op-script") | str("statistics") | str("all"))).as(:oneline) + a(str("flag"), enum(str("authentication") | str("configuration") | str("database") | str("dictionary") | str("dynamic") | str("fsm") | str("general") | str("kernel") | str("op-script") | str("statistics") | str("all"))).as(:oneline) ) ) ) ), b(str("kernel-offload-service"), @@ -79578,11 +79584,12 @@ a(str("iteration-count"), arg), b(str("pseudorandom-function"), (str("hmac-sha2-256") | str("hmac-sha1") | str("hmac-sha2-512")) ) ) - ) + ), + str("dump-on-panic") ) end rule(:archive_object) do sc( @@ -79649,11 +79656,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("interfaces") | str("io") | str("rtsock") | str("ui") | str("auth") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("interfaces") | str("io") | str("rtsock") | str("ui") | str("auth") | str("all"))).as(:oneline) ) end rule(:bbe_smgd_traceoptions_type) do c( @@ -79670,11 +79677,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("config") | str("main") | str("interface") | str("rpd") | str("service") | str("net") | str("autoconf") | str("demux") | str("session") | str("io") | str("vbf") | str("dhcp") | str("cpcd") | str("pppoe") | str("ppp") | str("rtsock") | str("ui") | str("l2tp") | str("dprof") | str("auth") | str("stats") | str("ucac") | str("snmp") | str("ancp") | str("jssc") | str("gre") | str("all"))).as(:oneline) + a(str("flag"), enum(str("config") | str("main") | str("interface") | str("rpd") | str("service") | str("net") | str("autoconf") | str("demux") | str("session") | str("io") | str("vbf") | str("dhcp") | str("cpcd") | str("pppoe") | str("ppp") | str("rtsock") | str("ui") | str("l2tp") | str("dprof") | str("auth") | str("stats") | str("ucac") | str("snmp") | str("ancp") | str("jssc") | str("gre") | str("all"))).as(:oneline) ) end rule(:bdbrepd_type) do c( @@ -79696,11 +79703,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("database") | str("mirror") | str("replication") | str("ui") | str("general") | str("session-db") | str("server") | str("all"))).as(:oneline) + a(str("flag"), enum(str("database") | str("mirror") | str("replication") | str("ui") | str("general") | str("session-db") | str("server") | str("all"))).as(:oneline) ) end rule(:daemon_process) do b(arg.as(:arg), @@ -79729,11 +79736,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("datapath-traced-infrastructure") | str("datapath-traced-server") | str("client-management") | str("all"))).as(:oneline) + a(str("flag"), enum(str("datapath-traced-infrastructure") | str("datapath-traced-server") | str("client-management") | str("all"))).as(:oneline) ) end rule(:ddos_traceoptions_type) do c( @@ -79750,11 +79757,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("config") | str("events") | str("gres") | str("init") | str("memory") | str("protocol") | str("rtsock") | str("signal") | str("state") | str("timer") | str("ui") | str("ipc") | str("socket") | str("all"))).as(:oneline) + a(str("flag"), enum(str("config") | str("events") | str("gres") | str("init") | str("memory") | str("protocol") | str("rtsock") | str("signal") | str("state") | str("timer") | str("ui") | str("ipc") | str("socket") | str("all"))).as(:oneline) ) end rule(:dhcp_traceoptions_type) do c( @@ -79771,11 +79778,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("binding") | str("config") | str("conflict") | str("event") | str("ifdb") | str("io") | str("lease") | str("main") | str("misc") | str("option") | str("packet") | str("pool") | str("protocol") | str("relay") | str("rtsock") | str("scope") | str("signal") | str("trace") | str("ui") | str("all"))).as(:oneline) + a(str("flag"), enum(str("binding") | str("config") | str("conflict") | str("event") | str("ifdb") | str("io") | str("lease") | str("main") | str("misc") | str("option") | str("packet") | str("pool") | str("protocol") | str("relay") | str("rtsock") | str("scope") | str("signal") | str("trace") | str("ui") | str("all"))).as(:oneline) ) end rule(:dynamic_profile_option_object) do c( @@ -79798,11 +79805,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("mgd") | str("webauth") | str("dynamic-vpn") | str("init") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("mgd") | str("webauth") | str("dynamic-vpn") | str("init") | str("all"))).as(:oneline) ) end rule(:jdhcp_interface_traceoptions_level_type) do c( @@ -79819,11 +79826,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("state") | str("packet") | str("flow") | str("packet-option") | str("dhcpv6-state") | str("dhcpv6-packet") | str("dhcpv6-packet-option") | str("all"))).as(:oneline) + a(str("flag"), enum(str("state") | str("packet") | str("flow") | str("packet-option") | str("dhcpv6-state") | str("dhcpv6-packet") | str("dhcpv6-packet-option") | str("all"))).as(:oneline) ) end rule(:jdhcp_traceoptions_level_type) do c( @@ -79840,11 +79847,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("state") | str("packet") | str("flow") | str("packet-option") | str("dhcpv6-state") | str("dhcpv6-packet") | str("dhcpv6-packet-option") | str("all") | str("database") | str("persistent") | str("interface") | str("rtsock") | str("flow-notify") | str("io") | str("ha") | str("ui") | str("general") | str("fwd") | str("rpd") | str("auth") | str("profile") | str("session-db") | str("performance") | str("statistics") | str("dhcpv6-io") | str("dhcpv6-rpd") | str("dhcpv6-session-db") | str("dhcpv6-general") | str("liveness-detection") | str("security-persistence") | str("mclag"))).as(:oneline) + a(str("flag"), enum(str("state") | str("packet") | str("flow") | str("packet-option") | str("dhcpv6-state") | str("dhcpv6-packet") | str("dhcpv6-packet-option") | str("all") | str("database") | str("persistent") | str("interface") | str("rtsock") | str("flow-notify") | str("io") | str("ha") | str("ui") | str("general") | str("fwd") | str("rpd") | str("auth") | str("profile") | str("session-db") | str("performance") | str("statistics") | str("dhcpv6-io") | str("dhcpv6-rpd") | str("dhcpv6-session-db") | str("dhcpv6-general") | str("liveness-detection") | str("security-persistence") | str("mclag"))).as(:oneline) ) end rule(:jet_scripts_file_type) do b(arg.as(:arg), @@ -79878,11 +79885,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("general") | str("rtsock") | str("peer") | str("pic") | str("radius") | str("session") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("general") | str("rtsock") | str("peer") | str("pic") | str("radius") | str("session") | str("all"))).as(:oneline) ) end rule(:jsavald_traceoptions_type) do c( @@ -79899,11 +79906,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("rtsock") | str("general") | str("firewall") | str("database") | str("all"))).as(:oneline) + a(str("flag"), enum(str("rtsock") | str("general") | str("firewall") | str("database") | str("all"))).as(:oneline) ) end rule(:juniper_transport_profiles) do b(arg.as(:arg), @@ -80302,11 +80309,11 @@ rule(:juniper_virtual_chassis_traceoptions) do c( b(str("file"), vchassis_trace_file_type ), - a(str("flag"), (str("parse") | str("hello") | str("psn") | str("csn") | str("lsp") | str("normal") | str("task") | str("krt") | str("spf") | str("me") | str("packets") | str("lsp-generation") | str("error") | str("route") | str("state") | str("auto-configuration") | str("graceful-restart") | str("dcp-infra") | str("dcp-dev-state") | str("heartbeat") | str("all")), + a(str("flag"), enum(str("parse") | str("hello") | str("psn") | str("csn") | str("lsp") | str("normal") | str("task") | str("krt") | str("spf") | str("me") | str("packets") | str("lsp-generation") | str("error") | str("route") | str("state") | str("auto-configuration") | str("graceful-restart") | str("dcp-infra") | str("dcp-dev-state") | str("heartbeat") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -80680,11 +80687,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("main") | str("vpn-localization-config") | str("vpn-localization-replay") | str("all"))).as(:oneline) + a(str("flag"), enum(str("main") | str("vpn-localization-config") | str("vpn-localization-replay") | str("all"))).as(:oneline) ) end rule(:l2tp_access_line_object) do c( @@ -80719,11 +80726,11 @@ end rule(:l2tp_interface_traceoptions) do b(arg.as(:arg), c( - a(str("flag"), (str("ipc") | str("protocol") | str("packet-dump") | str("system") | str("all"))).as(:oneline), + a(str("flag"), enum(str("ipc") | str("protocol") | str("packet-dump") | str("system") | str("all"))).as(:oneline), b(str("debug-level"), (str("error") | str("detail") | str("extensive")) ) ) ) @@ -80883,11 +80890,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all") | str("events") | str("config"))).as(:oneline) + a(str("flag"), enum(str("all") | str("events") | str("config"))).as(:oneline) ) ), b(str("keys"), c( a(str("key"), arg) @@ -80999,11 +81006,11 @@ end rule(:lr_interfaces_type) do b(arg.as(:arg), c( - a(str("unit"), (arg | arg | arg), + a(str("unit"), enum(arg | arg | arg), c( b(str("policer-overhead"), ca( a(str("ingress"), arg), a(str("egress"), arg) @@ -81087,14 +81094,14 @@ ) ) ), str("actual-transit-statistics"), b(str("demux-source"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("demux-destination"), - ((str("inet6") | str("inet"))) + enum((str("inet6") | str("inet"))) ), b(str("encapsulation"), (str("atm-nlpid") | str("atm-cisco-nlpid") | str("atm-snap") | str("atm-vc-mux") | str("atm-ccc-vc-mux") | str("atm-tcc-vc-mux") | str("atm-tcc-snap") | str("atm-ccc-cell-relay") | str("vlan-vci-ccc") | str("ether-over-atm-llc") | str("ether-vpls-over-atm-llc") | str("ppp-over-ether-over-atm-llc") | str("ppp-over-ether") | str("atm-ppp-vc-mux") | str("atm-ppp-llc") | str("atm-mlppp-llc") | str("frame-relay-ppp") | str("frame-relay-ccc") | str("frame-relay") | str("frame-relay-tcc") | str("frame-relay-ether-type") | str("frame-relay-ether-type-tcc") | str("ether-vpls-fr") | str("vlan-ccc") | str("ethernet-ccc") | str("vlan-vpls") | str("vlan-bridge") | str("dix") | str("ethernet-vpls") | str("ethernet-bridge") | str("ethernet") | str("vlan") | str("vlan-tcc") | str("multilink-ppp") | str("multilink-frame-relay-end-to-end") | str("ppp-ccc")) ), str("gre"), @@ -81663,20 +81670,20 @@ b(str("dhcpv6-client"), c( b(str("client-type"), (str("stateful") | str("autoconfig")) ), - a(str("client-ia-type"), (str("ia-na") | str("ia-pd"))), + a(str("client-ia-type"), enum(str("ia-na") | str("ia-pd"))), str("rapid-commit"), b(str("client-identifier"), c( b(str("duid-type"), (str("duid-llt") | str("vendor") | str("duid-ll")) ) ) ).as(:oneline), - a(str("req-option"), (str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), + a(str("req-option"), enum(str("dns-server") | str("domain") | str("ntp-server") | str("time-zone") | str("sip-server") | str("sip-domain") | str("nis-server") | str("nis-domain") | str("fqdn") | str("vendor-spec"))), a(str("retransmission-attempt"), arg), str("no-dns-propagation"), b(str("update-router-advertisement"), c( b(a(str("interface"), arg), @@ -82140,14 +82147,14 @@ interface_device ), b(str("hash-keys"), c( b(str("ingress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("iif"))) ), b(str("egress-key"), - ((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) + enum((str("source-ip") | str("destination-ip") | str("protocol") | str("oif"))) ) ) ) ) ), @@ -83294,11 +83301,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("error") | str("warning") | str("debug") | str("encode") | str("decode") | str("config") | str("events") | str("packet-io") | str("tracker") | str("peer") | str("pathfailure") | str("all"))).as(:oneline) + a(str("flag"), enum(str("error") | str("warning") | str("debug") | str("encode") | str("decode") | str("config") | str("events") | str("packet-io") | str("tracker") | str("peer") | str("pathfailure") | str("all"))).as(:oneline) ) end rule(:mobile_gateways_ipv6_router_advertisement) do c( @@ -83326,11 +83333,11 @@ ) ).as(:oneline), b(str("level"), (str("critical") | str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("init") | str("config") | str("ctxt") | str("svcpic") | str("fsm") | str("ha") | str("waitq") | str("pfem") | str("stats") | str("bulkjob") | str("cos-cac") | str("all"))).as(:oneline) + a(str("flag"), enum(str("init") | str("config") | str("ctxt") | str("svcpic") | str("fsm") | str("ha") | str("waitq") | str("pfem") | str("stats") | str("bulkjob") | str("cos-cac") | str("all"))).as(:oneline) ) end rule(:monitor_threshold) do ca( @@ -83674,11 +83681,11 @@ rule(:mrp_trace_options) do c( b(str("file"), trace_file_type ), - a(str("flag"), (str("events") | str("pdu") | str("timers") | str("state-machine") | str("socket") | str("error") | str("all")), + a(str("flag"), enum(str("events") | str("pdu") | str("timers") | str("state-machine") | str("socket") | str("error") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -84866,11 +84873,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("pccd-main") | str("pccd-config") | str("pccd-core") | str("pccd-ui") | str("pccd-rpd") | str("pccd-functions") | str("all"))).as(:oneline) + a(str("flag"), enum(str("pccd-main") | str("pccd-config") | str("pccd-core") | str("pccd-ui") | str("pccd-rpd") | str("pccd-functions") | str("all"))).as(:oneline) ) end rule(:pcp_rule_object) do b(arg.as(:arg), @@ -85103,18 +85110,18 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("init") | str("error") | str("event") | str("general") | str("packet") | str("timer") | str("all"))).as(:oneline) + a(str("flag"), enum(str("init") | str("error") | str("event") | str("general") | str("packet") | str("timer") | str("all"))).as(:oneline) ) ), b(str("querier"), c( b(str("loss"), c( - a(str("traffic-class"), (str("tc-0") | str("tc-1") | str("tc-2") | str("tc-3") | str("tc-4") | str("tc-5") | str("tc-6") | str("tc-7") | str("all") | str("none")), + a(str("traffic-class"), enum(str("tc-0") | str("tc-1") | str("tc-2") | str("tc-3") | str("tc-4") | str("tc-5") | str("tc-6") | str("tc-7") | str("all") | str("none")), c( a(str("query-interval"), arg), b(str("measurement-quantity"), (str("bytes") | str("packets")) ), @@ -85125,11 +85132,11 @@ ) ) ), b(str("delay"), c( - a(str("traffic-class"), (str("tc-0") | str("tc-1") | str("tc-2") | str("tc-3") | str("tc-4") | str("tc-5") | str("tc-6") | str("tc-7") | str("all")), + a(str("traffic-class"), enum(str("tc-0") | str("tc-1") | str("tc-2") | str("tc-3") | str("tc-4") | str("tc-5") | str("tc-6") | str("tc-7") | str("all")), c( a(str("query-interval"), arg), a(str("padding-size"), arg), a(str("average-sample-size"), arg), a(str("twcd-delay-threshold"), arg), @@ -85138,11 +85145,11 @@ ) ) ), b(str("loss-delay"), c( - a(str("traffic-class"), (str("tc-0") | str("tc-1") | str("tc-2") | str("tc-3") | str("tc-4") | str("tc-5") | str("tc-6") | str("tc-7") | str("all") | str("none")), + a(str("traffic-class"), enum(str("tc-0") | str("tc-1") | str("tc-2") | str("tc-3") | str("tc-4") | str("tc-5") | str("tc-6") | str("tc-7") | str("all") | str("none")), c( a(str("query-interval"), arg), b(str("measurement-quantity"), (str("bytes") | str("packets")) ), @@ -85188,11 +85195,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("pipe") | str("rpc-packet-details") | str("database") | str("network") | str("traceroute") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("pipe") | str("rpc-packet-details") | str("database") | str("network") | str("traceroute") | str("all"))).as(:oneline) ) ) ) end @@ -85618,11 +85625,11 @@ b(str("sustained-data-rate"), c( a(str("default"), arg), a(str("minimum"), arg), b(str("maximum"), - (arg) + enum(arg) ), b(str("rtcp"), pgcp_h248_rtcp_rate_units_object ), str("rtcp-include") @@ -85631,11 +85638,11 @@ b(str("peak-data-rate"), c( a(str("default"), arg), a(str("minimum"), arg), b(str("maximum"), - (arg) + enum(arg) ), b(str("rtcp"), pgcp_h248_rtcp_rate_units_object ) ) @@ -85643,11 +85650,11 @@ b(str("max-burst-size"), c( a(str("default"), arg), a(str("minimum"), arg), b(str("maximum"), - (arg) + enum(arg) ), b(str("rtcp"), pgcp_h248_rtcp_burst_units_object ) ) @@ -85823,11 +85830,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("events") | str("heartbeat") | str("process-tracking") | str("ui") | str("all"))).as(:oneline) + a(str("flag"), enum(str("events") | str("heartbeat") | str("process-tracking") | str("ui") | str("all"))).as(:oneline) ) end rule(:port_range) do b(arg.as(:arg), @@ -85852,11 +85859,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("access") | str("address-pool") | str("auth") | str("chap") | str("pap") | str("config") | str("ifdb") | str("lcp") | str("memory") | str("message") | str("mlppp") | str("ncp") | str("ppp") | str("radius") | str("redundancy") | str("rtsock") | str("session") | str("signal") | str("timer") | str("ui") | str("ci") | str("all"))).as(:oneline) + a(str("flag"), enum(str("access") | str("address-pool") | str("auth") | str("chap") | str("pap") | str("config") | str("ifdb") | str("lcp") | str("memory") | str("message") | str("mlppp") | str("ncp") | str("ppp") | str("radius") | str("redundancy") | str("rtsock") | str("session") | str("signal") | str("timer") | str("ui") | str("ci") | str("all"))).as(:oneline) ) end rule(:ppp_options_type) do c( @@ -85944,11 +85951,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("config") | str("events") | str("gres") | str("init") | str("interface-db") | str("memory") | str("protocol") | str("rtsock") | str("session-db") | str("signal") | str("state") | str("stats") | str("timer") | str("ui") | str("all"))).as(:oneline), + a(str("flag"), enum(str("config") | str("events") | str("gres") | str("init") | str("interface-db") | str("memory") | str("protocol") | str("rtsock") | str("session-db") | str("signal") | str("state") | str("stats") | str("timer") | str("ui") | str("all"))).as(:oneline), b(str("filter"), c( a(str("aci"), arg), a(str("ari"), arg), a(str("service-name"), arg), @@ -86052,11 +86059,11 @@ b(str("traceoptions"), c( b(str("file"), trace_file_type ), - a(str("flag"), (str("client") | str("japi") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all"))).as(:oneline) + a(str("flag"), enum(str("client") | str("japi") | str("route") | str("normal") | str("general") | str("state") | str("policy") | str("task") | str("timer") | str("all"))).as(:oneline) ) ), a(str("purge-timeout"), arg) ) end @@ -86295,11 +86302,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("event") | str("interface") | str("node") | str("packet") | str("rtsock") | str("session") | str("socket") | str("timer") | str("virtual-channel") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("event") | str("interface") | str("node") | str("packet") | str("rtsock") | str("session") | str("socket") | str("timer") | str("virtual-channel") | str("all"))).as(:oneline) ) end rule(:radius_disconnect_object) do b(arg.as(:arg), @@ -86348,11 +86355,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("send") | str("send-detail") | str("receive") | str("receive-detail") | str("timeout") | str("state") | str("all"))).as(:oneline), + a(str("flag"), enum(str("send") | str("send-detail") | str("receive") | str("receive-detail") | str("timeout") | str("state") | str("all"))).as(:oneline), a(str("server"), arg), a(str("client"), arg), a(str("snoop-segment"), arg) ) end @@ -86457,11 +86464,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("error") | str("event") | str("packet") | str("pipe") | str("pipe-detail") | str("all"))).as(:oneline) + a(str("flag"), enum(str("error") | str("event") | str("packet") | str("pipe") | str("pipe-detail") | str("all"))).as(:oneline) ) ) ) ), a(str("satellite"), arg), @@ -86783,19 +86790,19 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("events") | str("gencfg") | str("module") | str("sysvsem") | str("sysvshm") | str("tracking") | str("ui") | str("all"))).as(:oneline) + a(str("flag"), enum(str("events") | str("gencfg") | str("module") | str("sysvsem") | str("sysvshm") | str("tracking") | str("ui") | str("all"))).as(:oneline) ) end rule(:resource_monitor_type) do c( - a(str("resource-category"), (str("jtree")), + a(str("resource-category"), enum(str("jtree")), c( - a(str("resource-type"), (str("free-pages") | str("free-dwords") | str("contiguous-pages")), + a(str("resource-type"), enum(str("free-pages") | str("free-dwords") | str("contiguous-pages")), c( a(str("low-watermark"), arg), a(str("high-watermark"), arg) ) ) @@ -86825,11 +86832,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("all"))).as(:oneline) + a(str("flag"), enum(str("all"))).as(:oneline) ) end rule(:resources_type) do c( @@ -87033,11 +87040,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("configuration") | str("ipc") | str("ppm") | str("statistics") | str("error") | str("all"))).as(:oneline) + a(str("flag"), enum(str("configuration") | str("ipc") | str("ppm") | str("statistics") | str("error") | str("all"))).as(:oneline) ) end rule(:rmps_clnt_traceoptions_type) do c( @@ -87054,11 +87061,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("infra") | str("memory") | str("communication") | str("resource-tables") | str("info-tables") | str("redundancy") | str("all"))).as(:oneline) + a(str("flag"), enum(str("infra") | str("memory") | str("communication") | str("resource-tables") | str("info-tables") | str("redundancy") | str("all"))).as(:oneline) ) end rule(:rmpsd_traceoptions_type) do c( @@ -87075,11 +87082,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("config") | str("gres") | str("init") | str("memory") | str("communication") | str("license-management") | str("signal") | str("state") | str("timer") | str("ui") | str("resource-manager") | str("info-manager") | str("packet-steering") | str("all"))).as(:oneline) + a(str("flag"), enum(str("config") | str("gres") | str("init") | str("memory") | str("communication") | str("license-management") | str("signal") | str("state") | str("timer") | str("ui") | str("resource-manager") | str("info-manager") | str("packet-steering") | str("all"))).as(:oneline) ) end rule(:route_filter_list_items) do s( @@ -87384,11 +87391,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("parse") | str("all"))).as(:oneline) + a(str("flag"), enum(str("parse") | str("all"))).as(:oneline) ) end rule(:routing_destinations) do c( @@ -88308,11 +88315,11 @@ a(str("files"), arg), str("world-readable"), str("no-world-readable") ) ).as(:oneline), - a(str("flag"), (str("all") | str("events") | str("input") | str("offline") | str("output") | str("rpc") | str("xslt"))).as(:oneline) + a(str("flag"), enum(str("all") | str("events") | str("input") | str("offline") | str("output") | str("rpc") | str("xslt"))).as(:oneline) ) end rule(:scripts_type) do c( @@ -88465,11 +88472,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("service-infrastructure") | str("routing-instance") | str("config-handling") | str("command-handling") | str("cli-show-commands") | str("all"))).as(:oneline) + a(str("flag"), enum(str("service-infrastructure") | str("routing-instance") | str("config-handling") | str("command-handling") | str("cli-show-commands") | str("all"))).as(:oneline) ) end rule(:sdk_vmmd_traceoptions_type) do c( @@ -88486,11 +88493,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("init") | str("configuration") | str("ccif") | str("pxe") | str("platform") | str("heartbeat") | str("routing-instances") | str("snmp") | str("miscellaneous") | str("all"))).as(:oneline) + a(str("flag"), enum(str("init") | str("configuration") | str("ccif") | str("pxe") | str("platform") | str("heartbeat") | str("routing-instances") | str("snmp") | str("miscellaneous") | str("all"))).as(:oneline) ) end rule(:sec_object) do c( @@ -88626,11 +88633,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("timer") | str("routing-socket") | str("parse") | str("config") | str("ike") | str("policy-manager") | str("general") | str("database") | str("certificates") | str("snmp") | str("thread") | str("high-availability") | str("next-hop-tunnels") | str("all"))).as(:oneline), + a(str("flag"), enum(str("timer") | str("routing-socket") | str("parse") | str("config") | str("ike") | str("policy-manager") | str("general") | str("database") | str("certificates") | str("snmp") | str("thread") | str("high-availability") | str("next-hop-tunnels") | str("all"))).as(:oneline), b(str("gateway-filter"), c( b(str("local-address"), ipv4addr ), @@ -89016,11 +89023,11 @@ rule(:ipsec_internal_sa) do c( a(str("description"), quote | arg), b(str("manual"), c( - a(str("direction"), (str("inbound") | str("outbound") | str("bidirectional")), + a(str("direction"), enum(str("inbound") | str("outbound") | str("bidirectional")), c( b(str("protocol"), (str("ah") | str("esp") | str("bundle")) ), a(str("spi"), arg), @@ -89107,11 +89114,11 @@ (str("transport") | str("tunnel")) ), c( b(str("manual"), c( - a(str("direction"), (str("inbound") | str("outbound") | str("bidirectional")), + a(str("direction"), enum(str("inbound") | str("outbound") | str("bidirectional")), c( b(str("protocol"), (str("ah") | str("esp") | str("bundle")) ), a(str("spi"), arg), @@ -89166,11 +89173,11 @@ rule(:ipsec_trusted_channel_sa) do c( a(str("description"), quote | arg), b(str("manual"), c( - a(str("direction"), (str("inbound") | str("outbound") | str("bidirectional")), + a(str("direction"), enum(str("inbound") | str("outbound") | str("bidirectional")), c( b(str("protocol"), (str("ah") | str("esp") | str("bundle")) ), a(str("spi"), arg), @@ -89271,11 +89278,11 @@ c( a(str("ckn"), arg), a(str("cak"), arg) ) ), - a(str("exclude-protocol"), (str("cdp") | str("lldp") | str("lacp"))).as(:oneline) + a(str("exclude-protocol"), enum(str("cdp") | str("lldp") | str("lacp"))).as(:oneline) ) ), b(a(str("interfaces"), arg), c( a(str("connectivity-association"), arg), @@ -89306,27 +89313,27 @@ rule(:macsec_trace_options) do c( b(str("file"), trace_file_type ), - a(str("flag"), (str("config") | str("debug") | str("normal") | str("all"))).as(:oneline) + a(str("flag"), enum(str("config") | str("debug") | str("normal") | str("all"))).as(:oneline) ) end rule(:mka_trace_options) do c( b(str("file"), trace_file_type ), - a(str("flag"), (str("mka-packets") | str("state") | str("to-secy") | str("keys") | str("normal") | str("all"))).as(:oneline) + a(str("flag"), enum(str("mka-packets") | str("state") | str("to-secy") | str("keys") | str("normal") | str("all"))).as(:oneline) ) end rule(:security_model_access) do - b(((str("any") | str("usm") | str("v1") | str("v2c"))).as(:arg), + b(enum((str("any") | str("usm") | str("v1") | str("v2c"))).as(:arg), c( - a(str("security-level"), (str("none") | str("authentication") | str("privacy")), + a(str("security-level"), enum(str("none") | str("authentication") | str("privacy")), c( b(str("context-match"), (str("exact") | str("prefix")) ), a(str("read-view"), arg), @@ -89524,11 +89531,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("certificate-verification") | str("online-crl-check") | str("enrollment") | str("all"))).as(:oneline) + a(str("flag"), enum(str("certificate-verification") | str("online-crl-check") | str("enrollment") | str("all"))).as(:oneline) ) ) ) end @@ -89551,11 +89558,11 @@ c( a(str("fpc"), arg), a(str("pic"), arg) ) ), - a(str("flag"), (str("timer") | str("routing-socket") | str("parse") | str("config") | str("ike") | str("policy-manager") | str("general") | str("database") | str("certificates") | str("snmp") | str("thread") | str("high-availability") | str("next-hop-tunnels") | str("all") | str("ams") | str("lic"))).as(:oneline), + a(str("flag"), enum(str("timer") | str("routing-socket") | str("parse") | str("config") | str("ike") | str("policy-manager") | str("general") | str("database") | str("certificates") | str("snmp") | str("thread") | str("high-availability") | str("next-hop-tunnels") | str("all") | str("ams") | str("lic"))).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ) ) end @@ -90019,11 +90026,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("init") | str("config") | str("general") | str("high-availability") | str("debug") | str("fsm") | str("tftmgr") | str("all"))).as(:oneline) + a(str("flag"), enum(str("init") | str("config") | str("general") | str("high-availability") | str("debug") | str("fsm") | str("tftmgr") | str("all"))).as(:oneline) ) end rule(:profile_rule_assoc) do b(arg.as(:arg), @@ -90624,11 +90631,11 @@ str("file-logging"), str("no-file-logging") ) ) ), - a(str("log-type"), (str("debug") | str("info") | str("notice")), + a(str("log-type"), enum(str("debug") | str("info") | str("notice")), c( c( str("none"), str("terse"), str("brief"), @@ -90667,11 +90674,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("database") | str("ui") | str("general") | str("session-db") | str("server") | str("issu") | str("all"))).as(:oneline) + a(str("flag"), enum(str("database") | str("ui") | str("general") | str("session-db") | str("server") | str("issu") | str("all"))).as(:oneline) ) end rule(:smihelperd_type) do c( @@ -90693,11 +90700,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("sdb") | str("general") | str("ui") | str("snmp") | str("all"))).as(:oneline) + a(str("flag"), enum(str("sdb") | str("general") | str("ui") | str("snmp") | str("all"))).as(:oneline) ) end rule(:smpl_analyzer_type) do b(arg.as(:arg), @@ -90908,11 +90915,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("ager") | str("commands") | str("configuration") | str("flow") | str("init") | str("ipv6-router-advertisement") | str("memory") | str("redundancy") | str("reassembly") | str("buffering") | str("all"))).as(:oneline) + a(str("flag"), enum(str("ager") | str("commands") | str("configuration") | str("flow") | str("init") | str("ipv6-router-advertisement") | str("memory") | str("redundancy") | str("reassembly") | str("buffering") | str("all"))).as(:oneline) ) end rule(:sonet_options_type) do c( @@ -91547,11 +91554,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("config") | str("connect") | str("route") | str("ssd") | str("snmp") | str("system") | str("opcmd") | str("state-machine") | str("kcom") | str("database") | str("swithover") | str("stateful-sync") | str("redundancy-group") | str("all"))).as(:oneline) + a(str("flag"), enum(str("config") | str("connect") | str("route") | str("ssd") | str("snmp") | str("system") | str("opcmd") | str("state-machine") | str("kcom") | str("database") | str("swithover") | str("stateful-sync") | str("redundancy-group") | str("all"))).as(:oneline) ) end rule(:ssd_traceoptions_type) do c( @@ -91568,11 +91575,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("infrastructure") | str("server") | str("routing-instance") | str("client-management") | str("interfaces-management") | str("route-management") | str("nexthop-management") | str("firewall-management") | str("nexthop-group-management") | str("cli") | str("cfg") | str("all"))).as(:oneline) + a(str("flag"), enum(str("infrastructure") | str("server") | str("routing-instance") | str("client-management") | str("interfaces-management") | str("route-management") | str("nexthop-management") | str("firewall-management") | str("nexthop-group-management") | str("cli") | str("cfg") | str("all"))).as(:oneline) ) end rule(:ssl_initiation_config) do c( @@ -91711,11 +91718,11 @@ ) ).as(:oneline), b(str("level"), (str("brief") | str("detail") | str("extensive") | str("verbose")) ), - a(str("flag"), (str("cli-configuration") | str("termination") | str("initiation") | str("proxy") | str("selected-profile") | str("all"))).as(:oneline) + a(str("flag"), enum(str("cli-configuration") | str("termination") | str("initiation") | str("proxy") | str("selected-profile") | str("all"))).as(:oneline) ) end rule(:stp_interface) do b((str("all") | arg).as(:arg), @@ -91742,11 +91749,11 @@ rule(:stp_trace_options) do c( b(str("file"), trace_file_type ), - a(str("flag"), (str("events") | str("bpdu") | str("timers") | str("port-information-state-machine") | str("port-receive-state-machine") | str("port-role-select-state-machine") | str("port-role-transit-state-machine") | str("port-state-transit-state-machine") | str("port-migration-state-machine") | str("port-transmit-state-machine") | str("topology-change-state-machine") | str("bridge-detection-state-machine") | str("state-machine-variables") | str("ppmd") | str("all-failures") | str("all")), + a(str("flag"), enum(str("events") | str("bpdu") | str("timers") | str("port-information-state-machine") | str("port-receive-state-machine") | str("port-role-select-state-machine") | str("port-role-transit-state-machine") | str("port-state-transit-state-machine") | str("port-migration-state-machine") | str("port-transmit-state-machine") | str("topology-change-state-machine") | str("bridge-detection-state-machine") | str("state-machine-variables") | str("ppmd") | str("all-failures") | str("all")), c( str("disable") ) ).as(:oneline) ) @@ -91842,11 +91849,11 @@ ) ) end rule(:syslog_object) do - b(((str("any") | str("authorization") | str("daemon") | str("ftp") | str("ntp") | str("security") | str("kernel") | str("user") | str("dfc") | str("external") | str("firewall") | str("pfe") | str("conflict-log") | str("change-log") | str("interactive-commands"))).as(:arg), + b(enum((str("any") | str("authorization") | str("daemon") | str("ftp") | str("ntp") | str("security") | str("kernel") | str("user") | str("dfc") | str("external") | str("firewall") | str("pfe") | str("conflict-log") | str("change-log") | str("interactive-commands"))).as(:arg), c( c( str("any"), str("emergency"), str("alert"), @@ -92052,11 +92059,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("all-real-services") | str("messages") | str("probe") | str("inter-thread") | str("database") | str("file-descriptor-queue") | str("probe-infra") | str("all"))).as(:oneline), + a(str("flag"), enum(str("all-real-services") | str("messages") | str("probe") | str("inter-thread") | str("database") | str("file-descriptor-queue") | str("probe-infra") | str("all"))).as(:oneline), b(a(str("monitor"), arg), c( a(str("group-name"), arg), a(str("real-services-name"), arg) ) @@ -92166,11 +92173,11 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("normal") | str("config") | str("connect") | str("health") | str("parse") | str("probe") | str("route") | str("snmp") | str("statistics") | str("system") | str("operational-commands") | str("filter") | str("all"))).as(:oneline) + a(str("flag"), enum(str("normal") | str("config") | str("connect") | str("health") | str("parse") | str("probe") | str("route") | str("snmp") | str("statistics") | str("system") | str("operational-commands") | str("filter") | str("all"))).as(:oneline) ) end rule(:tdir_virtual_service_object) do b(arg.as(:arg), @@ -92342,11 +92349,11 @@ str("no-world-readable") ).as(:oneline) end rule(:transaction_method_type) do - ((str("method-invite") | str("method-options") | str("method-refer") | str("method-subscribe") | str("method-publish") | str("method-message") | str("method-register"))).as(:arg) + enum((str("method-invite") | str("method-options") | str("method-refer") | str("method-subscribe") | str("method-publish") | str("method-message") | str("method-register"))).as(:arg) end rule(:transaction_policy_type) do b(arg.as(:arg), c( @@ -92585,11 +92592,11 @@ b(str("match"), regular_expression ) ) ).as(:oneline), - a(str("flag"), (str("configuration") | str("protocol") | str("init") | str("error") | str("all")), + a(str("flag"), enum(str("configuration") | str("protocol") | str("init") | str("error") | str("all")), c( str("send"), str("receive"), str("detail"), str("disable") @@ -93370,10 +93377,10 @@ ) ).as(:oneline), b(str("level"), (str("error") | str("warning") | str("notice") | str("info") | str("verbose") | str("all")) ), - a(str("flag"), (str("normal") | str("config") | str("dns") | str("timer") | str("connect") | str("parse") | str("statistics") | str("system") | str("operational-commands") | str("filter") | str("gencfg") | str("routing") | str("snmp") | str("all"))).as(:oneline) + a(str("flag"), enum(str("normal") | str("config") | str("dns") | str("timer") | str("connect") | str("parse") | str("statistics") | str("system") | str("operational-commands") | str("filter") | str("gencfg") | str("routing") | str("snmp") | str("all"))).as(:oneline) ) end rule(:v3_user_config) do b(arg.as(:arg),