junoser 0.4.1 → 0.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test-linux.yaml +30 -0
- data/.pre-commit-config.yaml +7 -0
- data/CHANGELOG.md +30 -1
- data/Gemfile.lock +9 -9
- data/README.md +1 -1
- data/Rakefile +10 -1
- data/commitlint.config.js +5 -0
- data/example/mx-19.3R3-S1.3.rb +161 -297
- data/example/vsrx-18.3R1.9.rb +1305 -1305
- data/lib/junoser/js_ruler.rb +2 -0
- data/lib/junoser/parser.rb +172 -308
- data/lib/junoser/ruler.rb +11 -0
- data/lib/junoser/version.rb +1 -1
- data/lib/junoser/xsd/base.rb +4 -2
- metadata +6 -4
- data/.travis.yml +0 -15
data/lib/junoser/js_ruler.rb
CHANGED
@@ -168,6 +168,8 @@ module Junoser
|
|
168
168
|
str.gsub! 'policy | Define a policy context from this zone', 'from-zone | Define a policy context from this zone'
|
169
169
|
# "to-zone-name | Destination zone" -> "to-zone | Destination zone"
|
170
170
|
str.gsub! 'to-zone-name | Destination zone', 'to-zone | Destination zone'
|
171
|
+
# "system-name | System name override" -> "name | System name override"
|
172
|
+
str.gsub! 'system-name | System name override', 'name | System name override'
|
171
173
|
|
172
174
|
fix_route_filter(str)
|
173
175
|
|