summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/network.rst
Commit message (Collapse)AuthorAgeFilesLines
* Support "network create" command in nova networkTang Chen2016-03-021-2/+12
| | | | | | | | | | | | This patch only provide network name and subnet setting for "network create" command. The other options, such as --project which depends on identity v2 or v3, will make the unit tests too complicated. So I prefer to implement them in other patches. Change-Id: I9ec93f0af813c8fae4170c36e16bbe8f0f53cbb6 Partial-Bug: 1543672
* Support "network list" command in nova networkTang Chen2016-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | "network list" command is not implemented in nova network. This patch implements it. The Network object in novaclient is quite different from the one in sdk. And the output of "network list" using Nova network is also quite different from using Neutron. It is like this: # openstack network list +--------------------------------------+---------+-------------+ | ID | Name | Subnet | +--------------------------------------+---------+-------------+ | 96a98ec4-31f6-45f6-99e6-9384569b3bb5 | private | 10.0.0.0/24 | +--------------------------------------+---------+-------------+ --long and --external options have not been implemented because the attrs in Network object in novaclient is too much different. This patch also introduces a new FakeNetwork class in compute/v2/fake.py to fake nova network. Change-Id: Id1fdf81fb2fa8b39f2c76b7bae37ac4fecafd0f7 Depends-On: I1b59264cd40aaf1062f4e8db233ccb7fd0e95f0e partial-Bug: 1543672
* Add availability zone support for network commandsBrad Behle2016-01-281-0/+6
| | | | | | | | | Add --availability-zone-hint parm to network create. Also add availability_zones and availability_zone_hints to the network list and network show commands Change-Id: Ib4dc2e3e7897939be7bef6b25a095c8222b885bc Partially-implements: blueprint neutron-client
* Trivial: Fix parameter name typo in network.rstTang Chen2015-12-111-3/+3
| | | | | | | | 1. "network delete" takes network name or ID, not project 2. "network set/show" takes network name or ID, not only name. So use network, not name. Change-Id: I13835fea1d0151ea0cd93e250b022c9daf74b537
* Trivial: Do not use plural format in command parameter in "network delete"Tang Chen2015-12-111-1/+1
| | | | | | | | | | Since "network delete" could delete more than one network, add a (s) to the doc. And also, rename the parameter "networks" to "network". The naming style is not using plural format in parameter. Change-Id: Id434ea905af34457f84ea6bcb18addef5800429a
* Trivial: Remove unuseful doc of "network list" command.Tang Chen2015-12-051-5/+0
| | | | | | | There is actually no "--dhcp" option in "network list" command. So remove the doc from .rst file. Change-Id: I481b260f99be635be4de8e6780206af47cdaa7ce
* fix confused domain argument for network create v2Guojian Shao2015-06-261-6/+6
| | | | | | | | | | | we have used domain scope arguments --project-domain, --user-domain and --group-domain in identity commands, for example, role add v3, to prevent resources conflict from same resource name existence. To keep with the style of identity commands, it's better to rename --domain to --project-domain. Closes-Bug: #1468988 Change-Id: Ic6ccb895cf9be4a3d5f0001525e3b80cd340da8b
* fix typo in network.rstGuojian Shao2015-06-241-1/+1
| | | | | | | | | There is a typo for --domain argument in network create: Owner’s domain (name or ID)", the last character " should be removed. Closes-Bug: #1468282 Change-Id: I81d55841e633a52f3913cf5f4a3e6626ebc1f919
* Add project and domain params to network createColleen Murphy2015-03-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | Without this patch, openstackclient has no way to specify to which project a network belongs upon creation. Instead, it uses the project ID that the user is authenticating with to fill the tenant_id column. This is a problem because an admin user is unable to specify a project for a non-admin network. To fix this and to improve feature parity with the neutron client, this patch adds project and domain parameters to the network create command and uses the given project name to look up the project ID. Neutron does not allow the project to be changed after creation, so no such parameter has been added to the neutron set command. Neutron calls the field 'tenant_id', but this change exposes the parameter as '--project' to support the newer terminology. If no project is specified, the client defaults to the previous behavior of using the auth project. Change-Id: Ia33ff7d599542c5b88baf2a69b063a23089a3cc4
* Begin low-level API for Network v2Dean Troyer2015-01-221-3/+3
| | | | | | | | | api.network.APIv2 starts with network_list() support to flush out the skeleton of the Network API. list_dhcp_agent() supports the --dhcp option of 'network list' Change-Id: I9a2b90cde84eced1f2ea6a014b769e2bae668211
* Command docs: networkDean Troyer2015-01-211-0/+135
Change-Id: Ia88b6c0ca5205fa5bfc3efa06ac7f84c4a9e5d4e