Skip to content

Commit 0c55ea2

Browse files
committed
Merge branch 'web-management'
2 parents 56a74af + 2b223d3 commit 0c55ea2

File tree

4 files changed

+33
-2
lines changed

4 files changed

+33
-2
lines changed

Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ GEM
1212
mini_portile2 (~> 2.8.2)
1313
racc (~> 1.4)
1414
parslet (2.0.0)
15-
power_assert (2.0.4)
15+
power_assert (2.0.5)
1616
racc (1.8.1)
1717
rake (13.2.1)
1818
test-unit (3.6.7)
@@ -29,4 +29,4 @@ DEPENDENCIES
2929
test-unit
3030

3131
BUNDLED WITH
32-
2.5.16
32+
2.6.2

example/mx-22.4R3-S2.11.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87016,6 +87016,16 @@
8701687016
)
8701787017
)
8701887018
),
87019+
# Ported from vSRX 18.4R1.8
87020+
"http" ( /* Unencrypted HTTP connection settings */
87021+
c(
87022+
"port" arg /* TCP port for incoming HTTPS connections */,
87023+
"interface" ( /* Interfaces that accept HTTP access */
87024+
interface_name /* Interfaces that accept HTTP access */
87025+
)
87026+
)
87027+
),
87028+
# End of vSRX 18.4R1.8
8701987029
"control" ( /* Control of the web management process */
8702087030
c(
8702187031
"max-threads" arg /* Maximum simultaneous threads to handle requests */

lib/junoser/parser.rb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86863,6 +86863,14 @@ def enum(object)
8686386863
httpd_traceoptions_type
8686486864
),
8686586865
a(str("management-url"), arg),
86866+
# Ported from vSRX 18.4R1.8
86867+
b(str("http"),
86868+
a(str("port"), arg),
86869+
b(str("interface"),
86870+
interface_name
86871+
)
86872+
),
86873+
# End of vSRX 18.4R1.8
8686686874
b(str("https"),
8686786875
c(
8686886876
a(str("port"), arg),
@@ -86876,6 +86884,16 @@ def enum(object)
8687686884
)
8687786885
)
8687886886
),
86887+
# Ported from vSRX 18.4R1.8
86888+
b(str("http"),
86889+
c(
86890+
a(str("port"), arg),
86891+
b(str("interface"),
86892+
interface_name
86893+
)
86894+
)
86895+
),
86896+
# End of vSRX 18.4R1.8
8687986897
b(str("control"),
8688086898
c(
8688186899
a(str("max-threads"), arg)

test/test_valid_statements.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,9 @@ class TestValidStatements < Test::Unit::TestCase
212212
set groups foo when time to 2024-01-01
213213
214214
set snmp stats-cache-lifetime 20
215+
216+
set system services web-management http interface fxp0.0
217+
set system services web-management http port 8080
215218
EOS
216219

217220
config.split("\n").each do |l|

0 commit comments

Comments
 (0)