Commit Graph

99 Commits

Author SHA1 Message Date
sayalinaval e10a97fbbb Add subnet extensions for scope attributes
Add extensions: 'apic_advertised_externally' and
'apic_shared_between_vrfs' for subnet scope attributes

Change-Id: I8a22da67e6d613de071a6848b9907a3080ee40df
2023-10-04 18:28:06 -07:00
Zuul 80973f13a6 Merge "Support for multi external networks extention" 2023-07-07 23:04:09 +00:00
Nisar d751fc7e3a Add Antelope Support
Change-Id: I3f9a86e262c4ffc18e6005d45a1ef50012eeafa8
2023-05-29 05:04:05 +00:00
Zuul 0058876a0e Merge "Fix py39 builds" 2023-05-28 01:01:44 +00:00
Nisar Khan cad6614191 Add py39 Support
Change-Id: Icf84ac9c2ea4c0b724c949fdbaec89224ee84464
2023-05-23 06:28:47 +00:00
Thomas Bachman 98196775fc Fix py39 builds
Change-Id: I16db74cce6bd3dd409d1753dce887aebc720a66b
2023-05-16 21:57:02 +00:00
christides11 a775debb44 Support for multi external networks extention
The multi external networks extention allows multiple external networks
to be associated with a single L3Outside.

Change-Id: Iaf3bbc81ffb5e780c53dcedc106d9e20b50ed128
2023-05-10 15:26:06 -07:00
Zuul d7db1d4e08 Merge "Support for epg subnet in gbp client." 2022-11-17 12:38:53 +00:00
mdsufair b4119d9e3a Add no nat cidrs network extension
Change-Id: I65ecfc1737eaddc0c3f2bc2157dcf21d3c7e971b
2022-11-17 12:15:06 +00:00
Christopher Collins b0b8267ced Support for epg subnet in gbp client.
Change-Id: Ibdd1274559ef3680a6d5866ed6ec905c4bc44d92
2022-11-17 12:14:38 +00:00
Sayali Naval bda6d4ce78 Add support for zed
Change-Id: Ic3924b83d5ca17b403c2e340509e46f92fd566df
2022-11-16 13:45:35 -08:00
Thomas Bachman 5e1043a4a8 Fix incorrect line continuation characters
Existing code incorrectly uses the forward slash character for
line continuations. This isn't consistent with upstream conventions,
and is fixed in this patch.

Change-Id: I0c0db5f2105ef0751e3b88d157aeef99acbae6c3
2022-08-14 11:19:48 +00:00
pulkitvajpayee07 c1e2442978 Remove_legacy_service_chain_code
Change-Id: I6b08d3bc8784673968bb4ab4f3ad6dd1e7787cf1
2022-06-28 11:40:06 +05:30
pulkitvajpayee07 e935b89402 Add support for yoga
Change-Id: Ibff2d9adbba9e591fc712ebf9c9df7a79764b439
2022-04-13 09:23:30 +00:00
Thomas Bachman d90a042758 Python2/3 compatibility fixes
Results from running 2to3 tooling.

Change-Id: Ic30508fad422cca8d855830e7ea28dba10d7110f
2022-01-31 19:45:17 +00:00
snehal Tembhurne 150c9b0d75 Add support for xena
Change-Id: I9712dc24e12ca7ef27c67bed542429cc595ec6e2
2021-11-30 02:38:45 -05:00
Sneha Maniraju cedb8ad42c Add support for snat_subnet_only extension
Change-Id: I4a0fe3c91cbc9145bffa46105a2447a7a8ee1d01
2021-10-11 15:00:16 -07:00
Ümit Seren af6ae1cc1a Bugfix: Allow to unset extra contracts
Change-Id: I5478546c66a34cfbe66200853a50952bf9f7c327
2021-07-21 13:58:23 +02:00
ansao-aci 714dba29c9 Add support for wallaby.
Change-Id: I89145ab825bbaeb137422f157fda791446f6aab7
2021-06-15 10:42:33 +05:30
Zuul 3796b428fd Merge "Add apic-no-external-cidrs field to OpenStack CLI network resource" 2021-05-19 16:06:26 +00:00
Ümit Seren a0db645ee7 Bugfix: Handling of --apic-nat-type ""
Change-Id: I874a60950de672d3cf3f30c84731e285acb0c870
2021-05-15 10:36:41 +02:00
Sayali Naval ea99955aa2 Add apic-no-external-cidrs field to OpenStack CLI network resource
Change-Id: I56013000c1dc2d1fc8bd6ca1b3878f92258e5864
2021-05-14 12:49:52 -07:00
Sayali Naval d50d16f697 Add support for Policy Enforcement Pref
Add APIC Policy Enforcement Pref attribute to
OpenStack CLI Network Extension.

