how to create a nova network using python-novaclient [closed]

asked 2014-05-06 03:48:14 -0500

Gaganjot Singh gravatar image

I am finding an equivalent of nova network-create vmnet --fixed-range-v4= --fixed-cidr= --bridge=br100 using python-novaclient (a python command). Can anybody help me in this?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Gaganjot Singh
close date 2014-05-08 04:32:47.723710


The 'nova' command you have used is python-novaclient itself! Use the 'which nova' command and check the source code is written in Python.

unmesh-gurjar gravatar imageunmesh-gurjar ( 2014-05-06 07:29:36 -0500 )edit

What I mean is this is for the terminal. I am looking to execute this command from a python script. For instance, i am using something like the following for keystone. There is no nova doc. So confused.

>>> from keystoneclient.v2_0 import client
>>> keystone = client.Client(...)
>>> keystone.tenants.list()
Gaganjot Singh gravatar imageGaganjot Singh ( 2014-05-06 07:51:32 -0500 )edit

I guess [1] should be of help!

[1] -

unmesh-gurjar gravatar imageunmesh-gurjar ( 2014-05-07 04:02:22 -0500 )edit

Thank you.

Gaganjot Singh gravatar imageGaganjot Singh ( 2014-05-07 04:06:35 -0500 )edit