lib/cloudstack-cli/commands/ip_address.rb in cloudstack-cli-0.4.3 vs lib/cloudstack-cli/commands/ip_address.rb in cloudstack-cli-0.5.0
- old
+ new
@@ -1,8 +1,8 @@
class IpAddress < CloudstackCli::Base
- desc "ip_address release ID", "release public IP address"
+ desc "release ID", "release public IP address"
def release(id)
say("OK", :green) if client.disassociate_ip_address(id)
end
desc "ip_address assign NETWORK", "assign a public IP address"
@@ -16,10 +16,10 @@
ip = client.associate_ip_address(network["id"])
puts
say ip['ipaddress']
end
- desc "ip_address list", "list public IP address"
+ desc "list", "list public IP address"
option :project
option :account
option :listall
def list
table = [["Address", "Account", "Zone"]]
\ No newline at end of file