removed server dump after add/remove fixed-ip

This commit is contained in:
Sandy Walsh 2011-07-13 10:31:58 -07:00
parent 1920e32b1f
commit d72ea5df95

View File

@ -820,7 +820,6 @@ class OpenStackShell(object):
"""Add new IP address to network."""
server = self._find_server(args.server)
server.add_fixed_ip(args.network_id)
print_dict(server._info)
@arg('server', metavar='<server>', help='Name or ID of server.')
@arg('address', metavar='<address>', help='IP Address.')
@ -828,7 +827,6 @@ class OpenStackShell(object):
"""Remove an IP address from a server."""
server = self._find_server(args.server)
server.remove_fixed_ip(args.address)
print_dict(server._info)
def _find_server(self, server):
"""Get a server by name or ID."""