]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Support advanced NVP LBaaS Service
authorlinb <linb@vmware.com>
Tue, 20 Aug 2013 05:35:10 +0000 (13:35 +0800)
committerSalvatore Orlando <salv.orlando@gmail.com>
Tue, 17 Sep 2013 18:07:28 +0000 (11:07 -0700)
commit18d991a6b20300f9b601638383829e7cbd58b697
tree7a7aa5f62d93495a04d906785c915673b75e6e34
parentdb9c24a5194c7b11c1720227808f87add44375ed
Support advanced NVP LBaaS Service

The patch adds NVP advanced LBaaS service support for NVP with
VCNS:
        * NVP LBaaS is an advanced Service of NVP depending on NVP
          advanced service router
            - Once an advanced router id created, one corresponding
              vshield edge will be deployed, and then we can configure
              LB service On the vshield edge
        * NVP LBaaS service plugin still uses LBaaS DB service logic,
          while finally calling vShield Edge to support FWaaS service
            - When creating VIP object, service attaches the object to
              the advanced router with routedserviceinsertion service.
              Then before pushing VIP VCNS call, the server would first
              pushing associated POOL VCNS call and associated Monitor
              VCNS call to vShield Edge. Deleting VIP is opposite
              operation
            - Refering to CUD operation of other objects, service would
              first find the associated VIP object and then find the edge bound to
              the router which vip inserted. Then service would push corresponding
              VCNS call to Vshield Edge
        * on driver part, the driver will first convert the object
          to VSM known object input, and then send a synchronous JSON
          calling to VSM, and receive the result

Implements: blueprint nvp-lbaas-plugin
Change-Id: Iec41f2dc103daddf3bed4d09c147df3865b3dccd
17 files changed:
neutron/db/migration/alembic_migrations/versions/3d6fae8b70b0_nvp_lbaas_plugin.py [new file with mode: 0644]
neutron/plugins/nicira/NeutronServicePlugin.py
neutron/plugins/nicira/common/exceptions.py
neutron/plugins/nicira/dbexts/vcns_db.py
neutron/plugins/nicira/dbexts/vcns_models.py
neutron/plugins/nicira/vshield/__init__.py
neutron/plugins/nicira/vshield/common/__init__.py
neutron/plugins/nicira/vshield/edge_appliance_driver.py
neutron/plugins/nicira/vshield/edge_loadbalancer_driver.py [new file with mode: 0644]
neutron/plugins/nicira/vshield/vcns.py
neutron/plugins/nicira/vshield/vcns_driver.py
neutron/tests/unit/db/loadbalancer/test_db_loadbalancer.py
neutron/tests/unit/nicira/test_edge_router.py
neutron/tests/unit/nicira/test_lbaas_plugin.py [new file with mode: 0644]
neutron/tests/unit/nicira/test_nicira_plugin.py
neutron/tests/unit/nicira/vshield/fake_vcns.py
neutron/tests/unit/nicira/vshield/test_loadbalancer_driver.py [new file with mode: 0644]