Skip to content

Refactor loadbal order-options #1520

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
allmightyspiff opened this issue Jul 19, 2021 · 1 comment · Fixed by #1521
Closed

Refactor loadbal order-options #1520

allmightyspiff opened this issue Jul 19, 2021 · 1 comment · Fixed by #1521
Assignees

Comments

@allmightyspiff
Copy link
Member

slcli lb order-options takes a really long time, and produces not great output.

slcli lb order-options without arguments should just list out datacenters, and a message at the bottom letting the user know they should select a datacenter to view pricing and subnets

slcli lb order-options -d dal10 works fine, but should output 2 tables, instead of 1 table with a table in each column.

Table 1 titled " Prices", Table 2 titled " Subnets Private Subnets"

@allmightyspiff
Copy link
Member Author

Current output:

$ slcli --format=table lb order-options -d dal10
Prints options for ordering
:..............................................................................................:
:                                  DALLAS10: DAL10 - Dallas                                    :
:.........................................:....................................................:
:                  Prices                 :                  Private Subnets                   :
:.........................................:....................................................:
: :..............................:......: : :.........:...................:..................: :
: :           KeyName            : Cost : : :    Id   :       Subnet      :       Vlan       : :
: :..............................:......: : :.........:...................:..................: :
: :  LOAD_BALANCER_AS_A_SERVICE  :  0   : : : 1596063 :  10.93.138.192/26 : dal10.pod03.886  : :
: :     LOAD_BALANCER_UPTIME     : .025 : : : 1301433 : 10.177.122.168/29 : dal10.pod01.1251 : :
: :   LOAD_BALANCER_BANDWIDTH    :  0   : : : 1466083 :  10.177.211.0/26  : dal10.pod01.1251 : :
: : LOAD_BALANCER_DATA_PROCESSED :  0   : : : 2340712 :  10.221.68.192/26 : dal10.pod01.777  : :
: :..............................:......: : :.........:...................:..................: :
:.........................................:....................................................:

Proposed output: (something like this anyway)
image

@caberos caberos self-assigned this Jul 23, 2021
@allmightyspiff allmightyspiff linked a pull request Jul 27, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants