Closed allmightyspiff closed 3 years ago
$ ./slcli --format=table -v reg person-detail 1634037
Calling: SoftLayer_Account_Regional_Registry_Detail::getProperties(id=1634037, mask='mask[propertyType]', filter='None', args=(), limit=100, offset=0))
Calling: SoftLayer_Account_Regional_Registry_Detail::getDetails(id=1634037, mask='mask[registration[status]]', filter='{'details': {'registration': {'status': {'keyName': {'operation': 'REGISTRATION_COMPLETE'}}}}}', args=(), limit=100, offset=0))
:.......................................:
: Contact Details :
:................:......................:
: Field : Value :
:................:......................:
: INTERNAL_LABEL : IBM Cloud :
: EMAIL_ADDRESS : test@es.ibm.com :
: FIRST_NAME : Test:
: LAST_NAME : Chaparro :
: ADDRESS : AAA Diagonal 571 :
: CITY : Barcelona :
: STATE : OT :
: POSTAL_CODE : 08029 :
: COUNTRY : ES :
: ABUSE_EMAIL : abuse@ripe.net :
: PHONE : 620881761 :
:................:......................:
:..................................:
: Registered Subnets :
:........:........:........:.......:
: Subnet : Person : Status : Notes :
:........:........:........:.......:
:........:........:........:.......:
slcli registration person-detail
Basically this page: https://cloud.ibm.com/classic/network/rir/edit/51990
Should have 2 tables.
Contact Details.
A simple keyValue table
Registered Subnets
API Calls
This will require 2 API calls. One to get the Person/Contact properties, and One to get the registration details. Use
iter=True
on the API calls since there may be a lot of properties.PRETTY sure only
REGISTRATION_COMPLETE
are showing up in the portal. I don't think we need to show the other statuses...