[openstack-dev] [Neutron] How are Tenant VMs' traffic routed to Service VMs

Yang, Yi Y yi.y.yang at intel.com
Fri Nov 20 07:52:00 UTC 2015


Hi, folks

I'm trying tacker to start some service VMs as Service Function VNF by "heat" tenant user, service VMs have special Neutron net & subnet, other common tenant VMs will have their own Neutron net & subnet, my question is how to route the traffic to service VMs in Openstack environment, DVR or router?

I integrated Opendaylight and used Opendaylight ML2 driver (https://github.com/openstack/networking-odl), in that case, I used its L3 routing plugin instead of Neutron L3, I also integrated ovsdb, from ovsdb perspective, ARP response and L3 routing are done by openflow tables, so can openflow tables do the same thing to routing the traffic between tenant VMs and service VMs?

Network topology looks like the below diagram. 


+--------------------------------------------------------------------------+                            +------------------------------------------------------------------------------+
|Compute Node 1                             |                            |Compute Node 2                               |
|                                           |                            |                                            |
|                                           |                            |                                            |
|                                           |                            |                                            |
|                                           |                            |                                            |
|                                           |                            |                                            |
|       +--------------------+      +---------------------+   |                            |       +--------------------+       +-----------------+    |
|       |Tenant VM1  |      |Service VMx  |   |                            |       |Tenant VM2  |       |Service VMy|    |
|       | 10.0.0.3     |      | 11.0.0.3    |   |                            |       | 10.0.0.4     |       | 11.0.0.4   |    |
|       |            |      |            |   |                            |       |            |       |          |    |
|       |            |      |            |   |                            |       |            |       |          |    |
|       |            |      |            |   |                            |       |            |       |          |    |
|       +-------eth0-------+      +--------eth0------+   |                            |       +-------eth0-------+       +------eth0-----+    |
|              |                   |         |                            |              |                   |         |
|              |                   |         |                            |              |                   |         |
|             tap0                tap1       |                            |             tap0                tap1        |
|              |        ovs        |         |                            |               |        ovs        |         |
|              +-------------br-int------------+         |                            |               +------------br-int------------+         |
|                        |                   |                            |                         |                  |
|              +----------------+---------------+         |                            |               +----------------+---------------+        |
|              |                   |         |                            |               |                   |        |
|            VxLAN1          VxLAN-gpe1      |                            |            VxLAN1            VxLAN-gpe1   |
|                                            |                            |                                           |
|-------------------------------------eth1---------------------------------+                            + ---------------------------------------eth1-----------------------------+
            192.188.50.3|                                                                           | 192.168.50.4
                       +===========================================================================+



More information about the OpenStack-dev mailing list