Commit Graph

704 Commits

Author SHA1 Message Date
Tony Breeds b65577e5a6 Retire Packaging Deb project repos
This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).

Change-Id: If89c706c961db8902a3b8676989789fda8bb3b94
2017-09-12 16:03:06 -06:00
Jenkins 90d202989c Merge "Update the documentation link for doc migration" 2017-07-21 21:04:00 +00:00
Yushiro FURUKAWA 768dcc05af Add 'convert_to_string' and apply for firewall-rule
I7b4108772e8370e8f51971caf40ecd23e9f977e9 has been merged but missing
converter for firewall_rule.  This commit adds a new converter to modify
string and applies this one for following attributes both fwaas and
fwaas_v2.

    * source_port as in firewall_rule
    * destination_port as in firewall_rule

Change-Id: Iced5a588b2618735cbe6fc081e42e49896d7a91a
2017-07-21 23:29:40 +09:00
Jenkins 0ef54c3475 Merge "Revert "hardware offload support for openvswitch"" 2017-07-20 21:28:57 +00:00
Jenkins b633286ad5 Merge "Rehome FAULT_MAP from the neutron API" 2017-07-20 19:18:49 +00:00
Ihar Hrachyshka 7a7c370b26 Revert "hardware offload support for openvswitch"
This reverts commit f39c1a1615.

As it turned out during nova review for the feature [1], we can avoid a
separate vif type, reusing the normal one. This patch drops the type
added in the previous library release.

In theory, it's not backwards compatible, but since there is probably
little adoption for the last library release, and especially for the
new type (I would be surprised to learn anyone started using it), I
think it's ok to drop it and pretend it never happened.

[1] https://review.openstack.org/#/c/398265/

Related-Bug: #1627987

Change-Id: Ic1ee2cd4b0c75b2d0fe5f672e18b9e6206bb7f41
2017-07-20 11:37:56 -07:00
Akihiro Motoki 90a8302231 Update the documentation link for doc migration
Change-Id: I7db258cc50373c5011b8f99b6f8971a08ca336f3
2017-07-20 15:46:41 +00:00
Gary Kotton 4635cfc67f Fix typo in release note for import path
Update a typo netron => neutron

TrivialFix

Change-Id: I30565897f2fffc4bd8d8e34e909f0a32c0eb9542
2017-07-19 21:26:58 +00:00
Jenkins 7581af448a Merge "Withdraw doc for bgpvpn-routes-control API extension" 2017-07-18 18:01:22 +00:00
Jenkins d70c14c1f9 Merge "Add backward compatible alias" 2017-07-18 16:57:24 +00:00
Jenkins e67b9c0b0e Merge "Change comment to match new constant name" 2017-07-18 15:35:28 +00:00
Armando Migliaccio a9b662c25b Add backward compatible alias
Change-Id: Ib0c765cce8107d8e0166988528f2cb85d5c0970d
2017-07-18 07:19:48 -07:00
Jenkins abf7200776 Merge "Fix N536 - Use assertIsNone regex" 2017-07-17 23:46:03 +00:00
Jenkins f8f5eeadfd Merge "Add Agilio OVS VIF and virtio-forwarder VNIC type" 2017-07-17 23:41:35 +00:00
Jenkins 9a0e6a75ae Merge "Updated api-ref with more details on net-mtu extension" 2017-07-17 22:38:00 +00:00
Jenkins dce92dd101 Merge "rehome neutron's auto-allocated-topology extension API definition" 2017-07-17 22:33:10 +00:00
Jenkins f05f983b39 Merge "Remove unnecessary variables in UT" 2017-07-17 22:23:22 +00:00
Jenkins fc2fc4f55b Merge "Updated from global requirements" 2017-07-17 22:23:16 +00:00
Paul Carver b8bd6ad675 Change comment to match new constant name
Name of constant was changed in [1]. This changes the comment to match.

[1] https://review.openstack.org/#/c/484087

Change-Id: I86f297d64d00479a00f199eff650075b48ac3bbe
2017-07-17 16:57:07 -04:00
Boden R 45452c545f rehome neutron's auto-allocated-topology extension API definition
This patch rehomes neutron's auto_allocated_topology extension's API
definition into neutron-lib.

Change-Id: I8adab48cd4d8198c366a54cc746103ca8d01f086
2017-07-17 13:50:15 -06:00
Boden R 6c7b3d2a5f rehome neutron's address-scope extension API definition
This patch rehomes neutron's address_scope extension's API definition
into neutron-lib.

Change-Id: I647f32a0755c2aa61aa74c648396218f9d705396
2017-07-17 07:27:58 -06:00
OpenStack Proposal Bot f642cda79f Updated from global requirements
Change-Id: Ib1b65462dfdf65f2e640c5d71cb42697f0159e88
2017-07-16 21:25:24 +00:00
Armando Migliaccio 9488b976f5 rectify the definition of API timestamp for trunk_details
UPDATED_TIMESTAMP should be used as defined in [1]

