summaryrefslogtreecommitdiff
path: root/openstackclient/network
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | OSC Network Flavor ProfileNakul Dahiwade2017-03-201-0/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement Neutron feature of Network Flavor Profile into OpenstackClient This patch implements the following commands: network flavor profile create network flavor profile delete network flavor profile list network flavor profile show network flavor profile set SDK Version needed: 0.9.9 Change-Id: Ie6fe5e53122cfb2eda8d326851d54562739a8386 Partially-Implements: blueprint neutron-client-flavors
* | | | Merge "Introduce Neutron DHCP agent commands to OSC"Jenkins2017-03-202-22/+138
|\ \ \ \
| * | | | Introduce Neutron DHCP agent commands to OSCShashank Kumar Shankar2017-03-202-22/+138
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "Make MAC address of port updatable"Jenkins2017-03-201-7/+7
|\ \ \ \
| * | | | Make MAC address of port updatableBence Romsics2017-03-201-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | openstackclient does not allow the update of a port's MAC address. However this is possible in neutron API (though by default policy it is an admin-only operation). Allow it in openstackclient too. Change-Id: Ibd9e0a6fbd1d0d461b8a8daee24dbb7c3f929df6 Closes-Bug: #1670707
* | | | | Merge "Add extra filtering options to qos policy list"Jenkins2017-03-201-4/+25
|\ \ \ \ \
| * | | | | Add extra filtering options to qos policy listlvjiawei2017-03-141-4/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The patch adds filtering "--project", "--project-domain", "--share", "--no-share" options to qos policy list. Change-Id: I5c012fb27fb952f736ddc9fbc54ef6da4d0af5e0 Partially-Implements: blueprint network-commands-options
* | | | | | Merge "Fix "security group list" command to display project ID properly"Jenkins2017-03-161-18/+32
|\ \ \ \ \ \ | |_|/ / / / |/| | | | |
| * | | | | Fix "security group list" command to display project ID properlyHuanxuan Ao2017-03-101-18/+32
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The "Project" column of the output of "security group list" command is blank since the new attribute name is "project_id" not "tenant_id" in network resource, so change it to display project IDs properly Change-Id: Ie2a071afac3b5a8aaa2c6f1c50d44ae06905d916 Closes-bug: #1659967
* | | | | Merge "Add the bgp agent type to network agent command"Jenkins2017-03-161-3/+5
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Add the bgp agent type to network agent commandJens Rosenboom2017-03-081-3/+5
| | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The neutron-dynamic-routing project provides an agent called neutron-bgp-dragent with type "BGP dynamic routing agent". So we need to add this option and can avoid using the deprecated neutron CLI e.g. in [1]. [1] https://docs.openstack.org/ocata/networking-guide/config-bgp-dynamic-routing.html#verify-service-operation Change-Id: I9af1e09d122806b56b966295817d8d31393e0283 Closes-Bug: 1671040
* | | | Merge "Fix handling the use_default_subnet_pool attribute"Jenkins2017-03-102-4/+29
|\ \ \ \ | |_|/ / |/| | |
| * | | Fix handling the use_default_subnet_pool attributeJens Rosenboom2017-03-092-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The attribute formerly wasn't working because it is lacking support in the SDK. The patch to add it[1] introduced a modified spelling, so we should be matching this here. Also make sure that the attribute is not shown when displaying subnet objects, as it is meant to be invisible[2]. [1] I72c0be77d96f3891748cdd69c382211dc20dbf5e [2] http://git.openstack.org/cgit/openstack/neutron/tree/neutron/extensions/default_subnetpools.py#n23 Change-Id: Ic125b818a6082d76a1114fe89e0b1fcf4c7356b0 Partial-Bug: 1668223
* | | | command list: Move network meter appropriatelyAkihiro Motoki2017-03-081-0/+0
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | 'network meter' commands are not placed alphabetically in the command list. It was due to the incorrect filename. Trivial Fix Change-Id: I7a76d3133915883cf41be8c7430def284d292d6e
* | | Merge "Auto allocated topology for OSC"Jenkins2017-03-011-0/+136
|\ \ \
| * | | Auto allocated topology for OSCAnkur Gupta2017-02-221-0/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation of Auto-allocated topology into OSC. Dependency merged and released in SDK v. 0.9.11 Partially Implements: blueprint network-auto-allocated-topology Change-Id: I16120910893b0b26b0f7f77a184b0378448458c5
* | | | Port set/unset SecGroup Bug FixAnkur Gupta2017-02-261-25/+23
| |/ / |/| | | | | | | | | | | | | | | | | | | | Throwing error 'Port' object has no attribute 'security_groups' Fix for set and unset. Change-Id: I1a0625b5a432c7a91cf40249ce4f7c883f53d704 Closes-Bug: #1656788
* | | Fix output of ListSecurityGroupRuleJens Rosenboom2017-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The Ethertype column was always left empty because a wrong column name was being used. Change-Id: I7fc0f8d5eb7bac1efb234faba454dad0a45a7e6a Closes-Bug: 1667699
* | | Merge "Fix can not set is_default in network"Jenkins2017-02-241-4/+4
|\ \ \ | |/ / |/| |
| * | Fix can not set is_default in networkjiahui.qiang2017-02-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The value of is_default always be None, can not be set by "network set" command. Allow "--default" and "--no-default" options to be recognized when ``--external`` is not present. Closes-bug:#1665231 Change-Id: I7a05fc7734a15994f72ca4e47997b4952f1f72f8
* | | OSC Network FlavorAnindita Das2017-02-221-0/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implements Neutron feature of Network Flavor into OpenstackClient This patch implements the following commands: network flavor create network flavor delete network flavor list network flavor show network flavor set Works with openstacksdk version 0.9.8 Change-Id: I29d7a62341010a1d067a8ca93bccb7d9b8d4c425 Partially-Implements: blueprint neutron-client-flavors Partially-Implements: blueprint network-commands-options
* | | Merge "Remove remaining uses of SDK Proxy.session"Jenkins2017-02-212-2/+7
|\ \ \
| * | | Remove remaining uses of SDK Proxy.sessionDean Troyer2017-02-192-2/+7
| |/ / | | | | | | | | | | | | | | | | | | SDK commit Ie67c240e3caa5e100ce07db3862718195c894748 exposed lingering uses of Proxy.session in OSC. Get rid of them. Change-Id: Icab230f1897a446cf3deb0e3d0550d24e11a0ef3
* | | Remove unused logging importAnh Tran2017-02-202-8/+0
|/ / | | | | | | Change-Id: I9edf4075ffea2e8d42283bd654b74cd4ab4a3638
* | Merge "Handle log message interpolation by the logger in network/"Jenkins2017-02-145-12/+12
|\ \
| * | Handle log message interpolation by the logger in network/Gábor Antal2017-02-135-12/+12
| |/ | | | | | | | | | | | | | | | | | | According to OpenStack Guideline[1], logged string message should be interpolated by the logger. [1]: http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-log-messages Related-Bug: #1596829 Change-Id: I17467d01420750c004fbbf2a07730fc2badd62b8
* | Add --fixed-ip option to the port list commandYan Xing'an2017-02-071-0/+35
|/ | | | | | | | | Add support to allow filtering ports via --fixed-ip option to the port list command. Change-Id: I2f728368d3046b2e6feadd0848bf6f8680e31aba Partial-bug: #1634799 Partially-Implements: blueprint network-commands-options
* Merge "Fix network create --project"Jenkins2017-01-281-0/+2
|\
| * Fix network create --projectDean Troyer2017-01-271-0/+2
| | | | | | | | | | | | | | SDK 0.9.13 needs to see project_id in the attributes, not tenant_id. Closes-bug: 1659878 Change-Id: Iff7abe8bd00cbe087c07579596c40af8b0a73302
* | Fix address scope list --shareDean Troyer2017-01-271-2/+0
|/ | | | | | | | | Remove the 'shared' key from the attrs passed in to the SDK with 0.9.13. Also convert the functional tests to the JSON-style (that's how I found this). Closes-bug: 1659993 Change-Id: I614fbce967cdd07fe7360242547dbf52e7677939
* Merge "To support '--project' and '--project-domain' options"Jenkins2017-01-261-0/+15
|\
| * To support '--project' and '--project-domain' optionsBadhmapriya Boopalan2016-12-231-0/+15
| | | | | | | | | | | | | | | | Include '--project' and '--project-domain' filtering options to 'port list' command. Change-Id: Ic7deae348f737c754b2f3e2113bd76d71a442400 Closes-Bug: #1648087
* | Merge "Add meter rule to OSC"Jenkins2017-01-261-0/+203
|\ \
| * | Add meter rule to OSCAnkur Gupta2017-01-231-0/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement network feature meter label rules into OpenStack Client. Allows for creation of rules to meter network traffic. Partially Implements: blueprint neutron-client-metering Change-Id: If18c078d7e80c122583417669f820f02c84d6237
* | | Merge "Add 'allowed address pairs' option to 'port create/set/unset'"Jenkins2017-01-261-3/+81
|\ \ \
| * | | Add 'allowed address pairs' option to 'port create/set/unset'Nguyen Phuong An2016-12-201-3/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds '--allowed-addres-pair' and '--no-allowed-address-pair' options to 'port create', 'port set' and 'port unset' commands. Partial-Bug: #1612136 Closes-Bug: #1638265 Partially-Implements: blueprint network-commands-options Co-Authored-By: Ha Van Tu <tuhv@vn.fujitsu.com> Change-Id: I08d2269950467a8972a0d0110ed61f5cc7f5ca45
* | | | Merge "Remove the fixed set of choices for network_type"Jenkins2017-01-251-3/+1
|\ \ \ \
| * | | | Remove the fixed set of choices for network_typeYAMAMOTO Takashi2017-01-181-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So that it can specify out-of-tree ML2 type drivers. Closes-Bug: #1657311 Change-Id: I2445fb165b86cf5937d8aa09ba0fd5564eb1f8f4
* | | | | SDK refactor: Prepare security group commandsAbhishek Raut2017-01-231-21/+12
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "security group" commands for the SDK refactor. Change-Id: If9918fad2474f9b4d68424f2806f0de61fd58b2e Partially-Implements: blueprint network-command-sdk-support
* | | | Fix port command for SDK >0.9.10jiahui.qiang2017-01-091-1/+5
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | The port functional test can not be passed in my local environment. When 'dns_assignment' is None, the port create, show command will fail because parameter for 'utils.format_list_of_dicts' can not be None. Change-Id: Iebf16fb7ca681660c2b9ee7839a0629f38c6a38a
* | | SDK refactor: Prepare network agent commandsHuanxuan Ao2017-01-151-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | Prepare the OSC "network agent" commands for the SDK refactor. Partially-Implements: blueprint network-command-sdk-support Closes-bug: #1656542 Change-Id: I6745f5ffb04b009487e6cb36d1807dce9b248b4c
* | | Fix floating IP delete and show by IPDean Troyer2017-01-141-2/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The floating IP delete and show commands did not work using IP addresses as the selector, only ID. The SDK floating_ip resource does not support but OSC does, so we have to do it ourselves. Now with more SDK 0.9.10 support! Change-Id: Iea1b57cded6b16a56a06af87ab8f1fa001a3485e Closes-bug: 1656402
* | | Merge "fix functional tests for network agents"Jenkins2017-01-131-2/+2
|\ \ \
| * | | fix functional tests for network agentsSteve Martinelli2017-01-131-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | As of SDK v0.9.11 the get_agent method no longer supports the "ignore_missing" parameter. Change-Id: Id655bf8499ed1a102a6bf583927cf66139581ab0
* | | | Fix security group rule list for NEtwork v2Dean Troyer2017-01-131-19/+26
|/ / / | | | | | | | | | | | | | | | | | | Fix the formatting of Port Range in the security group rule list command for Network v2 to handle SDK changes. Change-Id: Id954cbfaedbb74f60125ebda91f80db751759933
* | | Fix Network QoS rule CLI attrs parsingRodolfo Alonso Hernandez2017-01-121-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | Allows to set zero values in the CLI parameters for Network QoS rule. Change-Id: Ie0e045ff4888615d68804fd739d5b995ca11e9a1 Closes-Bug: #1655947
* | | Merge "Add support for Network QoS rule commands"Jenkins2017-01-111-0/+356
|\ \ \
| * | | Add support for Network QoS rule commandsRodolfo Alonso Hernandez2017-01-091-0/+356
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added following commands: - network qos rule create --type minimum-bandwidth dscp-marking limit-bandwidth - network qos rule delete - network qos rule list - network qos rule set - network qos rule show Closes-Bug: 1609472 Depends-On: I2e8869750024a8ccbc7777b95fe8ef6e26ec0885 Depends-On: Ife549ff6499217ca65e2554be8ef86ea7866b2d8 Change-Id: Ib3e1951f0917f5f23c8d9e0a380d19da2b3af5f0
* | | | Fix Octavia gate breakage caused by _get_columns()Nir Magnezi2017-01-091-3/+3
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The above mentioned function tries to extract keys() from an item which is type class. This patch fixes the issue by converting item to dict by using to_dict(). Change-Id: Ida520ae9fe64171d105f486ba06eda127a24547b Closes-Bug: #1654887
* | | Merge "OSC Network Meter"Jenkins2017-01-081-0/+190
|\ \ \