Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How do I use python to call "neutron net-list"?

I am running Devstack

I need some script to help me get the information

so in python how do I run the "source openrc admin demo" first? then using python os.system("neutron net-list")?