Hi Michael,

Now the picture is more clear to me.
Some of the use cases we target are indeed those described by you. Another use 
case whould have been to turn VRouter running over a server with a lot of nics 
and cpu cores into a dedicated software router. For example Cisco has open 
sourced their FD.IO VPP technology and my understanding from their presentation 
is that VPP can be used in such use cases as well. For example looking at this 
presentation https://wiki.fd.io/view/File:Fdio_Ward_-_2016-04-05.pptx (slides 
8-12) they are using servers with high number of nics (12-18) to turn them into 
real software routers. So I was also looking for something similar from VRouter.
Anyway even if your answer is not the one I was hoping for, it is of a great 
help and value for me.
Thank you again,
Sorin.

From: Michael Henkel [mailto:mhen...@juniper.net]
Sent: Friday, January 06, 2017 12:51 PM
To: Sorin tudor Toderica
Cc: dev@lists.opencontrail.org
Subject: Re: [opencontrail-dev] how can I add multiple physical nics to VRouter 
in a contrail-installer with devstack setup

Hi Sorin,

The vRouter typically is used to provide connectivity
- between workloads (VMs/container) on the same or different compute node
- between a external routers and the workload on a compute node

The vRouter is not meant to be a replacement for a traditional router.
Usually the vRouter routes between overlay networks or between a physical 
network and an overlay network.
If you want to use the IXIA for performance testing you can configure it as an 
external router and push traffic to workloads hosted on a compute node.
Can you describe your use case?

Regards,
Michael

Am 06.01.2017 um 11:12 schrieb Sorin tudor Toderica 
<stoder...@lenovo.com<mailto:stoder...@lenovo.com>>:
Thank you very much Michael,

I'm trying to understand your suggestion. My intention was to have 2 physical 
nics connected to VRouter as separate ports and use 2 ixia to emulate 2 virtual 
machines that are talking at full rate over those nics. When you are talking 
about a switch, you mean a physical switch or an software switch like OVS or 
linux bridge?

Also does your answer means that the VRouter purpose is only to 
route/switch/filter traffic between local VMs or between local VMs and external 
VMs but cannot be used as a real software router to route traffic between 
external servers/VMs?

Thank you again,
Sorin.

From: Michael Henkel [mailto:mhen...@juniper.net]
Sent: Friday, January 06, 2017 11:51 AM
To: Sorin tudor Toderica; 
dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>
Subject: Re: [opencontrail-dev] how can I add multiple physical nics to VRouter 
in a contrail-installer with devstack setup

Hi Sorin,

This has not changed. The vRouters vhost0 interface is always bound to one 
(logical) interface. The logical interface can be a bond in case more bandwidth 
is needed.
But you can still use an IXIA to inject traffic, you just need a switch which 
multiplexes the interface.

Regards,
Michael

From: Dev 
<dev-boun...@lists.opencontrail.org<mailto:dev-boun...@lists.opencontrail.org>> 
on behalf of Sorin tudor Toderica 
<stoder...@lenovo.com<mailto:stoder...@lenovo.com>>
Date: Friday, January 6, 2017 at 10:42 AM
To: "dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>" 
<dev@lists.opencontrail.org<mailto:dev@lists.opencontrail.org>>
Subject: [opencontrail-dev] how can I add multiple physical nics to VRouter in 
a contrail-installer with devstack setup


    Hello folks and Happy New Year to you!


   I have an open-contrail installation on 2 physical servers - one server 
running all services (control node + compute node) while the second one is only 
running the nova and vrouter agent (compute node). The installation was done 
from contrail-installer using devstack.
  My physical server (control node) has 4 physical nics and I would like to use 
all of them under VRouter control. I would also like to use them not as a bond 
( port-channel) but as separate nics - to be able to inject traffic in VRouter 
using ixia.
Looking into the documentation (Contrail user guide from Juniper - "Supporting 
multiple interfaces on Servers and Nodes) there is a way to configure this 
using fabric utility tool. Unfortunately using contrail-installer I'm not able 
to get the contrail debian package used by fabric utility to deploy contrail 
(contrail-install-packages-1.xx-xxx~openstack_version_all.deb)
so those instructions from the user guide are not helping me much.

I was also trying to look first in the mail achieve for a similar topic and 
found an old discouraging thread ->


http://lists.opencontrail.org/pipermail/dev_lists.opencontrail.org/2013-November/000204.html



"There is a single kernel module. It can use multiple NICs. At the moment 
bonding is the only supported way to have multiple data interfaces.

Virtual interfaces get their own VRFs and are isolated from each other; is 
there any particular scenario that you have in mind and are trying to get to 
test ?"

   My hope is that this post is old enough and now this kind of topology is 
supported. For example if I want to turn a server full of nics into a software 
router using contrail and VRouter I will need to be able to let VRouter to 
manage multiple physical nics.
In my installation I'm using the VRouter kernel module, not the dpdk support.

Thank you very much,
Sorin.

_______________________________________________
Dev mailing list
Dev@lists.opencontrail.org
http://lists.opencontrail.org/mailman/listinfo/dev_lists.opencontrail.org

Reply via email to