Skip to content

Commit

Permalink
Junos: parseset protocols (#8883)
Browse files Browse the repository at this point in the history
  • Loading branch information
zergling-aws committed Dec 15, 2023
1 parent 936bb73 commit d9b6865
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
Expand Up @@ -11,7 +11,8 @@ s_protocols
:
PROTOCOLS
(
p_bgp
// empty protocol is valid
| p_bgp
| p_connections
| p_evpn
| p_isis
Expand Down
Expand Up @@ -8059,5 +8059,11 @@ public void testFirewallInet6NextHeader() {
parseConfig("firewall-next-header-ipv6");
}

@Test
public void testSetPartial() {
// Should not crash.
parseConfig("set-partial");
}

private final BddTestbed _b = new BddTestbed(ImmutableMap.of(), ImmutableMap.of());
}
@@ -0,0 +1,4 @@
#
set system host-name set-partial
#
set protocols

0 comments on commit d9b6865

Please sign in to comment.