Skip to content

Example was missing in slcli loadbal health, slcli loadbal l7policies, slcli loadbal l7pool-add #2043

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

Closed
ramkishor-ch opened this issue Jul 17, 2023 · 0 comments · Fixed by #2080
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  1. slcli loadbal health
    Example was missing, please add it.
    Example:
    slcli loadbal health-edit (--lb-id LOADBAL_ID) (--health-uuid HEALTH_CHECK_UUID) [-i, --interval INTERVAL] [-r, --retry RETRY] [-t, --timeout TIMEOUT] [-u, --url URL]

Expected:

./slcli loadbal health --help
Usage: slcli loadbal health [OPTIONS] IDENTIFIER

Example:
slcli loadbal health-edit (--lb-id LOADBAL_ID)  (--health-uuid HEALTH_CHECK_UUID) [-i, --interval INTERVAL] [-r, --retry RETRY] [-t, --timeout TIMEOUT] [-u, --url URL]

        Manage LBaaS health checks.

┌────┬────────────┬────────────────────────────────────────────────────────────┐
│    │ identifier │                                                            │
│    │ --uuid     │ Health check UUID to modify.  [required]                   │
│ -i │ --interval │ Seconds between checks. [2-60]  [2<=x<=60]                 │
│ -r │ --retry    │ Number of times before marking as DOWN. [1-10]  [1<=x<=10] │
│ -t │ --timeout  │ Seconds to wait for a connection. [1-59]  [1<=x<=59]       │
│ -u │ --url      │ Url path for HTTP/HTTPS checks.                            │
│ -h │ --help     │ Show this message and exit.                                │
└────┴────────────┴────────────────────────────────────────────────────────────┘
  1. slcli loadbal l7policies
    Example was missing, please add it.
    Example:
    slcli loadbal l7policies (--protocol-id PROTOCOL_ID)

Expected:

./slcli loadbal l7policies --help
Usage: slcli loadbal l7policies [OPTIONS]

Example:
slcli loadbal l7policies (--protocol-id PROTOCOL_ID)

        List policies of the front-end protocol (listener).

┌────┬───────────────┬───────────────────────────────┐
│ -p │ --protocol-id │ Front-end Protocol identifier │
│ -h │ --help        │ Show this message and exit.   │
└────┴───────────────┴───────────────────────────────┘
  1. slcli loadbal l7pool-add
    Example was missing, please add it.
    Example:
    slcli loadbal l7pool-add (--id LOADBAL_ID) (-n, --name NAME) [-m, --method METHOD] [-s, --server BACKEND_IP:PORT] [-p, --protocol PROTOCOL] [--health-path PATH] [--health-interval INTERVAL] [--health-retry RETRY] [--health-timeout TIMEOUT] [--sticky cookie | source-ip]

Expected:

./slcli loadbal l7pool-add --help
Usage: slcli loadbal l7pool-add [OPTIONS] IDENTIFIER

Example:
slcli loadbal l7pool-add (--id LOADBAL_ID) (-n, --name NAME) [-m, --method METHOD] [-s, --server BACKEND_IP:PORT] [-p, --protocol PROTOCOL] [--health-path PATH] [--health-interval INTERVAL] [--health-retry RETRY] [--health-timeout TIMEOUT] [--sticky cookie | source-ip]

        Adds a new l7 pool

-S is in colon deliminated format to make grouping IP:port:weight a bit easier.

┌────┬──────────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│    │ identifier       │                                                                                                                                        │
│ -n │ --name           │ Name for this L7 pool.  [required]                                                                                                     │
│ -m │ --method         │ Balancing Method.  [default: ROUNDROBIN] Choices: ROUNDROBIN, LEASTCONNECTION, WEIGHTED_RR                                             │
│ -P │ --protocol       │ Protocol type to use for incoming connections  [default: HTTP] Choices: HTTP, HTTPS                                                    │
│ -S │ --server         │ Backend servers that are part of this pool. Format is colon deliminated. BACKEND_IP:PORT:WEIGHT. eg. 10.0.0.1:80:50 (multiple          │
│    │                  │ occurrence permitted)  [required]                                                                                                      │
│    │ --healthPath     │ Health check path.  [default: /]                                                                                                       │
│    │ --healthInterval │ Health check interval between checks.  [default: 5]                                                                                    │
│    │ --healthRetry    │ Health check number of times before marking as DOWN.  [default: 2]                                                                     │
│    │ --healthTimeout  │ Health check timeout.  [default: 2]                                                                                                    │
│ -s │ --sticky         │ Make sessions sticky based on source_ip.                                                                                               │
│ -h │ --help           │ Show this message and exit.                                                                                                            │
└────┴──────────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
1 participant