[lxc-devel] Usability: lxc-ls

Stefan Schlesinger sts at ono.at
Thu Jun 28 16:26:40 UTC 2012


On Jun 28, 2012, at 5:38 PM, Jonathan Carter (highvoltage) wrote:
> So what's been happening is that Stéphane is writing nice Python bindings for LXC in C. Currently my hacky script is calling the rest of the current LXC scripts. My goal is to redo rlxc as a nice Python script that uses that instead. I'm interested in contributing it to LXC upstream but not sure if they'll just do it anyway or if there's even an interest for it. I meant to show it to Serge at UDS but there was just so much happening at the same time that I didn't get the chance and I've been meaning to post it to the list anyway.
> 
> I have a whole list of extra things I want to add to it. Small things that make administering easier like "rlxc toggleboot $containername" etc. Also, for things like "rlxc list" I'd like to add options to choose which ip for which interface should be displayed, and whether it should be the ipv4 or ipv6 address. For example, "rlxc list eth=eth1 ip=ipv6". Stéphane has already added the support for this in the LXC bindings, we just have to use it :)

Cool, I'd love to see something which behaves a bit more like vzctl and maybe even takes the name as standard argument without specifying '-n'. :-)





More information about the lxc-devel mailing list