]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add migration support from agent to NSX dhcp/metadata services
authorarmando-migliaccio <amigliaccio@nicira.com>
Fri, 11 Oct 2013 21:39:28 +0000 (14:39 -0700)
committerarmando-migliaccio <armamig@gmail.com>
Tue, 11 Feb 2014 01:27:14 +0000 (17:27 -0800)
commitdeef3471cba54008e430ba8b278727b5ebddee1a
treef522067006b33feb175a6bdafcd7fdc1e9673134
parent5739762e5739ea08121d48e39be3d23d5c75e570
Add migration support from agent to NSX dhcp/metadata services

This is feature patch (3 of 3) that introduces support for
transitioning existing NSX-based deployments from the agent
based model of providing dhcp and metadata proxy services
to the new agentless based mode. In 'combined' mode, existing
networks will still be served by the existing infrastructure,
whereas new networks will be served by the new infrastructure.

Networks may be migrated to the model using a new CLI tool
provided, called 'neutron-nsx-manage'. Currently the tool
provides two admin-only commands:

  neutron-nsx-manage net-report <net-id-or-name>

This will check that the network can be migrated and returns
the resources currently in use. And:

  neutron-nsx-manage net-migrate <net-id-or-name>

This will move the network over the new model and deallocate
resources from the agent. Once a network has been migrated
there is no turning back.

Completes-blueprint nsx-integrated-services

Change-Id: I37c9aa0e76124e1023899106406de7be6714c24d
23 files changed:
etc/neutron/plugins/nicira/nvp.ini
etc/neutron/plugins/vmware/nsx.ini
etc/policy.json
neutron/db/migration/alembic_migrations/versions/1421183d533f_nsx_dhcp_metadata.py [new file with mode: 0644]
neutron/plugins/nicira/NeutronPlugin.py
neutron/plugins/nicira/common/config.py
neutron/plugins/nicira/common/exceptions.py
neutron/plugins/nicira/dbexts/lsn_db.py [new file with mode: 0644]
neutron/plugins/nicira/dhcp_meta/combined.py [new file with mode: 0644]
neutron/plugins/nicira/dhcp_meta/constants.py [new file with mode: 0644]
neutron/plugins/nicira/dhcp_meta/lsnmanager.py [new file with mode: 0644]
neutron/plugins/nicira/dhcp_meta/migration.py [new file with mode: 0644]
neutron/plugins/nicira/dhcp_meta/nsx.py [new file with mode: 0644]
neutron/plugins/nicira/dhcp_meta/nvp.py [deleted file]
neutron/plugins/nicira/dhcpmeta_modes.py
neutron/plugins/nicira/extensions/lsn.py [new file with mode: 0644]
neutron/plugins/nicira/nsxlib/lsn.py
neutron/plugins/nicira/shell/__init__.py [new file with mode: 0644]
neutron/plugins/nicira/shell/commands.py [new file with mode: 0644]
neutron/tests/unit/nicira/test_dhcpmeta.py
neutron/tests/unit/nicira/test_lsn_db.py [new file with mode: 0644]
neutron/tests/unit/nicira/test_lsn_lib.py
setup.cfg