lib/junoser/parser.rb in junoser-0.2.3 vs lib/junoser/parser.rb in junoser-0.2.4

- old
+ new

@@ -1993,10 +1993,13 @@ ).as(:oneline) ) ), c( a(str("isid-list"), arg) + ), + b(str("storm-control"), + storm_control ) ) ), b(str("ethernet-switching"), ethernet_switching_type @@ -7008,28 +7011,11 @@ a(str("input"), arg), a(str("output"), arg) ) ), b(str("storm-control"), - c( - str("default"), - str("action-shutdown"), - a(str("interface"), str("all") | arg, - c( - a(str("bandwidth"), arg), - str("no-broadcast"), - str("no-unknown-unicast"), - a(str("level"), arg), - c( - str("multicast"), - str("no-multicast"), - str("no-registered-multicast"), - str("no-unregistered-multicast") - ) - ) - ) - ) + storm_control ) ) end rule(:ethernet_policer) do @@ -10313,10 +10299,13 @@ ).as(:oneline) ) ), c( a(str("isid-list"), arg) + ), + b(str("storm-control"), + storm_control ) ) ), b(str("ethernet-switching"), ethernet_switching_type @@ -14644,10 +14633,13 @@ ).as(:oneline) ) ), c( a(str("isid-list"), arg) + ), + b(str("storm-control"), + storm_control ) ) ), b(str("ethernet-switching"), ethernet_switching_type @@ -16070,11 +16062,11 @@ str("fcoe-trusted"), str("no-fcoe-trusted"), str("persistent-learning") ) ), - a(str("vlan"), str("all") | str("vlan-name"), + a(str("vlan"), str("all") | arg, c( c( b(str("arp-inspection"), c( a(str("forwarding-class"), arg) @@ -24326,11 +24318,11 @@ str("disable") ) ).as(:oneline) ) ), - a(str("vlan"), str("all") | str("vlan-name"), + a(str("vlan"), str("all") | arg, c( str("disable"), a(str("version"), arg), a(str("query-interval"), arg), a(str("query-last-member-interval"), arg), @@ -24952,11 +24944,11 @@ str("disable") ) ).as(:oneline) ) ), - a(str("vlan"), str("all") | str("vlan-name"), + a(str("vlan"), str("all") | arg, c( str("disable"), a(str("version"), arg), a(str("query-interval"), arg), a(str("query-last-member-interval"), arg), @@ -30864,11 +30856,11 @@ 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("all")).as(:oneline) ) ) ) ), - b(str("dhcp-service"), + b((str("dhcp-service") | str("dhcp")), c( c( str("disable") ), a(str("failover"), arg), @@ -31077,10 +31069,32 @@ c( c( str("disable") ) ) + ), + b(str("app-engine-virtual-machine-management-service"), + c( + b(str("traceoptions"), + c( + str("no-remote-trace"), + b(str("file"), + sca( + a(str("size"), arg), + a(str("files"), arg), + str("world-readable"), + str("no-world-readable"), + b(str("match"), + regular_expression + ) + ) + ).as(:oneline), + a(str("level"), arg), + a(str("flag"), str("active-directory-authentication") | str("configuration") | str("db") | str("ip-user-mapping") | str("ip-user-probe") | str("ipc") | str("user-group-mapping") | str("wmic") | str("all")).as(:oneline) + ) + ) + ) ) ) ), str("ddos-protection"), str("packet-triggered-subscribers-partition"), @@ -32484,10 +32498,13 @@ ).as(:oneline) ) ), c( a(str("isid-list"), arg) + ), + b(str("storm-control"), + storm_control ) ) ), b(str("ethernet-switching"), ethernet_switching_type @@ -38138,9 +38155,30 @@ ) ) ), str("syslog") ) + ) + ) + ) + ) + end + + rule(:storm_control) do + c( + str("default"), + str("action-shutdown"), + a(str("interface"), str("all") | arg, + c( + a(str("bandwidth"), arg), + str("no-broadcast"), + str("no-unknown-unicast"), + a(str("level"), arg), + c( + str("multicast"), + str("no-multicast"), + str("no-registered-multicast"), + str("no-unregistered-multicast") ) ) ) ) end