Update novaclient version
Now novaclient version is v2[1], but in this document, it is currently v1.1 [1] https://github.com/openstack/python-novaclient/commit/ 0a60aae852d2688861d0b4ba097a1a00529f0611 Change-Id: I618d846089bd9381533eab7b4a36d434fad38e73
This commit is contained in:
parent
3649a2dc8b
commit
d74b0c17d4
@ -184,7 +184,7 @@ The following program creates a port:
|
||||
|
||||
#!/usr/bin/env python
|
||||
from neutronclient.v2_0 import client
|
||||
import novaclient.v1_1.client as nvclient
|
||||
import novaclient.v2.client as nvclient
|
||||
from credentials import get_credentials
|
||||
from credentials import get_nova_credentials
|
||||
|
||||
@ -252,7 +252,7 @@ The following program lists the ports for a server:
|
||||
|
||||
#!/usr/bin/env python
|
||||
from neutronclient.v2_0 import client
|
||||
import novaclient.v1_1.client as nvclient
|
||||
import novaclient.v2.client as nvclient
|
||||
from credentials import get_credentials
|
||||
from credentials import get_nova_credentials
|
||||
from utils import print_values_server
|
||||
@ -297,7 +297,7 @@ port to a subnet.
|
||||
.. code-block:: python
|
||||
|
||||
from neutronclient.v2_0 import client
|
||||
import novaclient.v1_1.client as nvclient
|
||||
import novaclient.v2.client as nvclient
|
||||
from credentials import get_credentials
|
||||
from credentials import get_nova_credentials
|
||||
from utils import print_values_server
|
||||
@ -349,7 +349,7 @@ Create router: complete code listing example
|
||||
|
||||
#!/usr/bin/env python
|
||||
from neutronclient.v2_0 import client
|
||||
import novaclient.v1_1.client as nvclient
|
||||
import novaclient.v2.client as nvclient
|
||||
from credentials import get_credentials
|
||||
from credentials import get_nova_credentials
|
||||
from utils import print_values_server
|
||||
|
Loading…
Reference in New Issue
Block a user