8.123. neutron lbaas-l7rule-update


usage: neutron lbaas-l7rule-update [-h] [--request-format {json}]
                                   [--type {HOST_NAME,PATH,FILE_TYPE,HEADER,COOKIE}]
                                   [--compare-type {REGEX,STARTS_WITH,ENDS_WITH,CONTAINS,EQUAL_TO}]
                                   [--invert-compare] [--key KEY]
                                   [--value VALUE]
                                   [--admin-state-up {True,False}]
                                   RULE L7POLICY
Copy to Clipboard Toggle word wrap
LBaaS v2 Update a given L7 rule.

Positional arguments

RULE


        ID or name of rule to update.

L7POLICY


        ID or name of L7 policy this rule belongs to.

Optional arguments

-h, --help


        show this help message and exit

--request-format {json}


      DEPRECATED! Only JSON request format is supported.

--type {HOST_NAME,PATH,FILE_TYPE,HEADER,COOKIE}


      Rule type.

--compare-type {REGEX,STARTS_WITH,ENDS_WITH,CONTAINS,EQUAL_TO}


      Rule compare type.

--invert-compare


        Invert the compare type.

--key KEY


        Key to compare. Relevant for HEADER and COOKIE types
      only.

--value VALUE


        Value to compare.

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


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

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

© 2026 Red Hat