junoser 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/example/vmx-17.2R1.13.rb +8 -1
- data/lib/junoser/display/set.rb +0 -11
- data/lib/junoser/parser.rb +8 -1
- data/lib/junoser/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f54367b7e85512ff43b04b6c017bd1c3da960e0f8f1a0139c3c4cf1f7974023
|
4
|
+
data.tar.gz: 12c99039a9ac655afea423dc3d207461f429c024c2790d809a2479c77e371d55
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 988ab73ed14cfaa60b4287e4729cfae44f56e07890135fb2f88a9fe8a6d4c65be242e1f51a5028a60d36b8bfa9d12128a2b86d635c0d59263bef7a6276745190
|
7
|
+
data.tar.gz: '08b1daf7678555417d3b1b6edaae80c003fa605d71461be1c8280a8ceeedacaf3318ce17edcc467051ed7c22078f915addb0a17f14ab68892c4f8f56dd17436d'
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
## 0.3.2 / 2018-07-12
|
2
|
+
|
3
|
+
* Bug fix
|
4
|
+
* Support "system services extension-service request-response grpc clear-text"
|
5
|
+
* Support "system services extension-service request-response grpc skip-authentication"
|
6
|
+
|
7
|
+
## 0.3.1 / 2018-03-03
|
8
|
+
|
9
|
+
* Introduce a CLI command "junoser-squash"
|
10
|
+
* Bug fix
|
11
|
+
* Support "forwarding-options dhcp-relay server-group group_name x.x.x.x/y"
|
12
|
+
|
1
13
|
## 0.3.0 / 2017-10-26
|
2
14
|
|
3
15
|
* First release based on JUNOS 17.2R1.13 of vMX
|
data/example/vmx-17.2R1.13.rb
CHANGED
@@ -60636,7 +60636,14 @@ rule(:juniper_system) do
|
|
60636
60636
|
jet_scripts_file_type
|
60637
60637
|
)
|
60638
60638
|
)
|
60639
|
-
)
|
60639
|
+
),
|
60640
|
+
"clear-text" (
|
60641
|
+
c(
|
60642
|
+
"address" ipaddr,
|
60643
|
+
"port" arg
|
60644
|
+
)
|
60645
|
+
),
|
60646
|
+
"skip-authentication"
|
60640
60647
|
)
|
60641
60648
|
)
|
60642
60649
|
)
|
data/lib/junoser/display/set.rb
CHANGED
@@ -72,17 +72,6 @@ module Junoser
|
|
72
72
|
statements.unshift "set #{current_statement}#{str}"
|
73
73
|
statements.join("\n")
|
74
74
|
end
|
75
|
-
|
76
|
-
def struct(stack, statement, offset=2)
|
77
|
-
width = 2
|
78
|
-
if label = stack.shift
|
79
|
-
%[#{" "*offset}#{label} {
|
80
|
-
#{struct(stack, statement, width+offset)}
|
81
|
-
#{" "*offset}}]
|
82
|
-
else
|
83
|
-
%[#{" "*offset}#{statement};]
|
84
|
-
end
|
85
|
-
end
|
86
75
|
end
|
87
76
|
end
|
88
77
|
end
|
data/lib/junoser/parser.rb
CHANGED
@@ -60364,7 +60364,14 @@ module Junoser
|
|
60364
60364
|
jet_scripts_file_type
|
60365
60365
|
)
|
60366
60366
|
)
|
60367
|
-
)
|
60367
|
+
),
|
60368
|
+
b(str("clear-text"),
|
60369
|
+
c(
|
60370
|
+
a(str("address"), ipaddr),
|
60371
|
+
a(str("port"), arg)
|
60372
|
+
)
|
60373
|
+
),
|
60374
|
+
str("skip-authentication")
|
60368
60375
|
)
|
60369
60376
|
)
|
60370
60377
|
)
|
data/lib/junoser/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: junoser
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shintaro Kojima
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: parslet
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
149
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.7.
|
150
|
+
rubygems_version: 2.7.6
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: PEG parser for JUNOS configuration.
|