8.114. neutron lbaas-l7policy-create


Copy to Clipboard Toggle word wrap
usage: neutron lbaas-l7policy-create [-h] [-f {json,shell,table,value,yaml}]
                                     [-c COLUMN] [--max-width <integer>]
                                     [--noindent] [--prefix PREFIX]
                                     [--request-format {json}]
                                     [--tenant-id TENANT_ID] [--name NAME]
                                     [--description DESCRIPTION] --action
                                     ACTION [--redirect-pool REDIRECT_POOL]
                                     [--redirect-url REDIRECT_URL]
                                     [--position POSITION]
                                     [--admin-state-down] --listener LISTENER
LBaaS v2 Create L7 policy.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--tenant-id TENANT_ID


      The owner tenant ID.

--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-down


        Set admin state up to false.

--listener LISTENER ID


        or name of the listener this policy belongs to.

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat, Inc.