Commit Graph

21 Commits

Author SHA1 Message Date
Thomas Bachman 21946e6b85 Python2/3 compatibility fixes
Results from runnig 2to3 tooling.

Change-Id: I7e029b46a66c3eecbea323c12722d5c5b36076e1
2022-01-31 19:25:39 +00:00
Thomas Bachman ac1290e06d Add support for victoria
Add support for stable victoria release.

Change-Id: Id57eb9fd95d44fad0db5dd5b094875430e69556f
2020-11-30 20:18:16 +00:00
Sayali Naval c4e1f574d6 Add network_id field for L2 Policy Heat Extensions.
Change-Id: I743d22986e31b644bfaa6e5590ec29db11494627
2020-11-18 16:25:10 -08:00
Shyam Singh 41d002a352 Upgrade for stable/stein branch
* Updated 'test-requirements.txt', 'tox.ini'  with relevant
        'stable/stein' branch libraries.
    * Added zuul jobs w.r.t. 'stable/stein' release.
    * Updated pbr in 'setup.py'.
    * Added 'flake8-import-order' & 'stestr' library.
    * Removed 'testr' dependency from tox test envrironment.
    * Used 'coverage' library for coverage.
    * Added python3 as basepython.

Change-Id: I4f9da2fb661cfe2abb9002fcb47e1637a5a69a51
2020-07-17 05:05:48 +00:00
Shyam Singh 93232e3f6f Updated with 'stable/rocky' branch.
* Updated current repo with 'stable/rocky' branch.
    * Removed 'mox' library dependency on 'heat' testcases, as 'heat' in
      'stable/rocky' branch removed mox.
    * Using 'mock.patch' instead of 'mox.StubOutWithMock()'.
    * Updated 'test-requirements.txt' w.r.t. 'stable/rocky' release.
    * Updated zuul jobs w.r.t 'stable/rocky' release.

Change-Id: I9b4c20b95d011e886a848785c3939b60ace6a688
2020-06-12 20:27:46 +05:30
Sumit Naiksatam 4190cbe0a8 Ocata sync
Change-Id: I359c17ae209b6edc6d04fc3e4ee1c3ee32c51b5e
2017-08-20 03:49:25 +00:00
Sumit Naiksatam 5e3e66f6a8 Add Application Policy Group resource
Change-Id: I0eb9f444ffb8325af0dfee48e1a07eda41f53161
Implements: blueprint application-group
2017-03-20 19:41:46 -07:00
Sumit Naiksatam fa2f2cf6a5 [aim-mapping] intra-ptg-allow ext attr for PTG
Heat support for this extended attribute added to the backend.

Change-Id: I21bcaa658f5c0a2f5cedd903cea7de31aa2ed357
Partial-bug: #1648019
2016-12-07 16:39:41 -08:00
Sumit Naiksatam 40345ee068 Do not set default fixed_ips for policy_target
When fixed_ips is not specified, this attribute should
not be sent to the backend. Currently a default value of
empty list is being sent which is interpreted as an
actual value by the backend.

Change-Id: I91ca5c1f9d86dc81f47fbb79eb8723bd21c6bd50
2016-12-02 14:30:36 -08:00
Sumit Naiksatam 77b2787cdd fixed_ips for PT and reuse_bd option for L2P
fixed_ips option was added to the GBP neutron mapping
a while back and is similar to the fixed_ips option
for the Neutron Port.

The reuse_bd option is used by the apic driver.

Change-Id: Ie3f76ac4b9ed04354079e28a6be911b85856cc6b
2016-11-17 22:50:04 -08:00
Sumit Naiksatam c56d940da4 Changing property of external_segments for L3P
To a format:

external_segments:
    - external_segement_id: <es_id>
    - allocated_address: <ip>

This allows using a Heat resource ID for "es_id" (earlier one
had to specify the actual GBP ES id, so it was not possible
to reference a ES created earlier in the same Heat template).

