Red Hat Training

A Red Hat training course is available for Red Hat OpenStack Platform

8.118. neutron lbaas-l7policy-update

usage: neutron lbaas-l7policy-update [-h] [--request-format {json}]
                                     [--name NAME] [--description DESCRIPTION]
                                     [--action ACTION]
                                     [--redirect-pool REDIRECT_POOL]
                                     [--redirect-url REDIRECT_URL]
                                     [--position POSITION]
                                     [--admin-state-up {True,False}]
                                     L7POLICY
LBaaS v2 Update a given L7 policy.

Positional arguments

L7POLICY


        ID or name of l7policy to update.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--name NAME


        Name of the policy.

--description DESCRIPTION


      Description of the policy.

--action ACTION


        Action type of the policy.

--redirect-pool REDIRECT_POOL


      ID or name of the pool for REDIRECT_TO_POOL action
      type.

--redirect-url REDIRECT_URL


      URL for REDIRECT_TO_URL action type. This should be a
      valid URL string.

--position POSITION


        L7 policy position in ordered policies list. This must
      be an integer starting from 1. Not specifying the
      position will place the policy at the tail of existing
      policies list.

--admin-state-up {True,False}


      Specify the administrative state of the policy (True
      meaning "Up").