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 options to print a specific table in command slcli account events #1611

Merged
merged 2 commits into from
Apr 11, 2022

Conversation

edsonarios
Copy link
Contributor

@edsonarios edsonarios commented Apr 5, 2022

Issue link: #1610

softlayer-python/ (issue1610) $ slcli account events --planned
:............................................................................................................................................................................................:
:                                                                                       Planned Events                                                                                       :
:..................:........:...........:.................................................................:...........:.......:..................:..................:..............:.........:
:    Event Data    :   Id   :  Event ID : Subject                                                         :   Status  : Items :    Start Date    :     End Date     : Acknowledged : Updates :
:..................:........:...........:.................................................................:...........:.......:..................:..................:..............:.........:
: 2022-04-07 18:30 : 341058 : 144369902 : VPC Frankfurt Network Maintenance - Zone 2                      :   Active  :   0   : 2022-04-07 18:30 : 2022-04-08 00:00 :     True     :    1    :
: 2022-04-07 06:00 : 341248 : 144462918 : Block Storage for VPC Services (AU-Syd-3) 7-Apr-2022 12:00 UTC  : Published :   0   : 2022-04-07 06:00 : 2022-04-07 15:00 :     True     :    1    :
: 2022-04-06 06:00 : 341246 : 144462882 : Block Storage for VPC Services (AU-Syd-1) 6-Apr-2022 12:00 UTC  : Published :   0   : 2022-04-06 06:00 : 2022-04-06 15:00 :     True     :    1    :
: 2022-04-06 06:00 : 341286 : 144465486 : Block Storage for VPC Services (AU-Syd-2) 6-Apr-2022 12:00 UTC  : Published :   0   : 2022-04-06 06:00 : 2022-04-06 15:00 :     True     :    1    :
: 2022-04-03 18:00 : 341016 : 144403328 : Block Storage for VPC Services (CA-Tor-3) 4-Apr-2022 00:00 UTC  : Completed :   0   : 2022-04-03 18:00 : 2022-04-04 06:00 :     True     :    2    :
: 2022-04-03 18:00 : 341062 : 144402750 : Block Storage for VPC Services (US-East-3) 4-Apr-2022 00:00 UTC : Completed :   0   : 2022-04-03 18:00 : 2022-04-04 06:00 :     True     :    2    :
:..................:........:...........:.................................................................:...........:.......:..................:..................:..............:.........:
softlayer-python/ (issue1610) $ slcli account events --announcement
:.........................................................................................................................................:
:                                                           Announcement Events                                                           :
:........:...........:.......................................................................:...........:.......:..............:.........:
:   Id   :  Event ID : Subject                                                               :   Status  : Items : Acknowledged : Updates :
:........:...........:.......................................................................:...........:.......:..............:.........:
: 329844 : 142634738 : Time-sensitive action required: Datacenter modernization announcement : Published :   5   :     True     :    1    :
: 333644 : 142948506 : Time-sensitive action required: Datacenter modernization announcement : Published :   6   :     True     :    1    :
: 333804 : 142954218 : 2023 Datacenter Modernization Announcement:  MEX01                    : Published :   0   :     True     :    1    :
: 340846 : 144313654 : ACTION REQUIRED - Windows Update causing BSOD & reboot failures       : Published :   8   :     True     :    1    :
:........:...........:.......................................................................:...........:.......:..............:.........:
softlayer-python/ (issue1610) $ slcli account events --planned --announcement
:............................................................................................................................................................................................:
:                                                                                       Planned Events                                                                                       :
:..................:........:...........:.................................................................:...........:.......:..................:..................:..............:.........:
:    Event Data    :   Id   :  Event ID : Subject                                                         :   Status  : Items :    Start Date    :     End Date     : Acknowledged : Updates :
:..................:........:...........:.................................................................:...........:.......:..................:..................:..............:.........:
: 2022-04-07 18:30 : 341058 : 144369902 : VPC Frankfurt Network Maintenance - Zone 2                      :   Active  :   0   : 2022-04-07 18:30 : 2022-04-08 00:00 :     True     :    1    :
: 2022-04-07 06:00 : 341248 : 144462918 : Block Storage for VPC Services (AU-Syd-3) 7-Apr-2022 12:00 UTC  : Published :   0   : 2022-04-07 06:00 : 2022-04-07 15:00 :     True     :    1    :
: 2022-04-06 06:00 : 341246 : 144462882 : Block Storage for VPC Services (AU-Syd-1) 6-Apr-2022 12:00 UTC  : Published :   0   : 2022-04-06 06:00 : 2022-04-06 15:00 :     True     :    1    :
: 2022-04-06 06:00 : 341286 : 144465486 : Block Storage for VPC Services (AU-Syd-2) 6-Apr-2022 12:00 UTC  : Published :   0   : 2022-04-06 06:00 : 2022-04-06 15:00 :     True     :    1    :
: 2022-04-03 18:00 : 341016 : 144403328 : Block Storage for VPC Services (CA-Tor-3) 4-Apr-2022 00:00 UTC  : Completed :   0   : 2022-04-03 18:00 : 2022-04-04 06:00 :     True     :    2    :
: 2022-04-03 18:00 : 341062 : 144402750 : Block Storage for VPC Services (US-East-3) 4-Apr-2022 00:00 UTC : Completed :   0   : 2022-04-03 18:00 : 2022-04-04 06:00 :     True     :    2    :
:..................:........:...........:.................................................................:...........:.......:..................:..................:..............:.........:
:.........................................................................................................................................:
:                                                           Announcement Events                                                           :
:........:...........:.......................................................................:...........:.......:..............:.........:
:   Id   :  Event ID : Subject                                                               :   Status  : Items : Acknowledged : Updates :
:........:...........:.......................................................................:...........:.......:..............:.........:
: 329844 : 142634738 : Time-sensitive action required: Datacenter modernization announcement : Published :   5   :     True     :    1    :
: 333644 : 142948506 : Time-sensitive action required: Datacenter modernization announcement : Published :   6   :     True     :    1    :
: 333804 : 142954218 : 2023 Datacenter Modernization Announcement:  MEX01                    : Published :   0   :     True     :    1    :
: 340846 : 144313654 : ACTION REQUIRED - Windows Update causing BSOD & reboot failures       : Published :   8   :     True     :    1    :
:........:...........:.......................................................................:...........:.......:..............:.........:

Copy link
Member

@allmightyspiff allmightyspiff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, just change the help message from Show just <event> to Show only <event>

@edsonarios
Copy link
Contributor Author

edsonarios commented Apr 8, 2022

looks good, just change the help message from Show just <event> to Show only <event>

The change was made

@edsonarios edsonarios closed this Apr 8, 2022
@edsonarios edsonarios reopened this Apr 8, 2022
@allmightyspiff allmightyspiff merged commit 078c025 into softlayer:master Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add options to print a specific table in command slcli account events
2 participants