actonlang / acton

The Acton Programming Language
https://www.acton-lang.org/
BSD 3-Clause "New" or "Revised" License
78 stars 7 forks source link

Add netconf module #757

Open plajjan opened 2 years ago

plajjan commented 2 years ago

Debian libnetconf2 package only ships a shared .so library so ultimately we need some other way to pull that in as a static lib. We can leave it as is for initial step though. It should only become run time dependency for programs importing the netconf module.

plajjan commented 2 years ago

I'm leaning towards not using libnetconf2 since it seems like we are loosing quite a bit of control in the low level socketry. The netconf part should be fairly minimal anyway, my main motivation for using libnetconf2 in the first place is to get something that decodes the netconf payload using a yang schema, but seeing how that is mostly libyang, we can get that functionality anyway by pulling in libyang.