Commit Graph

35 Commits

Author SHA1 Message Date
Thomas Bachman fe3f501895 Add support for zed
Change-Id: I40c546e24fb0b611ddad6126a20ccecb143ea723
2022-11-28 21:33:43 +00:00
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
Thomas Bachman baced0c1c4 Add support for ussuri
This adds support for the stable ussuri branch.

Change-Id: I7ac5ddb6a9a4e3fb31b420e81007136c8ef87b93
2020-09-04 00:00:28 +00: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
Thomas Bachman a6a416843a Support protocol numbers in PolicyClassifier
The PolicyClassifier currently only supports the named
protocols of 'icmp', 'tcp', and 'udp'. In order to allow
for the full range of protocols, the constraint validation
needs to be relaxed to support protocol numbers 0-255.

Change-Id: Icd9c442e868339cf845b1255dd6ed3ffe31e85af
2017-06-08 14:08:17 +00:00
Sumit Naiksatam 0088d5be2a Fix resource_id retrieval
Remove a method which we dont need to override else
the resource ID of a resource in the stack is not being
retrieved correctly.

Change-Id: I355a5c0ec1b789337fa63c6c5549b9eaa7427c1b
2017-03-23 18:41:38 -07: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 34c73a3629 Newton sync
Change-Id: I3bdd81ad1ddf3bda79016bb6af64d1ae5092bb7f
2017-03-05 22:28:30 -08: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 545eec2fe4 Add service profile ID prop for service chain node
Change-Id: I1c307be9ff5b8ddd5c3ec08a8b3cbfacc15c4966
Closes-Bug: 1573784
2016-04-22 13:44:17 -07: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 e2d6566643 Add Service Profile, shared attr, GBP namespace
Partially implements blueprint node-centric-chain-plugin

Changes namespace for Service Chain resources to OS:GroupBasedPolicy
Closes-bug: 1476803

Adds shared attribute for Service Chain resources
Closes-bug: 1475461

Also updates test-requirements to sync with global requirements.

Change-Id: I7c535dbadbe68ed5ba51f5ac63418af3100d7737
2015-07-21 12:14:33 -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
mageshgv 363d8b9f11 Update GBP automation to work with heat kilo trunk
Change-Id: I89c9e1ad27a7eaaa72cfe2cc6242f856bdfa5eb0
Closes-bug: 1433530
2015-04-27 19:52:35 +05:30
Jenkins 2461883e49 Merge "Fix GBP heat stack update handling" 2015-04-03 17:36:49 +00:00
Susaant Kondapaneni a02fb68229 Fix GBP heat stack update handling
Change-Id: If8b3d03715b58372dcc478eee3af2cdde9664256
Closes-bug: #1421000
2015-04-02 17:49:11 -07:00
Susaant Kondapaneni 58ae2c7976 Allow port ID for policy target
Change-Id: I1d8354d1b8ad3a08ec29c22d2c2df41540be82f8
Closes-bug: #1419947
2015-02-13 10:08:45 -08: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
Sumit Naiksatam 93882f6ead Fixing package version name
Changing from gbpautomation to group-based-policy-automation

Change-Id: If4c0cabae570c2b9237b572faffc6ab887c737dd
Closes-bug: 1419331
2015-02-07 12:24:40 -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
Jenkins 95fe4101ca Merge "Implementation of GBP ServiceChain resources" 2014-11-12 20:21:19 +00:00
susaant 539862c03b Implementation of GBP ServiceChain resources
This patch implements:
ServiceChain Node
ServiceChain Spec

Implements: blueprint group-based-policy-automation

Change-Id: I4ac1e924a492949b54e76f8f99e0dc951a0e82ef
2014-11-11 02:18:23 +00: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
Ivar Lazzaro 15db2af2bb Repo Init
enables unit testing and heat dependency

Change-Id: I51908e334b7ef3f0a2c200a1dae85de81e418a23
2014-10-17 17:52:39 -07:00