Skip to content

Example was missing in slcli dedicatedhost create-options, slcli dns import, slcli dns record-edit #2021

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 14, 2023 · 0 comments · Fixed by #2064
Assignees
Labels

Comments

@ramkishor-ch
Copy link
Contributor

  1. slcli dedicatedhost create-options
    Example was missing, please add it.
    EXAMPLE:
    slcli dedicatedhost create-options

Expected:

./slcli dedicatedhost create-options --help
Usage: slcli dedicatedhost create-options [OPTIONS]

EXAMPLE:
       slcli dedicatedhost create-options

        host order options for a given dedicated host.

To get a list of available backend routers see example:
slcli dh create-options --datacenter dal05 --flavor 56_CORES_X_242_RAM_X_1_4_TB

┌────┬──────────────┬───────────────────────────────────────────────────────────────────────────────────────┐
│ -d │ --datacenter │ Router hostname (requires --flavor) ex. ams01                                         │
│ -f │ --flavor     │ Dedicated Virtual Host flavor (requires --datacenter) ex. 56_CORES_X_242_RAM_X_1_4_TB │
│ -h │ --help       │ Show this message and exit.                                                           │
└────┴──────────────┴───────────────────────────────────────────────────────────────────────────────────────┘
  1. ./slcli dns import --help
    Example was missing, please add it.
    EXAMPLE:
    slcli dns import ~/ibm.com.txt
    This command imports zone and its resource records from file: ~/ibm.com.txt.

Expected:

./slcli dns import --help
Usage: slcli dns import [OPTIONS] ZONEFILE

EXAMPLE:
   slcli dns import ~/ibm.com.txt
   This command imports zone and its resource records from file: ~/ibm.com.txt.

        Import zone based off a BIND zone file.

┌────┬───────────┬───────────────────────────────┐
│    │ zonefile  │                               │
│    │ --dry-run │ Don't actually create records │
│ -h │ --help    │ Show this message and exit.   │
└────┴───────────┴───────────────────────────────┘
  1. ./slcli dns record-edit
    Example was missing, please add it.

EXAMPLE:
slcli dns record-edit ibm.com --by-id 12345678 --data 127.0.0.2 --ttl 3600
This command edits records under the zone: ibm.com, whose ID is 12345678, and sets its data to "127.0.0.2" and ttl to 3600.
slcli dns record-edit ibm.com --by-record kibana --ttl 3600
This command edits records under the zone: ibm.com, whose host is "kibana", and sets their ttl all to 3600.

Expected:

./slcli dns record-edit --help
Usage: slcli dns record-edit [OPTIONS] ZONE_ID

EXAMPLE:
       slcli dns record-edit ibm.com --by-id 12345678 --data 127.0.0.2 --ttl 3600
       This command edits records under the zone: ibm.com, whose ID is 12345678, and sets its data to "127.0.0.2" and ttl to 3600.
       slcli dns record-edit ibm.com --by-record kibana --ttl 3600
       This command edits records under the zone: ibm.com, whose host is "kibana", and sets their ttl all to 3600.

        Update DNS record.

┌────┬─────────────┬─────────────────────────────────────┐
│    │ zone-id     │                                     │
│    │ --by-record │ Edit by host record, such as www    │
│    │ --by-id     │ Edit a single record by its ID      │
│    │ --data      │ Record data, such as an IP address  │
│    │ --ttl       │ TTL value in seconds, such as 86400 │
│ -h │ --help      │ Show this message and exit.         │
└────┴─────────────┴─────────────────────────────────────┘
JayasilanJibm added a commit that referenced this issue Aug 5, 2023
Example for slcli dedicatedhost create-options, slcli dns import, slcli dns record-edit command
@JayasilanJibm JayasilanJibm self-assigned this Aug 5, 2023
@github-project-automation github-project-automation bot moved this to 🆕 New in Q3 2023 Aug 5, 2023
allmightyspiff added a commit that referenced this issue Aug 8, 2023
Example for slcli dedicatedhost create-options, slcli dns import, slcli dns record-edit command #2021
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in Q3 2023 Aug 8, 2023
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
2 participants