=== nomicon_ is now known as nomicon | ||
rezamiri | Hello everyone, I just had a quick question | 14:26 |
---|---|---|
rezamiri | is there an api to work with netplan from code | 14:27 |
rezamiri | or an official python package to work with? | 14:27 |
slyon | rezamiri, yes there is. It's very recent as of libnetplan v0.106: https://netplan.readthedocs.io/en/stable/reference/#api-specification | 15:11 |
slyon | also: https://github.com/canonical/netplan/blob/main/netplan/libnetplan.py | 15:12 |
schopin | slyon: oh, the Python module is public API nowadays? | 15:26 |
slyon | schopin: nah. it's just for reference. It shouldn't be considered public API | 15:28 |
slyon | (yet) | 15:28 |
schopin | Good, 'cause I didn't put that much thought into that API back then. | 15:29 |
slyon | Right. It's not being installed in any offical python modules directory. But is private to the Netplan CLI for now | 15:29 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!