]> 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)
committerThomas Goirand <thomas@goirand.fr>
Thu, 13 Mar 2014 07:20:18 +0000 (15:20 +0800)
commitc4bc49afeff0c472ae20df1d5c5e068f47ba8093
tree6b24e0058cf0dd0880cb01652b5947386df0570a
parent37cc1fc89b22316ae7de18c41c3b710b234a3014
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