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

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

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
0

answered 2015-07-08 07:35:08 -0500

uts9 gravatar image

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

OpenStack provides python APIs. Please go through this document.

You can find few sample codes here.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 115 times

Last updated: Jul 08 '15