oracle-samples / knife-oci

Chef Knife Plugin for Oracle Cloud Infrastructure
https://cloud.oracle.com/cloud-infrastructure
Other
12 stars 15 forks source link

Add server show command #19

Closed briangustafson closed 7 years ago

briangustafson commented 7 years ago

Proposed interface and output is below. A few notes:

knife bmcs server show --instance-id

Display Name: knife_integ_instance Instance ID: ocid1.instance.oc1.iad.abuwcljs2qts5jvuthfscqvev77wtiwhnu37znyuhwy4hxzx65gxefzw3ppq Availability Domain: IwGV:US-ASHBURN-AD-2 Compartment ID: ocid1.compartment.oc1..aaaaaaaa6y3zzwkqlcyupl6msnblrhffavz6bu6phk7q265kfsil3ilekksq Region: iad Image ID: ocid1.image.oc1.iad.aaaaaaaah2d5y4jlyi6q5mus4ihabunzdzuiwmuc3pequv27jfkc5eb4ylcq Shape: VM.Standard1.2 Public IP Address: 129.213.46.57 Private IP Address: 10.0.1.5 Hostname: myintegtesthostname Node Name: knife_integ_instance

lidl commented 7 years ago

The code that displays the hostname, private ip address and public ip address is currently geared towards displaying those parameters from the first/primary vnic for a server instance. How do you want the information displayed for additional vnic interfaces?

briangustafson commented 7 years ago

Resolved by @lidl with https://github.com/oracle/knife-bmcs/pull/26.