[1] https://github.com/openstack/neutron-lib/blob/master/neutron_lib/api/extensions.py#L220

Change-Id: I19b041e2671700cf9ebb8f086ea9055a693a280f
2017-07-14 17:33:03 -07:00
Jenkins ff17888c96 Merge "Add interface to add a constraint to context" 2017-07-14 23:12:50 +00:00
Jenkins 94161b7401 Merge "rehome neutron's agent extension API definition" 2017-07-14 22:07:02 +00:00
Kevin Benton 6a2040fcdb Add interface to add a constraint to context
This adds methods to the Context to add, remove, and get a
constraint on an object to be checked before a change is
made to that object.

Related-Bug: #1493714
Change-Id: Id01c4dfb740f680e96349dc08b11b5bca6c59a74
2017-07-14 13:42:34 -07:00
Jan Gutter 01316ed5fe Add Agilio OVS VIF and virtio-forwarder VNIC type
* This patch adds the necessary metadata for Nova to provide plugging
  for the external Agilio OVS ML2 and OS-VIF plugins.

  * A VIF type for Agilio OVS is added: this is used by the external
    ML2/mechanism plugin to trigger Nova to call the external OS-VIF
    plugin.

  * A virtio-forwarder VNIC type is added. This corresponds to a
    low-latency vhost-user forwarding process connecting an accelerated
    VF to a VM. This VNIC type is not intended to be specific to
    Agilio OVS.

  * The necessary end-to-end implementation has been verified, with the
    external plugin hosted at:
    https://github.com/Netronome/agilio-ovs-openstack-plugin

Change-Id: I28315fb12f62dc7d52d099c211086b2b81eca39a
Signed-off-by: Jan Gutter <jan.gutter@netronome.com>
2017-07-14 19:38:41 +02:00
Gary Kotton 92556e931a Rehome FAULT_MAP from the neutron API
The fault map enables a developer to map neutron exceptions to
WebOb Exceptions. This enables the neutron service to raise the
relevant exception.

The FAULT_MAP is now maintained in neutron-lib. This dictionary
can be extended if necessary, for example a 3rd party plugin
wants to map plugin exceptions to the relevant WebOb exceptions.

The default mappings are:

    exceptions.NotFound: webob.exc.HTTPNotFound
    exceptions.Conflict: webob.exc.HTTPConflict
    exceptions.InUse: webob.exc.HTTPConflict
    exceptions.BadRequest: webob.exc.HTTPBadRequest
    exceptions.ServiceUnavailable: webob.exc.HTTPServiceUnavailable
    exceptions.NotAuthorized: webob.exc.HTTPForbidden
    netaddr.AddrFormatError: webob.exc.HTTPBadRequest
    policy.PolicyNotAuthorized: webob.exc.HTTPForbidden

Change-Id: Idfd956fa213e1ba6c3b1c983f246c5b515951e6d
2017-07-14 11:56:03 +03:00
Jenkins c76b18a963 Merge "Moved net-mtu extension definition" 2017-07-14 02:19:25 +00:00
Ngo Quoc Cuong 69e2a3cec1 Fix N536 - Use assertIsNone regex
self.assertEqual((None, None), A) is valid since (None, None) is not
None. However assert_equal_none recognizes it as invalid.

Solution: Add '$' (Match the end of the text) with/without comment ( |\t)*#.*)?
to the regular expressions which intent to match None at the end of string.

Change-Id: Ic5e5c16c9225a80b2765a1d3cde9a5b9e83a06fb
2017-07-13 21:27:35 -04:00
Ihar Hrachyshka 489d26d719 Updated api-ref with more details on net-mtu extension
While at it, changed sample responses to more sane mtu values that
should reflect the default neutron behaviour unless mtu configuration
options are touched. In one instance, replaced an 'stt' segment with a
'vxlan' one since there is no 'stt' type driver, at least not in the
neutron core repository.

Change-Id: I3c6506f372173cb9c778c5d83f1df45da611dcf2
2017-07-13 14:54:40 -07:00
Ihar Hrachyshka 28ab651318 Moved net-mtu extension definition
The module is not really imported from anywhere external to neutron, but
I am going to introduce a new extension that will allow to pass mtu on
create, and having both defined in a single place should keep it more
sane.

Change-Id: I41d5b399a6bd02f89f2e60c5ccb3fc0944b61255
Related-Bug: #1671634
2017-07-13 10:59:41 -07:00
Boden R 7d45c708bf rehome neutron's agent extension API definition
This patch rehomes neutron's agent extension's API definition into
neutron-lib.