Change-Id: I8df9c6adeada0eb647309a3ffa15dd4f010b5c6c
2021-04-13 21:28:31 -07:00
Sayali Naval ed8d9e8206 Improvements for APIC fields in Openstack CLI
Below are some of the improvements madein this patch for the
Openstack APIC fields in Network, Subnet, Router and Address Scope:

1. Added more descriptive help messages for the apic fields.
2. More user friendly approach to handle dictionary and list elements.
3. Removal of some fields from the set commands.

Change-Id: I50ef5bc56241d0036f2fba3e650c63a7d3539808
2021-03-24 11:47:20 -07:00
Thomas Bachman f13e3d5764 Add support for ERSPAN
Add support for ERSPAN extension on the openstack port resource.

Change-Id: Ie9c5b429dfab774faef92d514be9110f6795991b
2021-01-26 18:45:19 +00:00
Sayali Naval 35d30bcf3d Add APIC fields in Openstack CLI
Add APIC fields for below resources in Openstack CLI:
Network, Subnet, Address Scope, Router

Change-Id: I9a7fc4c098f0e58e008a8eeec29f84094ebafa7f
2021-01-08 12:02:11 +05:30
Thomas Bachman 32fe945467 Fix upstream gate
Change-Id: I8ba570562ae0b69efc7ed5308dfb01ea7f986196
2020-12-17 15:10:36 +00:00
Thomas Bachman 7901b80657 Add stable victoria
Add support for the stable/victoria branch

Change-Id: I3978ec79ba21301f973cc9fdc10fb2fc9579c4d1
2020-10-16 00:43:56 +00:00
Thomas Bachman b84d414ef7 Fix for ussuri
The ussuri branch of the pythonclient wasn't working, as the map
needed to be converted back into a list. This patch fixes that.

Change-Id: I04f9a282462081ab7ebe29c9e9c90cb032898d5f
2020-09-19 20:37:21 +00:00
Thomas Bachman bc3bba7fc3 Add support for ussuri
This adds support for the stable ussuri branch.

Change-Id: I97e60937e43a5544790adaee90e572fe51ca02de
2020-09-03 20:13:52 +00:00
Thomas Bachman f2ceef2e4c Fix client API version.
The GBP client CLI was failing, with the following error message:
"Invalid network client version '{'network': '2.0'}'. must be one of: 2.0".
A change in the openstack SDK (>=18.0) was causing this failure in the
upstream neutron python client, which was resolved with this commit:
https://review.opendev.org/#/c/615184/

This commit makes a similar fix for the GBP python client.

Change-Id: I660c6881ef406a6d9995e2712399a3ac06ba207a
2020-08-28 22:28:45 +00:00
Thomas Bachman 591ab76904 Add support for train
This adds support for the stable train branch.

Change-Id: If1fcef8ea0c3b6b6ab55078e71b982fc75e181d8
2020-08-27 01:39:09 +00:00
Shyam Singh 6bad01e32d Upgrade for stable/stein branch
* Added bandit to find common security issues in 'tox.ini'.
    * Updated test-requirements.txt with relevant 'stable/stein' branch
        libraries.
    * Added zuul jobs w.r.t. 'stable/stein' release.
    * Added F601,W503,W504,W605 errors in flake8 ignore.

Change-Id: I0a1ef1f9b99dce8fa95c74e21df119069b6dcbe4
2020-06-24 23:00:53 +00:00
Shyam Singh 366ab2bfdb Upgrade for stable/rocky branch
* Removed py36 env from 'tox.ini'.
    * Updated requirements.txt with relevant 'stable/rocky' branch
        libraries.
    * Updated test-requirements.txt with relevant 'stable/rocky' branch
        libraries.
    * Replaced 'mox' with 'mock' on unit tests.
    * Use stestr directly instead of ostestr to run UTs, as is done in 
        newer upstream branches.
    * Specify basepython as python2.7 for pep8, cover jobs, in case a 
        python3 version of tox is used.
    * Added 'flake8-import-order' and kept import-order-style as 'pep8'.
    * Added zuul jobs w.r.t. 'stable/rocky' release.
    * Removed '-U' option from toxenv install command, for stable/rocky
        & above branches compatibility.

