summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/network.rst
Commit message (Collapse)AuthorAgeFilesLines
* Fix Nova-net netowrk commandsDean Troyer2017-04-271-0/+2
| | | | | | | | | | | | In cleaning up functional tests for nova-net, I discovered some problems in network create: * --subnet option is required in network create command * Switch API to use /os-networks rather than /os-tenant-networks as this is what we were actually using via novaclient * Fix functional tests for nova-net * Normalize some private function names in network/v2/network.py Change-Id: I426b864406756d58d140575a3a45ee9aee67ce84
* Introduce Neutron DHCP agent commands to OSCShashank Kumar Shankar2017-03-201-0/+5
| | | | | | | | | | | | | | | | | | | | | This patch introduces neutron dhcp-agent related commands to OpenStack client. The equivalent neutron commands implemented in OSC: neutron: dhcp-agent-list-hosting-net OSC: network agent list --network neutron: dhcp-agent-network-add OSC: network agent add network neutron: dhcp-agent-network-remove OSC: network agent remove network neutron: net-list-on-dhcp-agent OSC: network list --agent Change-Id: I77a933f4b3ce875c63cef5b6a32aee78fd844b03
* change os in command example to openstack(2)Kevin_Zheng2016-12-201-5/+5
| | | | | | | | | In the current doc, the command examples are like "os server create" but the acutal command should be started with "openstack" instead of "os", it is misleading to first time users. Change-Id: I80c96f0938cec382f2f714a500138bd5a2c81aa0
* Add QoS support to Network object.Rodolfo Alonso Hernandez2016-11-281-0/+16
| | | | | | | Added "qos_policy" parameter to Network class. Change-Id: Idc00f2792eef5b1f0910084d95cf9a8e83fe818c Closes-Bug: 1627069
* Support --provider-* options in the network list commandYan Xing'an2016-10-271-0/+43
| | | | | | | | | Add --provider-network-type, --provider-physical-network, --provider-segment options into network list command. Change-Id: I02546170211fb3e7e55d5dc7e7cdc6d387fd26e5 Closes-Bug: #1635580 Partially-Implements: blueprint network-commands-options
* Merge "Add filtering options to os network list command"Jenkins2016-09-221-1/+44
|\
| * Add filtering options to os network list commandHa Van Tu2016-09-221-1/+44
| | | | | | | | | | | | | | | | | | | | This patch adds the following filtering options: '--name', '--internal', '--share' and '--no-share', '--enable' and '--disable', '--project' and '--project-domain', '--status'. Change-Id: I7e9dd372ee572c6ee8cdba7fac3182f9dc0a137b Partially-Implements: blueprint network-commands-options Closes-Bug: #1578819
* | Add --description to Create/Set NetworkAnkur Gupta2016-09-191-0/+10
|/ | | | | | | | Added simple option for network description to create and set network. Change-Id: I90ce4db4e365a56ecddb00d59f4c5aa2ebbd49a3 Partially-Implements: blueprint network-command-options
* Add port security option to network commandsRichard Theis2016-06-291-0/+26
| | | | | | | | | Add the "--enable-port-security" and "--disable-port-security" options to the "network create" and "network set" commands. This supports setting the default port security for ports created on a network. Change-Id: I1deb505bd77cef2e4bc3c2dbbb0c450665136f47 Implements: blueprint neutron-client
* Fix typo in openstackclient/network/v2Cao Xuan Hoang2016-06-231-2/+2
| | | | | | | | This patch adds the missing "." to some docstring/text. Trivial fix Change-Id: Iffb470dcce7200ddc9e439c465adc652a8322708
* Add geneve provider network typeRichard Theis2016-06-101-2/+2
| | | | | | | | Add the "geneve" choice to the "os network create" command's "--provider-network-type" option. Change-Id: I7573232ec3594ec4acbfae43a8456b8c3fcd1a83 Implements: blueprint neutron-client
* Merge "Add VLAN Transparent option to ``osc network``"Jenkins2016-05-161-0/+22
|\
| * Add VLAN Transparent option to ``osc network``reedip2016-05-161-0/+22
| | | | | | | | | | | | | | | | | | osc network set and network create now support --transparent-vlan|--no-transparent-vlan options to add/remove vlan transparency from the network. Change-Id: I845eb8f541cd32a4c4b28f929a63b205e7e31756 Closes-Bug: 1545537
* | Doc: Add network resource descriptionsRichard Theis2016-04-251-0/+7
|/ | | | | | Add descriptions to the network resource command documentation. Change-Id: I547ffb48f8950311a5ee65d6b535846f2aca0efc
* Add provider network options to osc network setreedip2016-04-191-0/+16
| | | | | | | | The following patch adds the provider network options to OSC "network set". Change-Id: I23b617077eda25d16164172a8e280082750eaf18 Partial-Bug: #1545537
* State i18() changes and help messages improvedTang Chen2016-04-181-8/+7
| | | | | | | | Add _() to wrap help message in network commands. And also some improvement for help message. Change-Id: Ib3e498f5976ba98c44fd4eec2d1623263b3db53e Partial-bug: 1570924
* Add external network options to osc network setreedip2016-04-151-0/+19
| | | | | | | | | | The following patch adds the options "--external" & "--internal" and the suboptions to "external": "--default" & "--no-default", to "osc network set" CLI to provide the user an option to set a network as an external network or remove the setting. Change-Id: I3a7f2cb249bc8101cbb01322d7732e913237d6cd Partial-Bug: #1545537
* Doc: Unify repeatable option commentsTang Chen2016-04-121-2/+3
| | | | | | | | | | | | There are lots of "this option can be repeated" comments in the doc, which are not consistent to other similar docs. This patch changes them to the following format: "repeat option to do something" Change-Id: I54e01053091c428bf87bb36bb95f73a0b80ab6e7
* Doc: Fix network command documentation issuesRichard Theis2016-04-081-13/+28
| | | | | | | | | | | | | Fix the following network command documentation issues: - Fix format of subnet pool positional arguments - Update port set options to match help - Fix network command documentation for Network v2 versus Compute v2 options and commands - Fix subnet command documentation errors and formatting problems in help text Change-Id: I808c2a70ca62eafc9e42d6873539cdd142ffe50c Related-Bug: #1558677
* TrivialFix: Rename provider segment optionreedip2016-04-081-3/+3
| | | | | | | | | As per [1], provider-segmentation-id is changed to provider-segment as segments may soon have a "name" support as well. [1]: https://review.openstack.org/#/c/294422/12/doc/source/command-objects/network.rst Change-Id: I74d4366301b41fa181faccbc12cff9530df60353
* Add provider network options to osc network createreedip2016-04-061-0/+19
| | | | | | | | The following patch adds the provider network options to OSC "network create". Change-Id: Ib8449c00ee4b4285889588f03ddd7a686ce8f987 Partial-Bug: #1545537
* Add external network options to osc network createreedip2016-04-061-0/+24
| | | | | | | | | | The following patch adds the options "--external" & "--internal" and the suboptions to "external": "--default" & "--no-default", to "osc network create" CLI to provide the user an option to create a network as an external network. Change-Id: Idf73714bb94c0610ea164131140a51848908b00b Partial-Bug: #1545537
* 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