#!/ms/dist/python/PROJ/core/2.5.0/bin/python
# ex: set expandtab softtabstop=4 shiftwidth=4: -*- cpy-indent-level: 4; indent-tabs-mode: nil -*-
# Copyright (C) 2008 Morgan Stanley
#
# This module is part of Aquilon
"""Contains a wrapper for `aq add manager --manager`."""


from aquilon.server.broker import BrokerCommand
from aquilon.server.commands.add_manager import CommandAddManager


class CommandAddManagerManager(CommandAddManager):
    """ CommandAddManager already has all the necessary logic to
        handle the extra instance parameter.

    """

    required_parameters = ["manager", "hostname", "ip"]


#if __name__=='__main__':

#!/ms/dist/python/PROJ/core/2.5.0/bin/python
# ex: set expandtab softtabstop=4 shiftwidth=4: -*- cpy-indent-level: 4; indent-tabs-mode: nil -*-
# Copyright (C) 2008 Morgan Stanley
#
# This module is part of Aquilon
"""Contains a wrapper for `aq add manager --manager`."""


from aquilon.server.broker import BrokerCommand
from aquilon.server.commands.add_manager import CommandAddManager


class CommandAddManagerManager(CommandAddManager):
    """ CommandAddManager already has all the necessary logic to
        handle the extra instance parameter.

    """

    required_parameters = ["manager", "hostname"]


#if __name__=='__main__':

Fix to allow dynamic ip parameters to work correctly.
add_manager: Fix to allow dynamic ip parameters to work correctly.

Addresses-Issue: Jira/AQUILONAQD-163
When the dynamic ip parameters were added to the commands beyond
add_host that took --ip, the required_parameters array for
add_manager_manager was not updated.  The command thought that
the --ip parameter was required when it no longer is (since the
ip can now be chosen via the dynamic parameters).
