Subject: Rare project developers
List archive
- From: mc36 <>
- To: David Schmitz <>,
- Subject: Re: [rare-dev] netconf
- Date: Fri, 17 Feb 2023 15:22:52 +0100
hi,
On 2/17/23 13:06, David Schmitz wrote:
>
> It is the <1> ... </1> tag.
> I think, number are not allowed at the beginning of XML tag names.
> (<uni2flow6> tags following in the response may have the same issue).
exactly, thanks for root-causing this... :)
so it was a bit trickier to have, but here we goo:
https://github.com/rare-freertr/freeRtr/commit/edd5505901aec3a18e17c7ce3a629292432e3953
long story short, internally i keep the xml element as
/config/router/bgp4/65535/router-id/1.1.1.1
here the value of the last xml element is 1.1.1.1,
and values were escaped properly, but
if something like the process id needed to be escaped,
these appeared in the element's paths and were not.
br,
cs
sid#
sid#show running-config router bgp4 65535 | xml
<config><router><bgp4><identifier-value>identifier-escape65535
</identifier-value></bgp4></router>
<router><bgp4><identifier-value><vrf><v1>
</v1></vrf>
<identifier-value>identifier-escapelocal-as
<identifier-value>identifier-escape65535
</identifier-value></identifier-value>
<identifier-value>identifier-escaperouter-id
<identifier-value>identifier-escape10.10.10.227
</identifier-value></identifier-value>
<identifier-value>identifier-escapeaddress-family
<unicast><multicast><ouni><omlt><flowspec><oflw><vpnuni><vpnmlt><vpnflw><ovpnuni><ovpnmlt><ovpnflw><vpls><mspw><evpn><mdt><nsh><rpd><rtfilter><srte><osrt><linkstate><mvpn><omvpn>
</omvpn></mvpn></linkstate></osrt></srte></rtfilter></rpd></nsh></mdt></evpn></mspw></vpls></ovpnflw></ovpnmlt></ovpnuni></vpnflw></vpnmlt></vpnuni></oflw></flowspec></omlt></ouni></multicast></unicast></identifier-value>
<flapstat>
</flapstat>
<monitor><bmp><p1><identifier-value>identifier-escape10.10.10.227
<identifier-value>identifier-escape17971
</identifier-value></identifier-value></p1></bmp></monitor>
<dump><mrt><identifier-value>identifier-escapebgp4.log
- Re: [rare-dev] netconf, (continued)
- Re: [rare-dev] netconf, mc36, 02/15/2023
- Re: [rare-dev] netconf, David Schmitz, 02/15/2023
- Re: [rare-dev] netconf, mc36, 02/15/2023
- Re: [rare-dev] netconf, David Schmitz, 02/15/2023
- Re: [rare-dev] netconf, mc36, 02/15/2023
- Re: [rare-dev] netconf, David Schmitz, 02/15/2023
- Re: [rare-dev] netconf, mc36, 02/15/2023
- Re: [rare-dev] netconf, mc36, 02/15/2023
- Re: [rare-dev] netconf, David Schmitz, 02/15/2023
- Re: [rare-dev] netconf, David Schmitz, 02/17/2023
- Re: [rare-dev] netconf, mc36, 02/17/2023
- Re: [rare-dev] netconf, David Schmitz, 02/20/2023
- Re: [rare-dev] netconf, mc36, 02/20/2023
- Re: [rare-dev] netconf, David Schmitz, 02/20/2023
- Re: [rare-dev] netconf, mc36, 02/20/2023
- Re: [rare-dev] netconf, David Schmitz, 02/22/2023
- Re: [rare-dev] netconf, mc36, 02/22/2023
Archive powered by MHonArc 2.6.24.