| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
With [1] the python binding code in Neutronclient prints warning
about future deprecation, change neutron-dynamic-routing osc client
code to use totally OpenstackSDK.
[1]: https://review.opendev.org/c/openstack/python-neutronclient/+/862371
Related-Bug: #1999774
Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/869485
Depends-On: https://review.opendev.org/c/openstack/requirements/+/873598
Change-Id: I5dd143e670b70cc42a2ae48fe4bac0cf09416cb5
|
| |
|
|
|
|
|
|
|
| |
The depends-on patch adds trunk commands to OSC, as we can
long consider trunk operations as core Networking operations.
Change-Id: Ie557a5d541cf117d20f3f2b548620a74dbadb383
Depends-On: https://review.opendev.org/c/openstack/python-openstackclient/+/869447
Related-Bug: #1999774
|
| |
|
|
|
|
|
|
|
| |
As the documentation states [1], the default in network log objects is
to be enabled, not disabled.
[1] https://docs.openstack.org/neutron/latest/admin/config-logging.html
Change-Id: I13e9d1132fc38104e6e85d9c8442bc7506adc2fd
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Neutron-dynamic-routing has the bgp_4byte_asn extension which allows
4byte ASNs to be used, increasing the range of valid AS numbers. Since
we cannot easily tell beforehand whether that extension is available,
allow for the maximal interval to be used by clients and let the API
validate the input.
Change-Id: Ib4695272784b4a5ebbcb792cfec82dac3ef6f3cf
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
The phase1 negotiation mode adds support for aggressive mode,
which can be selected when creating an ikepolicy.
Change-Id: I8148011558094db07b5f9eba70b16cfe6eeaf98f
Partial-Bug: #1701413
|
| | |
| |
| |
| |
| |
| |
| | |
The name argument for bgp speaker set defines the new name for the speaker,
make the description more clear about this.
Change-Id: I29a0c87214c3c60084d0541f8b9a7abc72ff987f
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The __future__ module [1] was used in this context to ensure compatibility
between python 2 and python 3.
We previously dropped the support of python 2.7 [2] and now we only support
python 3 so we don't need to continue to use this module and the imports
listed below.
Imports commonly used and their related PEPs:
- `division` is related to PEP 238 [3]
- `print_function` is related to PEP 3105 [4]
- `unicode_literals` is related to PEP 3112 [5]
- `with_statement` is related to PEP 343 [6]
- `absolute_import` is related to PEP 328 [7]
[1] https://docs.python.org/3/library/__future__.html
[2] https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html
[3] https://www.python.org/dev/peps/pep-0238
[4] https://www.python.org/dev/peps/pep-3105
[5] https://www.python.org/dev/peps/pep-3112
[6] https://www.python.org/dev/peps/pep-0343
[7] https://www.python.org/dev/peps/pep-0328
Change-Id: I65fb53db889afcf1a947ea61094bfab877853324
|
| |
|
|
|
|
|
|
|
|
|
| |
In order to follow other agent related commands in OSC, it is more
appropriate and friendly to replace 'bgp speaker show dragents' with
'bgp dragent list'. this patch uses 'openstack bgp dragent list' to
show the list of dragents, and the optional parameter 'bgp-speaker'
shows the list of dragents hosting a specific bgp speaker.
Change-Id: I9e0703fccf535b1e1a2055ed917336055b7395f5
Closes-Bug: #1858377
|
| |
|
|
|
|
|
|
| |
The 'public' and 'private' parameters have been replaced
with 'share' and 'no-share' parameters in the Pike version,
they can be removed now.
Change-Id: I57a2e228ec1cdb6ed259914abc38bdada036d369
|
| |
|
|
|
|
|
|
| |
When creating a network log with the '--event' parameter, it is
impossible to know which parameter values can be specified, and it
is necessary to add a prompt.
Change-Id: I6aa4f95b650cdc7b04e74b851a78a2ae42fc288a
|
| |
|
|
|
|
|
|
|
|
| |
This is the implementation of the "onboard network subnets" CLI.
This enables the subnet onboard feature of neutron to be driven via
CLI.
Depends-On: https://review.openstack.org/348080
Change-Id: Ic637ed689b0d3806d2c33faa419c3a98a310effa
Implements: blueprint subnet-onboard
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Older hacking depends on pep8, but pep8 module is replaced by
pycodestyle. This can be resolved by updating hackinng version.
This commit also fixes E117 (over-indented) and
W605 (invalid escape sequence) warnings.
pep8 is dropped from lower-constraints.txt as it is no longer used.
Change-Id: I3a8e3b0dedf9422e4db02b525b333d12ce012a95
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This Boolean attribute is added to the Router Association resource
(Neutron API, 'bgpvpn' and 'bgpvpn-routes-control' API extensions) in
order to support routes control. This allow to propagate routes of
subnets not directly connected to the router
The corresponding code in networking-bgpvpn has already merged
See https://blueprints.launchpad.net/bgpvpn/+spec/routes-control
Change-Id: Icdd7f6592a9d657b6414645406f06b74b6f3bb11
Implements: blueprint routes-control
|
| | |
| |
| |
| |
| |
| |
| | |
This will add the source and destination firewall group id to
firewall rules.
Change-Id: If69b87fc58d36aa7d879ace8e73bc0f7534a1ef4
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently, OSC plugin for logging only supports security group as
a loggable resource. This patch aims to add 'firewall_group' as a
supported resource type.
Co-Authored-By: Van Hung Pham <HungPV@vn.fujitsu.com>
Depends-On: Ie10063197f02679e987e87cb4852f5230a02f76d
Change-Id: I2ac92004c2ad3769c9749e131718a8ef0003c4bd
Partial-Bug: #1720727
|
| |/
|
|
|
|
|
|
| |
Set or unset port pair for port pair group failed
because the type of 'existing' is wrong
Change-Id: I198e745fccff76184d9813805d1c1915aff5a273
Closes-Bug: #1762884
|
| |
|
|
|
|
|
| |
The arg is called "agent", not "agent_id".
Change-Id: I5dd524137202a5411451e775c7ca5d6748dc6e7a
Closes-Bug: 1762488
|
| |
|
|
|
|
|
|
| |
The routes shown by ListRoutesAdvertisedBySpeaker only contain the
destination and the next_hop fields, so drop the ID column that is
always empty anyway.
Change-Id: Idc19ebb55d8eb30e61fd1f9101512279e00b6f0b
|
| |
|
|
|
|
|
|
|
|
|
|
| |
get_column_definitions() and get_columns() in neutronclient.osc.utils
have been migrated to osc-lib 1.8.0 (or later), so we no longer need
to maintain our own versions. This commit consumes osc-lib versions.
The workaround in firewallrule.py is no longer needed with
osc-lib 1.8.0 as the original bug has been fixed in osc-lib 1.8.0
(osc-lib commit 8cbdcde6076fa1df40e00d3e16bf140a59aa6273).
Change-Id: I4b9243b0fdb4ca744cc3f85371cb066a456f1d42
|
| |
|
|
|
|
|
|
| |
This change adds support for the 'local_pref' attribute of
the BGPVPN resource.
Change-Id: I330a18212d4d68faf79ef5a16e304bc3406ce7ff
Partially-Implements: blueprint routes-control
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Networking-bgpvpn API extension [0] brings new API calls. That patch
adds command to OSC CLI to support them. It does not implement all the
API extension, still missing new router attribute 'advertise_extra_routes' and
the BGP VPN 'local_pref' attribute.
[0] https://developer.openstack.org/api-ref/network/v2/index.html#port-associations
Change-Id: I45a160b0caec534d517b103db91dc738c006978b
Partially-Implements: blueprint routes-control
Depends-On: I263e1ee6cf4e1a91be91a4a78f4a160f64d33cc6
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add correlation type "nsh" to both Port Pair and Port Create
commands' help descriptions.
The NSH correlation/encapsulation has been added to networking-sfc
and this patch makes the client show the option in the help description.
Change-Id: Ib25d24cd05e994b7865641a8235d36c741533488
Partial-Bug: #1625278
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Changes to support VNI attribute through BGPVPN CLIs
Change-Id: I1f828ef965d5b117539b88a290e2b9b966016336
Partial-Bug: #1590908
Depends-On: I3d47000bb0ad8434f88d016acb5b05fb7142e47a
|
| |/ /
| |
| |
| |
| | |
Closes-Bug: 1669252
Change-Id: I447f5c50725fc0d9d8a1574ad5e28772f472fba9
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
This commit supports Logging CLI as OSC plugin[1].
[1] https://bugs.launchpad.net/neutron/+bug/1468366
Depends-On: Ib8668dd25ee7c5000a6dafcc7db3dbc33ad190be
Partially-implements: blueprint security-group-logging
Change-Id: If9a5e0e3958ea32f4c0d3573efcb3ac4101c63a6
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| | |
Adding 'tap_enabled' parameters to port-pair-group.
If '--enable-tap' set to True, port pairs in port-pair-group will
be deployed as passive Tap service function.
Change-Id: I7267b7ce782f040d0951a3b522d183931debe818
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| | |
Co-Authored-By: Igor Duarte Cardoso <igor.duarte.cardoso@intel.com>
Partial-Bug: #1587486
Depends-On: I372da15f99f3cbfb7ffd1d8bf87a79bc56180afe
Change-Id: Ie54da56d2388cb375bccd883c111c5f87e293047
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Port pair groups order must be kept so we cannot use a set to filter
duplicates. Else this will change the chain order
Also fixed for flow classifiers: though loosing the order does not
currently trigger a visible change, this restores the neutron CLI
behaviour
Expand help messages to mention the port pair groups order
Change-Id: Ia6e342fda2c739a3553a8736837bcacf00a2d030
Closes-Bug: #1724187
|
| |\ \ \
| |/ / |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Service function parameters could not be set on a port pair, and "None"
correlation value was not accepted
Chain parameters were passed incorrectly to server on a port chain
On a port pair group, lb_fields must be passed to the API with an
underscore
Fix check on empty dictionary parameters (we get [], not None)
Also fix related unit tests
Change-Id: Ie60c609b8d33731a7fed732d97ed92982523956b
Closes-Bug: #1719584
|
| |\ \ \
| |/ / |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Setting a flow classifier or port pair group currently fails,
additionally with multiple flow classifiers only the last one is added
* Fix adding multiple items in the same command
* Update unit test to try setting multiple flow classifiers
Change-Id: Ifbc24d84022c9893d3348fb27b20206fa464d8b2
Closes-Bug: #1716942
|
| |/
|
|
|
|
|
|
|
|
|
| |
Neutron is transitioning its CLI to OSC, should update dynamic routing
CLIs to align with OSC plugin.
Change-Id: Ic1a633ca103d9e97e28ddf23e0f528e0261ce497
Co-Authored-By: Ryan Tidwell <ryan@6tidwells.com>
Co-Authored-By: Roey Chen <roeyc@vmware.com>
Partially-Implements: blueprint bgp-spinout
Partial-Bug: #1560003
|
| |
|
|
|
|
|
|
|
|
|
| |
Rename all list_ functions to follow the expected naming format
expected by find_resource() calls: "list_%s" % cmd_resource_plural
Rename for consistency the other SFC commands to include the "_sfc_"
prefix
Change-Id: Ie01692d5cbe928b042c7e8052295a781ac205764
Related-Bug: #1716942
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add missing correlation type "mpls" to Port Pair create
command's help (PortPairCreate).
The merged Port Pair command was still using the older help
description, before MPLS correlation support was merged to
networking-sfc.
Also add unit test coverage for correlation type "mpls".
Closes-Bug: #1708968
Change-Id: I708345b25b600ca94504725f1559988ae29413b8
|
| |
|
|
|
|
|
|
|
|
| |
This patch is the first in the series of patches which tracks the
migration of 'public' attribute to 'shared' in FWaaS v2.
Co-Authored-By: Reedip <reedip.banerjee@nectechnologies.in>
Closes-Bug: #1676922
Depends-On: I0be5fca27c9696714ba8b91de2098448c5a18265
Change-Id: Ibc3b90e28ae82ccc8ed044b12d83e97907f1dfb8
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Current code displays "<type 'type'>[port]:xx" for
source/destination ports:
$ openstack sfc flow classifier list -c Summary -f value
protocol: UDP,
<type 'type'>[port]: 192.168.0.14/32[any:any],
<type 'type'>[port]: 192.168.0.16/32[any:any],
neutron_source_port: 5c196983-c319-41d7-9af0-02301ed85513,
neutron_destination_port: None,
l7_parameters: {}
Change-Id: Ia5c772d48b22d4007dad8645cbfd2ea81cbb80ad
Closes-Bug: #1706379
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Implements: blueprint openstackclient-cli-porting
Change-Id: Ifeb62bad26ffeb0bb8b548c56d2d6a620a922f78
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Recently cliff introduced a sphinx extension directive named autoprogram-cliff
which genarates command-line help automatically. By using it, we no longer
need to write command-line help document separately.
Also fixes minor string substitution issue in a BGPVPN command.
Note that the new cliff release with the directive is not released yet,
but there are several number of OSC plugin commands proposed and
having a local copy would help such developers.
Change-Id: I6b1aee89f406ac449fbc43e210c4ca7ad901b19b
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently even if machine-readable format like JSON or YAML is specified,
formatted output is displayed. When machine-readable format is used,
they should not be converted by formatters.
Change-Id: I5f1e90ff60f30380106e1aa730f96a1f72c7a166
Closes-Bug: #1687955
|
| | |
| |
| |
| |
| | |
Change-Id: I2f247076226f06340a49989319065f61f8dd1d3e
Closes-bug: #1625957
|