Change-Id: I782fdb6cf1109f9662acd623ccbbc1687924bb60
Closes-bug: 1490773
2015-09-01 01:32:20 -07:00
Sumit Naiksatam 61a2c9cfb0 Fix UTs due to change in Heat stack create
Adapting UTs per changes in Heat commits:
a5297fec8a470d2aef8e41c1c4bee16f986aff74
ed52c86549e65544ca9813d0da135b29d31a4460
10a00d3ee4735bd88c6afbefc1b4a7b63104b060

Change-Id: If983dd6dc49d3fa72e2504e225411a1d13230145
Closes-bug: 1476074
2015-07-19 21:15:03 -07:00
Susaant Kondapaneni b6becb8545 Moving GBP resources to an independent namespace
Change-Id: Ia345257c4423974ecdc124c46dbdd7ea8a4692d2
Closes-bug: #1419948
2015-05-06 17:16:46 -07:00
Susaant Kondapaneni a02fb68229 Fix GBP heat stack update handling
Change-Id: If8b3d03715b58372dcc478eee3af2cdde9664256
Closes-bug: #1421000
2015-04-02 17:49:11 -07:00
Sumit Naiksatam e4451d9479 Adding Subnet ID to External Segment
This is required for Neutron mapping.

Change-Id: Ia7e21b494feb2140d0b1f27e556523b3f8f3a45e
Closes-bug: 1420626
2015-02-10 22:29:27 -08:00
Susaant 56716b487c Add support for External Access model
Heat resources for:

External Policies
External Segments
Nat Pools

Also, 'shared' attribute added to applicable resources.
Partially Implements: blueprint external-connectivity

Change-Id: I39b11c973565673313de21aa38a540173fc34628
2014-12-19 23:29:35 -08:00
Susaant 5e0f00f815 Heat renaming of GBP resources
The following resources are being renamed:
Endpoints -> Policy Targets
Endpoints Groups -> Policy Target Groups
Contracts -> Policy Rule Sets
The changes to the spec are outlined in:
https://review.openstack.org/#/c/134747

Partially-implements: blueprint group-based-policy-abstraction

Change-Id: Idcabea87dbaf921b59c6c1f869b1ad971501d473
2014-11-23 09:40:19 -08:00
susaant.kondapaneni 12ef099a43 Group Policy API-4 HEAT resource: Network Service Policy
This is the fourth patch in the Group Policy resources implementation
series. This patch implements:
    Network Service Policy

Change-Id: I7839d74740fd08cfa176df81cac7f5580d796740
Implements: blueprint group-based-policy-automation
2014-11-11 02:18:06 +00:00
Hemanth Ravi ca098b6bc5 Group Policy API-3 HEAT resources: Contracts
This is the third patch in the Group Policy resources implementation
series. This patch implements:
    Contracts

In the context of larger Group Policy model, Contracts contain Policy
Rules and Endpoint Groups consume or provide Contracts.

Change-Id: I9d92913f656af5a5d177f0cff5f3b306ced06fdf
Implements: blueprint group-based-policy-automation
2014-11-11 02:14:21 +00:00
Hemanth Ravi cbbc6d5546 Group policy API-2 HEAT resources: Classifiers, Rules
This is the second patch in the Group Policy resources implementation
series. This patch implements:
    Policy Classifiers
    Policy Actions
    Policy Rules

In the context of larger Group Policy model, the Policy Rule resource
is referenced by Contracts, which will be introduced in the subsequent
patch.

Change-Id: If6df98133bb517ebfba37e20a988d9837aeee7f8
Implements: blueprint group-based-policy-automation
2014-11-11 02:14:05 +00:00
Hemanth Ravi a878e4080a Group policy API-1 HEAT resources: EP, EPG, L2, L3
This is the first in a series of patches which implement
resources for neutron group policy APIs.

This patch implements four new resources:
    Endpoint
    EndpointGroup
    L2-Policy
    L3-Policy

Change-Id: Iac413aaa460bffa5c6f111e2e16beb9507a3d24a
Implements: blueprint group-based-policy-automation
2014-11-10 18:09:06 -08:00