L7 policy API-REF update for result codes

The Octavia API-REF did not specify the HTTP response codes users
will receive when using the L7 policy actions REDIRECT_TO_URL and
REJECT.  This patch details those response codes.

Change-Id: Ibc2345deac518c49ece458e1bf09759cab25fa92
This commit is contained in:
Michael Johnson 2017-09-29 10:36:45 -07:00 committed by Tong Liu
parent 6a54f6ac37
commit 40484cc5c6
1 changed files with 6 additions and 0 deletions

View File

@ -104,6 +104,12 @@ creating multiple policies with the same action.
If a new policy is created with a position that matches that of an existing
policy, then the new policy is inserted at the given position.
L7 policies with ``action`` of ``REDIRECT_TO_URL`` will return a HTTP
``Found (302)`` response code with the ``redirect_url``.
L7 policies with ``action`` of ``REJECT`` will return a ``Forbidden (403)``
response code to the requester.
.. rest_status_code:: success ../http-status.yaml
- 201