Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add oneconnect status reuse to bigip_profile_http #2363

Open
freedge opened this issue Sep 11, 2023 · 1 comment
Open

add oneconnect status reuse to bigip_profile_http #2363

freedge opened this issue Sep 11, 2023 · 1 comment
Labels
awaiting-user-action issue awaiting user's response and/or requested action enhancement PRs or Issues for basic feature requests for an existing module.

Comments

@freedge
Copy link

freedge commented Sep 11, 2023

Is your feature request related to a problem? Please describe.

oneconnect only reuse connections when tmm.http.oc.droponerror is true (default) and server response code is 200 or 206. In situations where response code is different the oneconnect profile create more connections and is actually worse.

Describe the solution you'd like

in bigip_profile_http module, an extra parameter with the list of response codes matching the gui "oneconnect status reuse" parameter. Default to 200 and 206

Describe alternatives you've considered

adding an irule for this use case

Additional context

@freedge freedge added enhancement PRs or Issues for basic feature requests for an existing module. untriaged issue that needs an initial response from the developers labels Sep 11, 2023
@pgouband
Copy link
Contributor

Hi @freedge,

Thanks for the feedback.

You can modify the http profile using the ansible bigip_command module like the following example:

- hosts: all
  collections:
    - f5networks.f5_modules
  connection: local

  vars:
    provider:
      password: mypassword
      server: X.X.X.X
      user: admin
      validate_certs: no
      server_port: 443

  tasks:
    - name: http profile oneconnect
      bigip_command:
        provider: "{{ provider }}"
        commands:
          - modify ltm profile http http-test oneconnect-status-reuse "200 206 208"
      delegate_to: localhost

@pgouband pgouband added the awaiting-user-action issue awaiting user's response and/or requested action label Sep 13, 2023
@pgouband pgouband removed the untriaged issue that needs an initial response from the developers label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-user-action issue awaiting user's response and/or requested action enhancement PRs or Issues for basic feature requests for an existing module.
Projects
None yet
Development

No branches or pull requests

2 participants