example/vsrx-12.1.x47.rb in junoser-0.2.3 vs example/vsrx-12.1.x47.rb in junoser-0.2.4
- old
+ new
@@ -1947,10 +1947,13 @@
).as(:oneline)
)
),
c(
"isid-list" arg
+ ),
+ "storm-control" (
+ storm_control
)
)
),
"ethernet-switching" (
ethernet_switching_type
@@ -6982,28 +6985,11 @@
"input" arg,
"output" arg
)
),
"storm-control" (
- c(
- "default",
- "action-shutdown",
- "interface" ("all" | "name") (
- c(
- "bandwidth" arg,
- "no-broadcast",
- "no-unknown-unicast",
- "level" arg,
- c(
- "multicast",
- "no-multicast",
- "no-registered-multicast",
- "no-unregistered-multicast"
- )
- )
- )
- )
+ storm_control
)
)
end
rule(:ethernet_policer) do
@@ -10295,10 +10281,13 @@
).as(:oneline)
)
),
c(
"isid-list" arg
+ ),
+ "storm-control" (
+ storm_control
)
)
),
"ethernet-switching" (
ethernet_switching_type
@@ -14647,10 +14636,13 @@
).as(:oneline)
)
),
c(
"isid-list" arg
+ ),
+ "storm-control" (
+ storm_control
)
)
),
"ethernet-switching" (
ethernet_switching_type
@@ -31265,10 +31257,33 @@
c(
c(
"disable"
)
)
+ ),
+ "app-engine-virtual-machine-management-service" (
+ c(
+ "traceoptions" (
+ c(
+ "no-remote-trace",
+ "file" (
+ c(
+ "filename" arg,
+ "size" arg,
+ "files" arg,
+ "world-readable",
+ "no-world-readable",
+ "match" (
+ regular_expression
+ )
+ )
+ ).as(:oneline),
+ "level" arg,
+ "flag" ("active-directory-authentication" | "configuration" | "db" | "ip-user-mapping" | "ip-user-probe" | "ipc" | "user-group-mapping" | "wmic" | "all").as(:oneline)
+ )
+ )
+ )
)
)
),
"ddos-protection",
"packet-triggered-subscribers-partition",
@@ -32688,10 +32703,13 @@
).as(:oneline)
)
),
c(
"isid-list" arg
+ ),
+ "storm-control" (
+ storm_control
)
)
),
"ethernet-switching" (
ethernet_switching_type
@@ -38362,9 +38380,30 @@
)
)
),
"syslog"
)
+ )
+ )
+ )
+ )
+end
+
+rule(:storm_control) do
+ c(
+ "default",
+ "action-shutdown",
+ "interface" ("all" | "name") (
+ c(
+ "bandwidth" arg,
+ "no-broadcast",
+ "no-unknown-unicast",
+ "level" arg,
+ c(
+ "multicast",
+ "no-multicast",
+ "no-registered-multicast",
+ "no-unregistered-multicast"
)
)
)
)
end