Skip to Content.

rare-dev - Re: [rare-dev] netconf

Subject: Rare project developers

List archive


Re: [rare-dev] netconf


Chronological Thread 
  • From: mc36 <>
  • To: David Schmitz <>
  • Cc:
  • Subject: Re: [rare-dev] netconf
  • Date: Mon, 13 Feb 2023 10:37:24 +0100

hi,

On 2/13/23 09:56, David Schmitz wrote:
Hi,

On Sat, 11 Feb 2023, mc36 wrote:

Date: Sat, 11 Feb 2023 04:24:48 +0100
From: mc36 <>
To: , David Schmitz <>
Subject: Re: [rare-dev] netconf

thanks for sharing all this, i have now an vm running fod from your guide...
btw we can narrow this down pretty quickly imho the brute-force way:
so as i added "sho running-config [something] | xml" and knowing that
this converts the stuff in a linear way line by line starting from the
beginning, we can have educated guesses about which xml parser complains
for what... so if your yangctl stops after a crypto blob (happened here)
then its obvious that i need to fix freerouter's xml writer when it comes
to special characters... :) one brute-force solution could be what i did
here:
https://github.com/rare-freertr/freeRtr/blob/master/misc/native/tapInt.c#L124
Such brute force way might be - at least in the beginning - a way to go.

A bit ugly to parse for humans in case any character is escaped,
but at least it could work.


well, agreeing that it's ugly, and in freerouter i would allow
forever-temporary solutions so lemme do a proper escaping then...

br,
cs






Archive powered by MHonArc 2.6.19.

Top of Page