example/vsrx-12.1.x47.rb in junoser-0.2.6 vs example/vsrx-12.1.x47.rb in junoser-0.2.7
- old
+ new
@@ -5700,11 +5700,16 @@
arg.as(:arg) (
c(
"tunnel-port" (
chassis_port_type
),
- "tunnel-services",
+ "tunnel-services" (
+ c(
+ "bandwidth" ("1g" | "10g" | "20g" | "40g").as(:oneline),
+ "tunnel-only"
+ )
+ ),
"inline-services",
c(
"adaptive-services",
"monitoring-services"
),
@@ -31259,32 +31264,15 @@
c(
"disable"
)
)
),
+ "app-engine-management-service" (
+ app_engine_management_service
+ ),
"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)
- )
- )
- )
+ app_engine_management_service
)
)
),
"ddos-protection",
"packet-triggered-subscribers-partition",
@@ -38403,9 +38391,34 @@
"multicast",
"no-multicast",
"no-registered-multicast",
"no-unregistered-multicast"
)
+ )
+ )
+ )
+end
+
+rule(:app_engine_management_service) do
+ c(
+ "disable",
+ "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)
)
)
)
end