Skip to content

Instantly share code, notes, and snippets.

@koheyamada
Last active June 11, 2016 01:49
Show Gist options
  • Select an option

  • Save koheyamada/7ca277600c058c784396225dc6c4a72c to your computer and use it in GitHub Desktop.

Select an option

Save koheyamada/7ca277600c058c784396225dc6c4a72c to your computer and use it in GitHub Desktop.
【IDCFクラウド】cloudstack-apiで仮想マシンにパブリックIPを付与する。 ref: http://qiita.com/kooohei/items/524c1d5b4e541c695c06
$ cloudstack-api listPublicIpAddresses -t ipaddress,id,virtualmachinename,virtualmachinedisplayname
+----------------+--------------------------------------+--------------------+----------+---------------------------+
| ipaddress | id | virtualmachinename | hostname | virtualmachinedisplayname |
+----------------+--------------------------------------+--------------------+----------+---------------------------+
| 210.129.19.191 | 061c31aa-aa41-4e03-a274-83b17b58c1a3 | test-host | None | create-test |
| ***.***.***.***| ********-****-****-****-************ | None | None | None |
+----------------+--------------------------------------+--------------------+----------+---------------------------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment