This reverts commit 01ffc4684a.
Reason for revert:
In the last PTG we decided that the best location for the stadium projects osc client code would be the openstackclient repo. A patch was proposed for tapaas, see depends-on link below. Other projects will follow
Change-Id: Iaad2080f0ef552a0c0a00635bea48130cfc327a4
Depends-On: https://review.opendev.org/c/openstack/python-openstackclient/+/963445
Signed-off-by: Miro Tomaska <mtomaska@redhat.com>
Extend the lists of choices for encryption algorithms, auth algorithms,
and PFS groups to include the additions made in neutron-vpnaas.
Encryption algorithms: add AES CCM mode and AES GCM mode variants
for 128/192/256 bit keys and 8/12/16 octet ICVs, add AES CTR modes
for 128/192/256 bit keys
Auth algorithms: add aes-xcbc and aes-cmac.
PFS: add Diffie Hellman groups 15 to 31.
Related-Bug: #1938284
Change-Id: I3fd17b93820da9d86b2fc4bc89058475d7629d5d
This patch updates the resource comparison to accurately differentiate
between the manipulation of networks, ports, and router associations.
Introduced in I84fe4bb45d24c2f4a7a0246e2b9fb50354a715e0, the previous
implementation contained incorrect variable names, leading to
inconsistent results. This fix ensures that each resource type is
properly identified during comparison.
Closes-Bug: #2064286
Change-Id: Ieb87174296240f8f76ec10b39007935545b1bd3f
This change fixes the incompatability with the openstacksdk
for inserting and removing rules from firewall policiese.
Closes-Bug: #2057816
Change-Id: I8db7b4cc61b810887b0a675efa562f089821e8ec
Change SFC CLI to use SDK instead of deprecated neutronclient
python bindings.
Add possibility to delete multiple resources as it is common
for other delete commands.
Bump SDK minimum version to 1.5.0.
Depends-On: https://review.opendev.org/c/openstack/openstacksdk/+/887387
Actually the new SDK release is the dependency.
Related-Bug: #1999774
Change-Id: Ic22b8163155904113db8a4acf1fe7d75ae100a84
This has been deprecated for ages and generates an annoying warning when
building OSC docs. Time to cull it.
Change-Id: I76e4c7ab742d0bf27fecfda8fab41035618a4e24
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
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 name argument for bgp speaker set defines the new name for the speaker,
make the description more clear about this.
Change-Id: I29a0c87214c3c60084d0541f8b9a7abc72ff987f
The phase1 negotiation mode adds support for aggressive mode,
which can be selected when creating an ikepolicy.
Change-Id: I8148011558094db07b5f9eba70b16cfe6eeaf98f
Partial-Bug: #1701413
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
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 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
Changes to support VNI attribute through BGPVPN CLIs
Change-Id: I1f828ef965d5b117539b88a290e2b9b966016336
Partial-Bug: #1590908
Depends-On: I3d47000bb0ad8434f88d016acb5b05fb7142e47a