Re: [one-users] Vlan template

2014-02-04 Thread Dmitri Chebotarov
Nice. Thanks

--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers & Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404


From: Jaime Melis mailto:jme...@opennebula.org>>
Date: Thursday, January 30, 2014 at 5:15
To: Dimach Chebotarov mailto:dcheb...@gmu.edu>>
Cc: Gandalf Corvotempesta 
mailto:gandalf.corvotempe...@gmail.com>>, 
Users OpenNebula mailto:users@lists.opennebula.org>>
Subject: Re: [one-users] Vlan template

Hi all,

Stefan Kooman recently requested this functionality and it's included in the 
code. Apologies for not understanding the issue better before:

http://dev.opennebula.org/issues/2345

cheers,
Jaime


On Tue, Jan 28, 2014 at 9:42 PM, Dmitri Chebotarov 
mailto:dcheb...@gmu.edu>> wrote:
It seems like the command to add trunk is almost identical to adding vlan:

- vlan (ie. Access-port) : ovs-vsctl set port vnet0 tag=Vlan1
- trunk : ovs-vsctl set port vnet0 trunks=VlanID1,VlanID2

Would it be possible to adjust command to add trunk port with list of
VLANs if multiple VLAN Ids listed in the Virtual Network’s VLAN field?

--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers &
Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 
993-3404







On 1/28/14, 12:23 , "Dmitri Chebotarov" 
mailto:dcheb...@gmu.edu>> wrote:

>Hi guys
>
>Have you found solution for how to add trunk interface?
>
>I¹m facing the same task and looking for a possible solution. I found this
>ports
>http://blog.scottlowe.org/2013/05/28/vlan-trunking-to-guest-domains-with-o
>p
>en-vswitch/ and trying to implement it via RAW entry in VM template. No
>results yetŠ
>
>--
>Thank you,
>
>Dmitri Chebotarov
>VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers &
>Messaging
>223 Aquia Building, Ffx, MSN: 1B5
>Phone: (703) 993-6175 | Fax: (703) 
>993-3404
>
>
>
>
>
>
>
>On 5/21/13, 3:21 , "Gandalf Corvotempesta"
>mailto:gandalf.corvotempe...@gmail.com>> 
>wrote:
>
>>2013/5/20 Jaime Melis mailto:jme...@opennebula.org>>:
>>> However, you can only tag one VLAN per interfaces, which as far as I
>>>know,
>>> is the only thing that makes sense?
>>
>>Why? Trunk interfaces carries multiple vlan, is absolutely standard.
>>I have not less than 58 VLANs on a single interface on my XenServer host.
>>___
>>Users mailing list
>>Users@lists.opennebula.org<mailto:Users@lists.opennebula.org>
>>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>___
>Users mailing list
>Users@lists.opennebula.org<mailto:Users@lists.opennebula.org>
>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org<mailto:Users@lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



--
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org<http://www.OpenNebula.org> | 
jme...@opennebula.org<mailto:jme...@opennebula.org>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Vlan template

2014-01-30 Thread Jaime Melis
Hi all,

Stefan Kooman recently requested this functionality and it's included in
the code. Apologies for not understanding the issue better before:

http://dev.opennebula.org/issues/2345

cheers,
Jaime


On Tue, Jan 28, 2014 at 9:42 PM, Dmitri Chebotarov  wrote:

> It seems like the command to add trunk is almost identical to adding vlan:
>
> - vlan (ie. Access-port) : ovs-vsctl set port vnet0 tag=Vlan1
> - trunk : ovs-vsctl set port vnet0 trunks=VlanID1,VlanID2
>
> Would it be possible to adjust command to add trunk port with list of
> VLANs if multiple VLAN Ids listed in the Virtual Network’s VLAN field?
>
> --
> Thank you,
>
> Dmitri Chebotarov
> VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers &
> Messaging
> 223 Aquia Building, Ffx, MSN: 1B5
> Phone: (703) 993-6175 | Fax: (703) 993-3404
>
>
>
>
>
>
>
> On 1/28/14, 12:23 , "Dmitri Chebotarov"  wrote:
>
> >Hi guys
> >
> >Have you found solution for how to add trunk interface?
> >
> >I¹m facing the same task and looking for a possible solution. I found this
> >ports
> >
> http://blog.scottlowe.org/2013/05/28/vlan-trunking-to-guest-domains-with-o
> >p
> >en-vswitch/ and trying to implement it via RAW entry in VM template. No
> >results yetŠ
> >
> >--
> >Thank you,
> >
> >Dmitri Chebotarov
> >VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers &
> >Messaging
> >223 Aquia Building, Ffx, MSN: 1B5
> >Phone: (703) 993-6175 | Fax: (703) 993-3404
> >
> >
> >
> >
> >
> >
> >
> >On 5/21/13, 3:21 , "Gandalf Corvotempesta"
> > wrote:
> >
> >>2013/5/20 Jaime Melis :
> >>> However, you can only tag one VLAN per interfaces, which as far as I
> >>>know,
> >>> is the only thing that makes sense?
> >>
> >>Why? Trunk interfaces carries multiple vlan, is absolutely standard.
> >>I have not less than 58 VLANs on a single interface on my XenServer host.
> >>___
> >>Users mailing list
> >>Users@lists.opennebula.org
> >>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>
> >
> >___
> >Users mailing list
> >Users@lists.opennebula.org
> >http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Jaime Melis
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Vlan template