Change-Id: Iae4746aa2e3f68a7120696a12a6ae717115dbc31
2017-07-13 11:50:40 -06:00
Hirofumi Ichihara 13f3ea617b Remove unnecessary variables in UT
In unit tests of API definition, there are extension_resources which
defines core resources although they are not resources of extension.
This patch removes them.

TrivialFix

Change-Id: I13ebffa80d5d5910840093de092d3bbe1a93a9c4
2017-07-13 14:28:36 +09:00
Sławek Kapłoński 7180158546 Add headers for QoS sections in api-ref
There was only header for QoS policies.

Headers for all other sections like (bandwidth
limit rules or DSCP marking rules) are added by
this patch.

Change-Id: If96fc3144f2160437192a6a1d0e4b0178c7ff694
2017-07-12 21:01:04 +00:00
Jenkins 5c8ae0612a Merge "Add info about direction in QoS bandwidth limit rule" 2017-07-12 20:43:31 +00:00
Sławek Kapłoński 38fa5a00e1 Add info about direction in QoS bandwidth limit rule
As `direction` parameter was added to QoS bandwidth limit rule
in Ia13568879c2b6f80fb190ccafe7e19ca05b0c6a8
This commit adds info about this parameter to API documention.

Change-Id: Id41844715f5385e89b2b9f97ee922b7072360a8a
2017-07-12 19:53:33 +00:00
Thomas Morin 5732e95f5d Withdraw doc for bgpvpn-routes-control API extension
Next release feature freeze is close, and it's not realistic to expect
that the implementation-in-progress of the bgpvpn-routes-control API
extension will be ready in time.

To avoid confusion, this change reverts the parts of change
Ib2cefcb6a345887435b754fbdcff3584329d45d2 that are documenting
the new bgpvpn-routes-control API extension.

The intent is to revert this change once an implementation is finished.

Related: blueprint routes-control

Change-Id: I97146127959cc0161892da5fef65c2a4a1598886
2017-07-12 16:32:20 +02:00
Jenkins 59e906c2f0 Merge "bgpvpn_routes_control: API definition fixes" 2017-07-12 10:07:54 +00:00
Jenkins 6a39967ef3 Merge "Move Firewall Exceptions to neutron-lib" 2017-07-12 09:01:10 +00:00
Jenkins 335d30061a Merge "Introduce logging api extension" 2017-07-11 23:41:06 +00:00
Yushiro FURUKAWA 26de187f60 Move Firewall Exceptions to neutron-lib
This patch brings all fwaas exceptions to neutron-lib.

Co-Authored-By: Reedip <reedip.banerjee@gmail.com>
Change-Id: Ie54ac5303020ea1db49ee5c2c6aaab4dd8e4c790
2017-07-11 16:36:21 +00:00
Thomas Morin 0f4733db19 bgpvpn_routes_control: API definition fixes
* remove spurious comma in range definition for 'local_pref'
* add validator to allow a field to be an integer in a range or none
  and use it for the local_pref parameter
* the port association 'routes' attribute can be updated

Needed-By: I263e1ee6cf4e1a91be91a4a78f4a160f64d33cc6
Change-Id: I7995209459d5efa020a5e6c6335f4116df7f9f3f
2017-07-11 17:47:14 +02:00
Jenkins 8deff26d53 Merge "Enable module reference" 2017-07-11 01:58:26 +00:00
Jenkins 1b1df70d76 Merge "Add missing LOG.debug to hacking rule" 2017-07-11 01:49:09 +00:00
Jenkins 58592140c1 Merge "api-ref: RBAC policies api reference" 2017-07-11 00:25:50 +00:00
Jenkins d7eeb6cdea Merge "rearrange content to fit the new standard layout" 2017-07-10 18:59:30 +00:00
Jenkins 2ef55671d0 Merge "hardware offload support for openvswitch" 2017-07-10 16:23:16 +00:00
Moshe Levi f39c1a1615 hardware offload support for openvswitch
In Kernel 4.8 we introduced Traffic Control (TC see [1]) hardware offloads
framework for SR-IOV VFs which allows us to configure the NIC [2].
Subsequent OVS patches [3] allow us to use the TC framework
to offload OVS datapath rule

This patch adds the VIF_TYPE_OVS_ACCELERATION
to portbindings

[1] http://netdevconf.org/1.2/papers/efraim-gerlitz-sriov-ovs-final.pdf
[2] https://patchwork.ozlabs.org/patch/738176/
[3] https://mail.openvswitch.org/pipermail/ovs-dev/2017-April/330606.html

Partial-Bug: #1627987

Change-Id: I41c0a44ebe5e886c689de9fbd7fadb9cb549dc68
2017-07-09 10:29:20 +03:00
Jenkins 4e100d90c4 Merge "Use flake8-import-order plugin" 2017-07-06 17:54:16 +00:00