]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Routing table configuration support on L3
authorNachi Ueno <nachi@nttmcl.com>
Thu, 17 Jan 2013 01:52:47 +0000 (17:52 -0800)
committerNachi Ueno <nachi@nttmcl.com>
Tue, 19 Feb 2013 23:05:34 +0000 (15:05 -0800)
commit7ffc2a2b6fbf3938e92e75374dbf7fdced5be4ea
treeba190dd5a32dc6273376ae34b7051eeb09e93004
parentaaa80ea649697192bc022d831da9ddc4d6559344
Routing table configuration support on L3

Implements bp quantum-l3-routes

  -- Adding the extraroute extension
  -- Updating the routing table based on routes attribute on route
  -- Updated OVS plugin, linuxbridge plugin, metaplugin
     NEC plugin, Ryu plugin

  User can configure the routes through quantum client API by
  using the extension feature.
  sample
  quantum router-update <router_id> \
        --routes type=dict list=true destination=40.0.1.0/24,nexthop=10.1.0.10

Change-Id: I2a11486709e55d3143373858254febaabb93cfe8
14 files changed:
quantum/agent/l3_agent.py
quantum/common/utils.py
quantum/db/db_base_plugin_v2.py
quantum/db/extraroute_db.py [new file with mode: 0644]
quantum/db/migration/alembic_migrations/versions/1c33fa3cd1a1_extra_route_config.py [new file with mode: 0644]
quantum/db/models_v2.py
quantum/extensions/extraroute.py [new file with mode: 0644]
quantum/plugins/linuxbridge/lb_quantum_plugin.py
quantum/plugins/metaplugin/meta_quantum_plugin.py
quantum/plugins/nec/nec_plugin.py
quantum/plugins/openvswitch/ovs_quantum_plugin.py
quantum/plugins/ryu/ryu_quantum_plugin.py
quantum/tests/unit/test_extension_extraroute.py [new file with mode: 0644]
quantum/tests/unit/test_l3_agent.py