2014-01-28 Thread Dmitri Chebotarov
It seems like the command to add trunk is almost identical to adding vlan:

- vlan (ie. Access-port) : ovs-vsctl set port vnet0 tag=Vlan1
- trunk : ovs-vsctl set port vnet0 trunks=VlanID1,VlanID2

Would it be possible to adjust command to add trunk port with list of
VLANs if multiple VLAN Ids listed in the Virtual Network’s VLAN field?

--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers &
Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404







On 1/28/14, 12:23 , "Dmitri Chebotarov"  wrote:

>Hi guys
>
>Have you found solution for how to add trunk interface?
>
>I¹m facing the same task and looking for a possible solution. I found this
>ports 
>http://blog.scottlowe.org/2013/05/28/vlan-trunking-to-guest-domains-with-o
>p
>en-vswitch/ and trying to implement it via RAW entry in VM template. No
>results yetŠ
>
>--
>Thank you,
>
>Dmitri Chebotarov
>VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers &
>Messaging
>223 Aquia Building, Ffx, MSN: 1B5
>Phone: (703) 993-6175 | Fax: (703) 993-3404
>
>
>
>
>
>
>
>On 5/21/13, 3:21 , "Gandalf Corvotempesta"
> wrote:
>
>>2013/5/20 Jaime Melis :
>>> However, you can only tag one VLAN per interfaces, which as far as I
>>>know,
>>> is the only thing that makes sense?
>>
>>Why? Trunk interfaces carries multiple vlan, is absolutely standard.
>>I have not less than 58 VLANs on a single interface on my XenServer host.
>>___
>>Users mailing list
>>Users@lists.opennebula.org
>>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>___
>Users mailing list
>Users@lists.opennebula.org
>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Vlan template

2014-01-28 Thread Dmitri Chebotarov
Hi guys

Have you found solution for how to add trunk interface?

I¹m facing the same task and looking for a possible solution. I found this
ports 
http://blog.scottlowe.org/2013/05/28/vlan-trunking-to-guest-domains-with-op
en-vswitch/ and trying to implement it via RAW entry in VM template. No
results yetŠ

--
Thank you,

Dmitri Chebotarov
VCL Sys Eng, Engineering & Architectural Support, TSD - Ent Servers &
Messaging
223 Aquia Building, Ffx, MSN: 1B5
Phone: (703) 993-6175 | Fax: (703) 993-3404







On 5/21/13, 3:21 , "Gandalf Corvotempesta"
 wrote:

>2013/5/20 Jaime Melis :
>> However, you can only tag one VLAN per interfaces, which as far as I
>>know,
>> is the only thing that makes sense?
>
>Why? Trunk interfaces carries multiple vlan, is absolutely standard.
>I have not less than 58 VLANs on a single interface on my XenServer host.
>___
>Users mailing list
>Users@lists.opennebula.org
>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Vlan template

2013-05-21 Thread Gandalf Corvotempesta
2013/5/20 Jaime Melis :
> However, you can only tag one VLAN per interfaces, which as far as I know,
> is the only thing that makes sense?

Why? Trunk interfaces carries multiple vlan, is absolutely standard.
I have not less than 58 VLANs on a single interface on my XenServer host.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Vlan template

2013-05-20 Thread Jaime Melis
Hi,

I'm not sure I understand the problem, but I have the feeling your use case
is not supported.

You can implement VLANs either with the 802.1Q [1] or the Open vSwitch [2]
drivers.

However, you can only tag one VLAN per interfaces, which as far as I know,
is the only thing that makes sense?

[1] http://opennebula.org/documentation:rel4.0:hm-vlan
[2] http://opennebula.org/documentation:rel4.0:openvswitch

Cheers,
Jaime


On Wed, Apr 24, 2013 at 1:04 PM, Alexandre Bezroutchko wrote:

