23 Commits

Author SHA1 Message Date
Monty Taylor
2f495c0147 Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: I05cc2e31bf77df1896cb3a89556e9677a0e9fb15
2015-09-21 15:02:14 +00:00
Robert Kukura
30973eb23e Cap requirements for kilo
Cap python-heatclient version range to its kilo series. Use kilo
release series for python-neutronclient rather than latest from git.

Change-Id: I140a2d8087e44ae2a5173d80984718f1918f9942
0.10.0 0.10.1
2015-08-04 13:59:36 -04:00
Robert Kukura
c9c958a11e Support ServiceProfile resource and new attributes
Adds support for the ServiceProfile resource, for the ServiceChainNode
resource's service_profile_id attribute, and for the shared attribute
of the ServiceChainNode and ServiceChainSpec resources.

Also updates test_requirements.txt to use the current hacking version,
and disables checks that fail. These will need to addressed in a
separate patch.

Partially implements blueprint node-centric-chain-plugin

Change-Id: I62b59b878138d3d9ad5d340a0b8f7ff0b74a39a5
2015-06-16 18:23:41 -04:00
Jenkins
7d3f7c68de Merge "Update GBPClient to work with NeutronClient Master (Post Juno)" 0.9.2 2015-04-13 17:37:46 +00:00
Magesh GV
ea4e0482ae Update GBPClient to work with NeutronClient Master (Post Juno)
Change-Id: I2e2de42b3c367430509de9eb31eddb0cb5a568e3
Closes-bug: 1433530
2015-03-23 15:14:54 +05:30
Igor Duarte Cardoso
80d73baae2 Adds --shared attribute to commands missing it
This is the final commit of 2 towards closing GBP client bug #1403417.
It shows the --shared option for commands that previously
didn't show it, but should. The following resources
have been fixed (for both create and update operations):
* l2policy
* l3policy
* network-service-policy
* policy-action
* policy-classifier
* policy-rule
* policy-rule-set
* policy-target-group
Furthermore, the CLI tests have been updated to test --shared.
As an extra, all (*_all_params) test methods updated with the
new option have also been re-checked for potentially lacking
options and, in that case, updated with the missing options.

Change-Id: Ie4d88c56a2d3e7abd8b063faeac5933a96e37dde
Closes-Bug: #1403417
0.9.1
2015-03-21 13:05:20 +00:00
Igor Duarte Cardoso
acc8155076 Adds missing args2body and add_known_arguments
This is the first commit of 2 towards closing GBP client bug #1403417.
It adds args2body and add_known_arguments methods to the resources
whose update operations were lacking them:
* l2policy
* policy-action
* policy-classifier
* policy-target (although not used as shared)
This is a necessary initial step to then show the --shared option
in all create/update operations that support that attribute.

Change-Id: I1cefcb538c16165a3cd87aa261ea215861aa3b71
Partial-Bug: #1403417
2015-03-21 00:43:08 +00:00
Sumit Naiksatam
7cd0fddac6 Allow unsetting the ext segments on L3 Policy
To unset use:
gbp l3policy-update <ext-segment> --external-segment ""

Change-Id: I1cdb2c7f1bf311688f415b90df353b80b013c558
Closes-bug: 1424258
2015-02-21 20:07:37 -08:00
Sumit Naiksatam
912249dc1a Removing validation for Neutron resource uuids
This is not required and actually the check fails
since the GBP client does not hold a reference to the
the neutron client. The validation for the validity
of the neutron resources is already done in the backend.

Change-Id: Ibc4feba97d9071b6ad6df89f4594b836e5e24633
Closes-Bug: 1423794
2015-02-19 22:15:48 -08:00
Magesh GV
7c2b4b0dbf Support passing name for action-value in PolicyAction
Also fixes the following:
1) Adds validations for invalid name/uuid
2) Fixes an error with handling Network service policy in update PTG
3) Remove py26 from tox.ini

Change-Id: I9f07bfed7277428eee2187eebb699d4a6768c4b3
Closes-bug:1406704
0.9.0rc1 0.9.0
2015-01-05 10:52:56 +05:30
Jenkins
2677699d95 Merge "Raise an error if template file does not exist" 2014.1.rc1 2014-12-20 03:14:55 +00:00
Sumit Naiksatam
7d6eeb857e Add support for External Access model
Client and CLI for:
External Policies
External Segments
Nat Pools

Also, updates to L3 Policies.

Partially Implements: blueprint external-connectivity

Change-Id: Ia05d21a7032baeaf6739f047d7f5eaa11e70990a
2014-12-18 02:04:17 -08:00
Sumit Naiksatam
f264be8652 Fix providing port id when creating PT
We do not allow providing the port name, only the port-id.

The current logic to obtain the port-id from port-name
was causing this to break and is being removed.

Translation from port-name to port-id will require
making a call on the neutron client which is currently
not supported.

Change-Id: Iad5fc245aabf3d076a27890ee7155607e1c1ecfb
Closes-bug: 1392158
2014-12-16 13:16:54 -08:00
Magesh GV
c659303c06 Raise an error if template file does not exist
Change-Id: I755c5a3deb953f1a9bb4e06564e03be5992e74c2
Closes-bug: #1388406
2014-12-16 15:27:21 +05:30
Krishna Kothapalli
2d83b68c2f Client test cases for Policy Target, L2 Policy, L3 Policy
Change-Id: I4489f34028036f9b167941f8de37e4d710dca34a
Closes-Bug: 1393865
2014-12-14 16:13:21 -08:00
Jeremy Stanley
a7c2326f82 Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: I9af4e1d576f6a8f37d0c2f9b6e3036092f277295
2014-12-05 03:30:46 +00:00
Krishna Kothapalli
7821534cd0 Client test cases for Policy Target Group
Partial-Bug: 1393865
Change-Id: I858cd5f8f2de27bfd44665817fbfa064a9baf46c
2014-11-28 18:42:58 -08:00
Sumit Naiksatam
1fafa0014b Client 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

Change-Id: I71d7a22a2c16982273625b7e1c63024deccdc7cd
Partially-implements: blueprint group-based-policy-abstraction
2014-11-16 12:41:17 -08:00
Sumit Naiksatam
f269444ccc GBP ServiceChain CLI - Initial implementation
Implements GroupPolicy ServiceChain CLI. Provides CRUD commands for
ServiceChainNode, ServiceChainSpec and ServiceChainInstance APIs.

Change-Id: I19d4cea8516e07a78121edec5707d7f8bd38b5d0
2014-10-31 11:10:00 -07:00
Sumit Naiksatam
e4f3993e2f GBP Client for GBP resources
Partially-implements: blueprint group-based-policy-abstraction

Change-Id: I6925ab7e3cdbce741f7c3f73c4e810d7ca8b5c7a
2014-10-31 01:20:49 -07:00
Sumit Naiksatam
a11f06cd4a Pinning test-requirements to neutronclient commit-id
This is the last known stable working version of the neutronclient
that works for GBP.

We will have to use this same version when we package until we update
GBP.

Change-Id: I5b96d55b57509569b2006a4e1ebd77caffb45506
2014-10-26 21:31:33 -07:00
Sumit Naiksatam
2b08b68478 GBP Client repo init
Adding essential code artifacts for bootstrapping GBP client
repo.

Change-Id: I3e09ed06a0cf719ccfeacb240829900da17d9f65
2014-09-28 23:11:15 -07:00
OpenStack Project Creator
4e0fcf16ab Added .gitreview 2014-09-08 16:52:53 +00:00