Ask Your Question

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

asked 2015-07-08 07:02:01 -0600

DelightD gravatar image

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")?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-08 07:35:08 -0600

uts9 gravatar image

updated 2015-07-08 07:37:18 -0600

OpenStack provides python APIs. Please go through this document.

You can find few sample codes here.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-07-08 07:02:01 -0600

Seen: 99 times

Last updated: Jul 08 '15