Closed vincentbernat closed 4 years ago
It seems the issue is because of <flag>nokeyword</flag>
. So, it could be a bug from Juniper. I don't know if there would be a way to detect this kind of cases.
Yes, it was likely that this was Juniper bug. (We can see it was fixed in 18.3R1.9
xsd, by the way)
<xsd:element name="l3vpn-composite-nexthop" minOccurs="0">
<xsd:annotation>
<xsd:documentation>Enable composite nexthop for l3vpn</xsd:documentation>
<xsd:appinfo>
<flag>prune-lcc</flag>
<flag>current-product-support</flag>
<flag>hidden-from-cli</flag>
<products>
I'm afraid that it's difficult to detect this kind of bugs automatically as Juniper people may mark any element as nokeyword
unexpectedly, without any specific rule.
Ok, so not much to do here!
Hey!
From
config-18.1.xsd
, I have:This element is turned in
rule.rb
as justarg
and it mostly break the whole block (as anything could match).