Change-Id: I9161749fb2d8618b695815c095bdedae0251bb76
2020-06-11 16:09:03 +00:00
Shyam Singh ea11205cbc Added Python3 support.
* dict_items, dict_values, dict_keys returns view in Py3 instead of
	list so wrapped with list.
 * Replaced dict.iteritems() with dict.items().
 * Replaced dict.itervalues() with dict.values().
 * Replaced 'unicode(err)' with
	'oslo_utils.encodeutils.exception_to_unicode(err)'.
 * Added 'openstack-tox-py35' in Zuul CI jobs.

Fixes bug 1877507

Change-Id: Ic0892bfd501bc45bb8b7b7bebe299c86c34710ae
2020-05-16 16:30:34 +05:30
Zuul 7b51446306 Merge "Add a try block while doing the purging" 2019-05-17 14:51:14 +00:00
Kent Wu 0833afb6de Add a try block while doing the purging
This is to work around an issue that a broken pipe exception
might get thrown when we invoke this purge through neutron
client API. We don't have this issue when its invoked thru
CLI.

Change-Id: I94d6ab8658efc08dd5be8dbd348e098453e71b39
2019-05-16 16:05:31 -07:00
OpenDev Sysadmins e45ea601b7 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:21 +00:00
Sumit Naiksatam dc5f01a5dc Fix pbr dependency version constraint order
The current order breaks on Ubuntu.

Change-Id: I057d19a9a146bb09b7c639f656760a86d765bd74
(cherry picked from commit 1983462134)
2018-09-14 11:52:45 -07:00
Kent Wu 32392f4b16 For queens sync
Change-Id: I52d38b0eefbb4c0f0abdc0f3a77600434aae147d
2018-09-07 11:23:18 -07:00
Sumit Naiksatam fbc62d5a4d Pike sync
Change-Id: I90b92546e7197c14cfec7b3433e0bf05df208410
2017-12-19 12:17:24 -08:00
Sumit Naiksatam 434c643d5e Ocata sync
Change-Id: I420d79791ac6ae4bf84164a9fe7ff15eebdde136
2017-07-13 12:03:30 -07:00
Kent Wu 0a14dc61bb Add the application_policy_group to the purge list
1. also corrected the help text for the APG.
2. also clean up Neutron resources while doing the pruge as now
gbpclient inherits from neutronclient.

Change-Id: I1469ee3c51295eac7a670d105398b384db23be70
2017-03-17 16:25:08 -07:00
Anna Khmelnitsky 3899fd7523 Newton sync
Change-Id: Ia80646ae9cec7c4009614d98e20f8657fca4f28c
2017-03-16 13:58:11 -07:00
Jenkins e28dfa475f Merge "CLI for Applicaiton Policy Group" 2017-03-16 17:44:05 +00:00
Kent Wu 0e4c0dc8df Implement the 'gbp purge <tenant ID>' CLI
This basically follows what 'neutron purge' CLI is doing. And here is the
neutron client patch for that:

https://review.openstack.org/#/c/276541

Some special care has to be done to take care of auto_ptg/l2p/l3p created
under implicit workflow otherwise the CLI will report failures while deleting
those.

Also publish the purge() API thru gbpclient interface.

Change-Id: Ib1c515f0b66cf4b958472b8f56ba1a4e574e8431
2017-03-15 15:27:32 -07:00
Sumit Naiksatam 92c0197abe CLI for Applicaiton Policy Group
Supports CRUD operations for APGs, and associating/disassociating
APG with PTG(s).

Change-Id: I5f7798269a2414427971b868d0527e99e4a09e93
Implements: blueprint application-group
2017-03-13 21:49:30 -07:00
Sumit Naiksatam 9d924f669a [aim-mapping] intra-ptg-allow ext attr for PTG
CLI support for this extended attribute added to the backend.

Change-Id: Ic76b5f7d8bebeee02ba381cc4533beddbe87e269
Partial-bug: #1648019
2016-12-07 16:05:33 -08:00
Sumit Naiksatam 52a6399a3d Move neutron dependency to requirements.txt
From test-requirements, since the stable versions have
long been released.

Change-Id: I57cbf5534fd4d18c6d086f301b47be35f0239069
2016-11-30 20:54:54 -08:00
Sumit Naiksatam 6d35c26f9c Namespace of arguments is incorrectly used
Namespace does not have project_domain_name, it has
os_project_domain_name.

Mirrors the change here:
https://review.openstack.org/#/c/143588

Change-Id: I9aa4e95f3767747933a033461c478ffbcffdf209
2016-11-29 20:57:43 -08:00