> On 04/23/2013 08:18 PM, Ionut Popovici wrote:
> > Hello i'm interested to know if there is any way to setup on and
> > template a
> > nic interface in TRUNK mode, the thing is that i wana a interface to
> > join in
> > more than 1 Vlan.
> > An example is that i wana to add an router on the network and pass the
> > traffic tru router but the router will handle more vlans, networks
> >
> > The ideea is to manage the traffic tru a router or more but i don't
> > wana the
> > opennebula host to get involed to any traffic.
> If you serious about your host not being involved into handling network
> traffic for VMs, you need to do PCI pass-through of your network cards
> to a separate network driver domain and do all bridging/routing there. I
> saw it in the list of features of xen-4.2 I think. Qubes OS uses such an
> arrangement, but they use earlier version of xen, probably backported
> some patches. You might be able to do the same with other hypervisors
> supporting PCI pass-through.
>
> If you put a bar little lower and accept the host working as a bridge,
> you should be able to have tagged traffic delivered from a physical
> interface to a VM using standard Linux bridge without any further
> trickery. Just use dummy network driver in Opennebula and terminate
> VLANs in your VM with vconfig.
>
> This will not let you choose what VLANs to bridge though. If you really
> need it perhaps you can use ebtables, use OpenVSwitch, or create a mess
> of intermediate bridges to "extract" individual VLANs and bridge them
> again together. None of this will be out-of-the-box though.
>
> Hope this helps.
>
> Cheers,
> Alex
> >
> > Ex in template is
> > NIC=[
> >   IP="x.x.x.x",
> >   NETWORK="wan" ]
> > NIC=[
> >   NETWORK="lan1",
> >   NETWORK="lan2",
> > VLAN="YES",
> > VLAN_ID="64",
> > VLAN_ID="65" ]
> > TEMPLATE_ID="1023"
> >
> > ideea is that on the second nic i i have an interface set on vlan
> > trunk mode
> > not access like vyatta
> >
> > ___
> > Users mailing list
> > Users@lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Join us at OpenNebulaConf2013  in Berlin, 24-26
September, 2013
--
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jme...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Vlan template

2013-04-24 Thread Alexandre Bezroutchko
On 04/23/2013 08:18 PM, Ionut Popovici wrote:
> Hello i'm interested to know if there is any way to setup on and
> template a
> nic interface in TRUNK mode, the thing is that i wana a interface to
> join in
> more than 1 Vlan.
> An example is that i wana to add an router on the network and pass the
> traffic tru router but the router will handle more vlans, networks
>
> The ideea is to manage the traffic tru a router or more but i don't
> wana the
> opennebula host to get involed to any traffic.
If you serious about your host not being involved into handling network
traffic for VMs, you need to do PCI pass-through of your network cards
to a separate network driver domain and do all bridging/routing there. I
saw it in the list of features of xen-4.2 I think. Qubes OS uses such an
arrangement, but they use earlier version of xen, probably backported
some patches. You might be able to do the same with other hypervisors
supporting PCI pass-through.

If you put a bar little lower and accept the host working as a bridge,
you should be able to have tagged traffic delivered from a physical
interface to a VM using standard Linux bridge without any further
trickery. Just use dummy network driver in Opennebula and terminate
VLANs in your VM with vconfig.

This will not let you choose what VLANs to bridge though. If you really
need it perhaps you can use ebtables, use OpenVSwitch, or create a mess
of intermediate bridges to "extract" individual VLANs and bridge them
again together. None of this will be out-of-the-box though.

Hope this helps.

Cheers,
Alex
>
> Ex in template is
> NIC=[
>   IP="x.x.x.x",
>   NETWORK="wan" ]
> NIC=[
>   NETWORK="lan1",
>   NETWORK="lan2",
> VLAN="YES",
> VLAN_ID="64",
> VLAN_ID="65" ]
> TEMPLATE_ID="1023"
>
> ideea is that on the second nic i i have an interface set on vlan
> trunk mode
> not access like vyatta
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Vlan template

2013-04-23 Thread Ionut Popovici

Hello i'm interested to know if there is any way to setup on and template a
nic interface in TRUNK mode, the thing is that i wana a interface to join in
more than 1 Vlan.
An example is that i wana to add an router on the network and pass the
traffic tru router but the router will handle more vlans, networks

The ideea is to manage the traffic tru a router or more but i don't wana the
opennebula host to get involed to any traffic.

Ex in template is
NIC=[
  IP="x.x.x.x",
  NETWORK="wan" ]
NIC=[
  NETWORK="lan1",
  NETWORK="lan2",
VLAN="YES",
VLAN_ID="64",
VLAN_ID="65" ]
TEMPLATE_ID="1023"

ideea is that on the second nic i i have an interface set on vlan trunk mode
not access like vyatta

___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org