Re: [ovirt-users] VLAN with one NIC

2015-09-05 Thread Genadi Chereshnya
Hi,
Indeed at this stage it is not supported to have VM and VLAN networks on the 
same physical interface.
I know it is supposed to be changed in the future (if I understand correctly it 
is already supported on the VDSM side).

For now you can have 2 VLAN networks on the same interface ( so if it works for 
your specific scenario you can tag the management network)
Or you can configure the Management network to be non-VM as was proposed 
earlier and then you can add VLAN networks to the same interface (for such 
scenario you can't have management network to be configured on your VMs)
Of course if you can have or add additional NICs to you host device, and then 
you can configure Management network on one of the interfaces and VLAN on 
another.

Regards,
   Genadi

- Original Message -
From: "Chris Liebman" 
To: "gregor" 
Cc: "users" 
Sent: Friday, September 4, 2015 7:58:43 PM
Subject: Re: [ovirt-users] VLAN with one NIC



If your sharing a physical interface with both tagged and untagged traffic they 
don't allow VM's on the untagged link. I believe this is because some earlier 
versions of the bridging code in the kernel would allow pass the tagged traffic 
to VM's located on the untagged interface. That being a security issue. 


On Fri, Sep 4, 2015 at 9:47 AM, gregor < gregor_fo...@catrix.at > wrote: 


Thanks, now I can use the eth0 to connect to the web-interface and the 
logical vlan network to use in a VM but I can't use the untagged VLAN1 
in the VM. When I add a new logical network without VLAN tagging the 
web-interface returns "Cannot have more than one non-VLAN network on one 
interface." 

When I create a logical network with taggged ID 1 I can't connect from a 
VM to my VLAN1. 

So I have to find a way to created the following networks: 
- ovirtmgmt: without tagged vlan for managing -> works 
- vlan1: without tagged vlan for the VM's to connect to my default 
network -> currently no solution 
- vlan10: tagged vlan with id 10 -> works 

cheers 
gregor 

On 2015-09-04 18:05, Chris Liebman wrote: 
> You have to edit the ovirtgmt network and un-check the "VM Network" box: 
> 
> Inline image 1 
> 
> On Fri, Sep 4, 2015 at 8:47 AM, gregor < gregor_fo...@catrix.at 
> > wrote: 
> 
> Hi, 
> 
> is it possible to use different VLAN with one NIC in ovirt? 
> 
> I can not add a logical network configured as VLAN to my ovirtmgmt 
> interface, I get "Cannot have a non-VLAN VM network and VLAN-tagged 
> networks on one interface." 
> 
> The setup for the Port is a trunk of different tagged VLAN's and the 
> default VLAN1 is untagged. Normally this work under centos where I give 
> the nic eth0 an IP and create a nic eth0.10 for the VLAN with ID 10 and 
> set an IP for it. 
> 
> cheers 
> gregor 
> 
> ___ 
> Users mailing list 
> Users@ovirt.org  
> http://lists.ovirt.org/mailman/listinfo/users 
> 
> 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt iSCSI

2015-07-01 Thread Genadi Chereshnya
You are welcome
Genadi

- Original Message -
From: "Arthur Cezar Lima de Melo" 
To: "Genadi Chereshnya" 
Cc: "Yaniv Dary" , users@ovirt.org
Sent: Wednesday, July 1, 2015 3:06:07 PM
Subject: Re: [ovirt-users] oVirt iSCSI




Oh, 

Thank you!! 

It's working! 



2015-07-01 6:16 GMT-03:00 Genadi Chereshnya < gcher...@redhat.com > : 


Hi, 

Indeed for ISCSI Bond the network should be non-required. 

You should change your network to be non-required, then it will work for you 
Go to Cluster -> choose specific Cluster you are working on -> Go to Logical 
Network subtab -> Go to Managed network and uncheck the required flag. 

Genadi 


- Original Message - 
From: "Yaniv Dary" < yd...@redhat.com > 
To: "Arthur Cezar Lima de Melo" < arthur.m...@gigacom.com.br >, users@ovirt.org 
Sent: Wednesday, July 1, 2015 12:11:43 PM 
Subject: Re: [ovirt-users] oVirt iSCSI 


What is the use flow? adding storage domain? 


On 06/30/2015 08:18 PM, Arthur Cezar Lima de Melo wrote: 




Hey guys, 

Can anyone help me about this problem? 

" 



Error while executing action: Cannot add iSCSI Bond. Required network cannot be 
a part of an iSCSI bond. " 


Thanx! 




-- 











Arthur Cezar Lima de Melo 

Tel: (21) 9 8142 -9079 | (21) 3553-8214 

Ramal: 7008 
arthur.m...@gigacom.com.br 
www.gigacom.com.br 

___ 
Users mailing list Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 
-- 
Yaniv Dary 
Technical Product Manager 
Red Hat Israel Ltd. 
34 Jerusalem Road 
Building A, 4th floor 
Ra'anana, Israel 4350109 

Tel : +972 (9) 7692306 
8272306 
Email: yd...@redhat.com IRC : ydary 
___ 
Users mailing list 
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 



-- 









Arthur Cezar Lima de Melo 

Tel: (21) 9 8142 -9079 | (21) 3553-8214 

Ramal: 7008 
arthur.m...@gigacom.com.br 
www.gigacom.com.br 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt iSCSI

2015-07-01 Thread Genadi Chereshnya
Hi, 

Indeed for ISCSI Bond the network should be non-required.

You should change your network to be non-required, then it will work for you
Go to Cluster -> choose specific Cluster you are working on -> Go to Logical 
Network subtab -> Go to Managed network and uncheck the required flag.

Genadi


- Original Message -
From: "Yaniv Dary" 
To: "Arthur Cezar Lima de Melo" , users@ovirt.org
Sent: Wednesday, July 1, 2015 12:11:43 PM
Subject: Re: [ovirt-users] oVirt iSCSI


What is the use flow? adding storage domain? 


On 06/30/2015 08:18 PM, Arthur Cezar Lima de Melo wrote: 




Hey guys, 

Can anyone help me about this problem? 

" 



Error while executing action: Cannot add iSCSI Bond. Required network cannot be 
a part of an iSCSI bond. " 


Thanx! 




-- 









Arthur Cezar Lima de Melo 

Tel: (21) 9 8142 -9079 | (21) 3553-8214 

Ramal: 7008 
arthur.m...@gigacom.com.br 
www.gigacom.com.br 

___
Users mailing list Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 
-- 
Yaniv Dary
Technical Product Manager
Red Hat Israel Ltd.
34 Jerusalem Road
Building A, 4th floor
Ra'anana, Israel 4350109

Tel : +972 (9) 7692306
  8272306
Email: yd...@redhat.com IRC : ydary 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Bandwidth Consumption

2015-06-22 Thread Genadi Chereshnya

RFE link: https://bugzilla.redhat.com/show_bug.cgi?id=1234302
You are welcome to update it if needed

Genadi

- Original Message -
From: "Punit Dambiwal" 
To: "Genadi Chereshnya" 
Cc: users@ovirt.org, "Dan Kenigsberg" , "Omer Frenkel" 
, "Itamar Heim" 
Sent: Monday, June 22, 2015 12:32:58 PM
Subject: Re: [ovirt-users] VM Bandwidth Consumption


OK...Please help me to open the REF and give the REF number for followup.. 


On Mon, Jun 22, 2015 at 5:15 PM, Genadi Chereshnya < gcher...@redhat.com > 
wrote: 


Hi Punit, 

I understand what you want and I think we don't have such a feature. 
That's why I asked you to open RFE for it. 
If it is problem for you, please let me know and I'll open RFE and will send 
you the number of RFE to follow 
Thanks, 
Genadi 

- Original Message - 
From: "Punit Dambiwal" < hypu...@gmail.com > 
To: "Genadi Chereshnya" < gcher...@redhat.com > 
Cc: users@ovirt.org , "Dan Kenigsberg" < dan...@redhat.com >, "Omer Frenkel" < 
ofren...@redhat.com >, "Itamar Heim" < ih...@redhat.com > 
Sent: Monday, June 22, 2015 11:57:41 AM 
Subject: Re: [ovirt-users] VM Bandwidth Consumption 


Hi Genadi, 


Thanks for the updates..for my second question the use case is if i want 
that some specific guest VM just allowed to use only 100GB bandwidth per 
month,when they cross the allowed size..engine will alert them or send 
notification 


On Mon, Jun 22, 2015 at 3:23 PM, Genadi Chereshnya < gcher...@redhat.com > 
wrote: 


Hi Punit. 

About your first question: There is a new feature in 3.6 called cumulative 
rx/tx statistics 
I think this is what you need. Please take a look at the feature page: 
http://www.ovirt.org/Features/Cumulative_RX_TX_Statistics 

About you second question: I am not aware of such a feature, so please open RFE 
for it 

Thanks, 
Genadi 



- Original Message - 
From: "Punit Dambiwal" < hypu...@gmail.com > 


To: users@ovirt.org , "Dan Kenigsberg" < dan...@redhat.com >, "Omer Frenkel" < 
ofren...@redhat.com >, "Itamar Heim" < ih...@redhat.com > 
Sent: Monday, June 22, 2015 10:16:50 AM 
Subject: [ovirt-users] VM Bandwidth Consumption 



Hi, 


I want to measure the bandwidth consumption of every guest VM on the monthly 
basis...but i didn't find any way in the ovirt to check the bandwidth 
consumption of the guest VM.. 


Also is there any way to set the quota on the bandwidth consumption of the 
guest VM...such as every VM can use upto 100Gb bandwidth in one month...once 
the VM cross this limit,either admin got notify or there should be an alert... 


Thanks, 
Punit 
___ 
Users mailing list 
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Bandwidth Consumption

2015-06-22 Thread Genadi Chereshnya
Hi Punit,

I understand what you want and I think we don't have such a feature.
That's why I asked you to open RFE for it.
If it is problem for you, please let me know and I'll open RFE and will send 
you the number of RFE to follow
Thanks,
   Genadi

- Original Message -
From: "Punit Dambiwal" 
To: "Genadi Chereshnya" 
Cc: users@ovirt.org, "Dan Kenigsberg" , "Omer Frenkel" 
, "Itamar Heim" 
Sent: Monday, June 22, 2015 11:57:41 AM
Subject: Re: [ovirt-users] VM Bandwidth Consumption


Hi Genadi, 


Thanks for the updates..for my second question the use case is if i want 
that some specific guest VM just allowed to use only 100GB bandwidth per 
month,when they cross the allowed size..engine will alert them or send 
notification 


On Mon, Jun 22, 2015 at 3:23 PM, Genadi Chereshnya < gcher...@redhat.com > 
wrote: 


Hi Punit. 

About your first question: There is a new feature in 3.6 called cumulative 
rx/tx statistics 
I think this is what you need. Please take a look at the feature page: 
http://www.ovirt.org/Features/Cumulative_RX_TX_Statistics 

About you second question: I am not aware of such a feature, so please open RFE 
for it 

Thanks, 
Genadi 



- Original Message - 
From: "Punit Dambiwal" < hypu...@gmail.com > 
To: users@ovirt.org , "Dan Kenigsberg" < dan...@redhat.com >, "Omer Frenkel" < 
ofren...@redhat.com >, "Itamar Heim" < ih...@redhat.com > 
Sent: Monday, June 22, 2015 10:16:50 AM 
Subject: [ovirt-users] VM Bandwidth Consumption 



Hi, 


I want to measure the bandwidth consumption of every guest VM on the monthly 
basis...but i didn't find any way in the ovirt to check the bandwidth 
consumption of the guest VM.. 


Also is there any way to set the quota on the bandwidth consumption of the 
guest VM...such as every VM can use upto 100Gb bandwidth in one month...once 
the VM cross this limit,either admin got notify or there should be an alert... 


Thanks, 
Punit 
___ 
Users mailing list 
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Bandwidth Consumption

2015-06-22 Thread Genadi Chereshnya
Hi Punit.

About your first question: There is a new feature in 3.6 called cumulative 
rx/tx statistics
I think this is what you need. Please take a look at the feature page: 
http://www.ovirt.org/Features/Cumulative_RX_TX_Statistics

About you second question: I am not aware of such a feature, so please open RFE 
for it

Thanks,
   Genadi

- Original Message -
From: "Punit Dambiwal" 
To: users@ovirt.org, "Dan Kenigsberg" , "Omer Frenkel" 
, "Itamar Heim" 
Sent: Monday, June 22, 2015 10:16:50 AM
Subject: [ovirt-users] VM Bandwidth Consumption



Hi, 


I want to measure the bandwidth consumption of every guest VM on the monthly 
basis...but i didn't find any way in the ovirt to check the bandwidth 
consumption of the guest VM.. 


Also is there any way to set the quota on the bandwidth consumption of the 
guest VM...such as every VM can use upto 100Gb bandwidth in one month...once 
the VM cross this limit,either admin got notify or there should be an alert... 


Thanks, 
Punit 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] connecting my oVirt engine to a 100mb switch

2015-05-30 Thread Genadi Chereshnya
I am glad you figured out what the problem is
Genadi

- Original Message -
From: "Andrew Precht" 
To: "Genadi Chereshnya" , Users@ovirt.org
Sent: Thursday, May 28, 2015 8:01:19 PM
Subject: Re: [ovirt-users] connecting my oVirt engine to a 100mb switch


It is a hardware issue. Our pass-through's in the c7000 enclosures are not 
capable of 10/100 



On Thu, May 28, 2015 at 7:22 AM, Andrew Precht < andrewprech...@gmail.com > 
wrote: 



The switch is a Cisco 3750 v2, I also tried a cheep Netgear. I'll put in a 
request to set the Cisco to 100 full and see if that helps. 
Thanks 




On Thu, May 28, 2015 at 6:24 AM, Genadi Chereshnya < gcher...@redhat.com > 
wrote: 


Hi Andrew 
I am not aware of any issue to connect engine to specific switch (try to 
connect other host to the switch to check this assumption) 
Looks like it's auto-negotiation issue. 
Try to disable it (on the switch side too) 

Regards, 
Genadi 



- Original Message - 
From: "Andrew Precht" < andrewprech...@gmail.com > 
To: users@ovirt.org 
Sent: Thursday, May 28, 2015 12:37:57 AM 
Subject: [ovirt-users] connecting my oVirt engine to a 100mb switch 




Hi all, 
I’m having problems connecting my oVirt engine to a 100mb switch. I’m not 
having any problems connecting to 1gb. But, I need to also have a connection to 
a 100mb network. 
I’ve tried configuring ethtool_opts on the interface. However, this only 
results in the NIC not coming up and showing: Speed: Unknown! and Duplex: 
Unknown! (255), when I run ethtool ethX 


Is it possible to connect the engine to a 100mb switch? 
Thanks 


PS. I also posted this question over on the oVirt G+ page. I apologize if 
that's incorrect but I have G+ open all day... 
___ 
Users mailing list 
Users@ovirt.org 
http://lists.ovirt.org/mailman/listinfo/users 


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] connecting my oVirt engine to a 100mb switch

2015-05-28 Thread Genadi Chereshnya
Hi Andrew
I am not aware of any issue to connect engine to specific switch (try to 
connect other host to the switch to check this assumption)
Looks like it's auto-negotiation issue.
Try to disable it (on the switch side too)

Regards,
   Genadi

- Original Message -
From: "Andrew Precht" 
To: users@ovirt.org
Sent: Thursday, May 28, 2015 12:37:57 AM
Subject: [ovirt-users] connecting my oVirt engine to a 100mb switch




Hi all, 
I’m having problems connecting my oVirt engine to a 100mb switch. I’m not 
having any problems connecting to 1gb. But, I need to also have a connection to 
a 100mb network. 
I’ve tried configuring ethtool_opts on the interface. However, this only 
results in the NIC not coming up and showing: Speed: Unknown! and Duplex: 
Unknown! (255), when I run ethtool ethX 


Is it possible to connect the engine to a 100mb switch? 
Thanks 


PS. I also posted this question over on the oVirt G+ page. I apologize if 
that's incorrect but I have G+ open all day... 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] using Network_Custom_Properties for firewalld zone?

2015-05-10 Thread Genadi Chereshnya
Hi Jorick,

I am not sure that Network_Custom_Properties is what you are looking for.
With network custom properties you can only configure bridge or ethtool opts.
So bridge opts doesn't suit you as it is only for specific configuration of the 
bridge on the specific NIC
and with ethtool you don't configure firewall as well, unless there is a 
command that I am not familiar with.


Regards,
  Genadi


- Original Message -
From: "Jorick Astrego" 
To: users@ovirt.org
Sent: Friday, May 8, 2015 1:24:46 PM
Subject: [ovirt-users] using Network_Custom_Properties for firewalld zone?


Hi, 

Trying to add the ZONE field to the NIC's in oVirt as I'm trying to use 
Firewalld instead of iptables. 

Manually it works fine but when I try to set a custom property, it doesn't 
apply. 



http://www.ovirt.org/Features/Network_Custom_Properties 

I can't figure out if this should work or I should use a different method. 







Met vriendelijke groet, With kind regards, 

Jorick Astrego 

Netbulae Virtualization Experts 

Tel: 053 20 30 270  i...@netbulae.euStaalsteden 4-3AKvK 
08198180 
Fax: 053 20 30 271  www.netbulae.eu 7547 TA Enschede
BTW NL821234584B01 



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Port mirroring outside traffic into a VM?

2015-02-15 Thread Genadi Chereshnya
Hi Chris,

If I understand you correctly you are trying to replace the physical device 
mirroring with VM?
If this is the case I don't think it's possible to do it with port mirroring 
oVIRT feature.
The existing oVIRT port mirroing feature is for mirroring traffic between VM 
devices for specific Network.
So if you have 3 VMs with network  you can monitor on 1 VM that specific 
network that is used between 2 other VMs.

Thanks,
Genadi


- Original Message -
From: "Chris Adams" 
To: users@ovirt.org
Sent: Friday, February 13, 2015 10:14:20 PM
Subject: [ovirt-users] Port mirroring outside traffic into a VM?

I have a network traffic monitor that is on a physical machine right
now.  It has two network interfaces: one with an IP on a regular switch
port, and one without an IP on a switch port that is the target of a
port mirror/monitor session for the desired VLAN.

I'd like to move this system to an oVirt VM (I'm running 3.5.1).  Is
this the right way to go about it (and still have the VM migratable)?

- I have several hosts with extra network interfaces; pick at least a
  couple, connect them to switch ports that are configured for
  mirror/monitor session.

- In oVirt admin console, choose the Networks tab, click New.  Give the
  network a name (like "monitor"), leave VLAN tagging de-selected and VM
  Network selected.  Under the Cluster section, de-select Required
  (because the mirror won't go to all hosts).  Click OK to create.

- Click on the network, select the vNIC Profiles tab, edit the default
  profile and select Port Mirroring.

- Go to the Hosts tab.  For each host with a port mirror, click on the
  host, then choose the Network Interfaces tab and Setup Host Networks.
  Drag the new network to its attached port, click the pencil, and set
  Boot Protocol to None.

- Go to the Virtual Machines tab.  Click on the VM, choose the Network
  Interfaces tab, and click New.  Choose the monitor network in the
  Profile.

-- 
Chris Adams 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] New environment ovirt

2015-01-15 Thread Genadi Chereshnya
Engine will need only one network card
Hosts will need 3 if you use untagged traffic for your requirements
Genadi

- Original Message -
From: "Simone Tiraboschi" 
To: "nicola gentile" 
Cc: Users@ovirt.org
Sent: Thursday, January 15, 2015 11:11:06 AM
Subject: Re: [ovirt-users] New environment ovirt



- Original Message -
> From: "nicola gentile" 
> To: Users@ovirt.org
> Sent: Wednesday, January 14, 2015 3:09:30 PM
> Subject: [ovirt-users] New environment ovirt
> 
> Hello,
> I have a question.
> I would like to set up a new environment with two nodes.
> I would like separate che storage traffic, vm traffic and network
> management traffic.
> Storage is in a separate subnet.
> Also the virtual machine is in a separate subnet, and I would like to
> separate the management of the network too.
> I think I need to add 3 network adapters on the nodes, one for each purpose.
> Now I ask you, does the oVirt engine server (manager) need three
> network cards too?

At least you need only the Management Network (ovirtmgmt), you could also 
evaluate the opportunity to use the self hosted engine where oVirt engine runs 
on a VM hosted in HA way by the hosts it is managing [1.

http://www.ovirt.org/Features/Self_Hosted_Engine

> Thank you
> 
> Nicola
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [ovirt-devel] Feature Page: Mac Pool per DC

2014-04-28 Thread Genadi Chereshnya
1) In our opinion the pool definition should be optional.
We should preserve the existing behavior. It will be useful especially for the 
upgrade scenarios.
 
2) As well for the "Number of MACs" we proposed earlier you should take into 
account the multicast addresses (if they are in the range) and to reduce them 
from the count of "Number of MACs"

Genadi

- Original Message -
From: "Martin Mucha" 
To: "Genadi Chereshnya" 
Cc: "Moti Asayag" , de...@ovirt.org, users@ovirt.org, 
"Martin Pavlik" 
Sent: Monday, April 28, 2014 9:59:06 AM
Subject: Re: [ovirt-users] [ovirt-devel] Feature Page: Mac Pool per DC

Hi,

thanks for your input, I'll try to satisfy your request to be able to set range 
'width' either by 'end boundary' or 'mac count' in gui design.

Prior to that there are more fundamental decisions to be made -- like whether 
the pool definition is mandatory or optional, and how this influence the app 
for upgrading users. I'm pushing the idea of optional definition with one 
global pool as a fallback. And like I said in previous emails, from this point 
of view is gui design marginal, since we do not know what exact things should 
be displayed there(gui will be little bit different for optional pool 
definition). This is to be decided this week, after that we can discuss final 
design of gui.

m.

- Original Message -
From: "Genadi Chereshnya" 
To: "Moti Asayag" 
Cc: de...@ovirt.org, users@ovirt.org, "Martin Mucha" , 
"Martin Pavlik" 
Sent: Monday, April 28, 2014 8:47:11 AM
Subject: Re: [ovirt-users] [ovirt-devel] Feature Page: Mac Pool per DC

Hi, 
We would like to propose a little bit better solution from user experience side.

We should have 3 fields for each range:
1) Start range
2) End range
3) Number of MACs
When you have to fill in "End range" or "Number of MACs" (when start range is 
mandatory).
And the 3rd field will be filled in automatically according to others.
For example:
1) If "Start range" is 00:00:00:00:00:01 and "Number of MACs" is 5 then "End 
range" should be filled in with 00:00:00:00:00:05.
2) If "Start range" is 00:00:00:00:00:01 and "End range" is 00:00:00:00:00:05, 
then "Number of MACs" should be filled in with 5. 

For update: "End range" and "Number of MACs" should be updated automatically as 
well, so if you update "End range" the "Number of MACs" should be updated and 
vice versa.

For adding several MAC pool ranges for DC we can use the "+" or "-" sign as we 
do for adding VNIC profile or Labels field.

Regards,
   Genadi








- Original Message -
From: "Moti Asayag" 
To: "Martin Mucha" 
Cc: de...@ovirt.org, users@ovirt.org
Sent: Monday, April 28, 2014 9:21:50 AM
Subject: Re: [ovirt-users] [ovirt-devel] Feature Page: Mac Pool per DC



- Original Message -
> From: "Martin Mucha" 
> To: "Yevgeny Zaspitsky" 
> Cc: users@ovirt.org, de...@ovirt.org
> Sent: Monday, April 28, 2014 9:14:38 AM
> Subject: Re: [ovirt-devel] Feature Page: Mac Pool per DC
> 
> Hi,
> you're right, I do know about these problems. THIS IS DEFINITELY NOT A FINAL
> CODE.
> 
> Why I did it this way: I come from agile environment.
> This supposed to be FIRST increment. Not last. I hate waterfall style of work
> -- almighty solution in one swing. I'd like to make sure, that main part,
> that core principle is valid and approved. Making gui look nice is marginal.
> So it is data structure for first increment. We can definitely think of
> thousands of improvements, BUT this RFC already include more than 10 patch
> sets and NO core reviews. How can I know, that others will approve this and
> I'm not completely wrong?
> 
> about UX: it's wrong, but just fine for first increment. It can be used
> somehow and that just sufficient. Note: even with table to enter each
> from-to range there can be validation problem needed to be handled. Gui can
> changed to better one, when we know, that this feature works. But meantime
> others can test this feature functionality via this ugly, but very fast to
> write, gui!
> 
> about DB: I'm aware of DB normalization, and about all implications my
> "design" has. Yes, storing it in one varchar column is DB (very heavily
> used) antipattern, just fine for first increment and very easy to fix.
> 

There is another motivation for using a normalized data, specifically for
mac addresses - using the MAC addresses type [1] will enforce validity of
the input and will allow functionality such as comparison (is required).

[1] http://www.postgresql.org/docs/8.4/static/datatype-net-types.html

> If it's up t

Re: [ovirt-users] [ovirt-devel] Feature Page: Mac Pool per DC

2014-04-27 Thread Genadi Chereshnya
Hi, 
We would like to propose a little bit better solution from user experience side.

We should have 3 fields for each range:
1) Start range
2) End range
3) Number of MACs
When you have to fill in "End range" or "Number of MACs" (when start range is 
mandatory).
And the 3rd field will be filled in automatically according to others.
For example:
1) If "Start range" is 00:00:00:00:00:01 and "Number of MACs" is 5 then "End 
range" should be filled in with 00:00:00:00:00:05.
2) If "Start range" is 00:00:00:00:00:01 and "End range" is 00:00:00:00:00:05, 
then "Number of MACs" should be filled in with 5. 

For update: "End range" and "Number of MACs" should be updated automatically as 
well, so if you update "End range" the "Number of MACs" should be updated and 
vice versa.

For adding several MAC pool ranges for DC we can use the "+" or "-" sign as we 
do for adding VNIC profile or Labels field.

Regards,
   Genadi








- Original Message -
From: "Moti Asayag" 
To: "Martin Mucha" 
Cc: de...@ovirt.org, users@ovirt.org
Sent: Monday, April 28, 2014 9:21:50 AM
Subject: Re: [ovirt-users] [ovirt-devel] Feature Page: Mac Pool per DC



- Original Message -
> From: "Martin Mucha" 
> To: "Yevgeny Zaspitsky" 
> Cc: users@ovirt.org, de...@ovirt.org
> Sent: Monday, April 28, 2014 9:14:38 AM
> Subject: Re: [ovirt-devel] Feature Page: Mac Pool per DC
> 
> Hi,
> you're right, I do know about these problems. THIS IS DEFINITELY NOT A FINAL
> CODE.
> 
> Why I did it this way: I come from agile environment.
> This supposed to be FIRST increment. Not last. I hate waterfall style of work
> -- almighty solution in one swing. I'd like to make sure, that main part,
> that core principle is valid and approved. Making gui look nice is marginal.
> So it is data structure for first increment. We can definitely think of
> thousands of improvements, BUT this RFC already include more than 10 patch
> sets and NO core reviews. How can I know, that others will approve this and
> I'm not completely wrong?
> 
> about UX: it's wrong, but just fine for first increment. It can be used
> somehow and that just sufficient. Note: even with table to enter each
> from-to range there can be validation problem needed to be handled. Gui can
> changed to better one, when we know, that this feature works. But meantime
> others can test this feature functionality via this ugly, but very fast to
> write, gui!
> 
> about DB: I'm aware of DB normalization, and about all implications my
> "design" has. Yes, storing it in one varchar column is DB (very heavily
> used) antipattern, just fine for first increment and very easy to fix.
> 

There is another motivation for using a normalized data, specifically for
mac addresses - using the MAC addresses type [1] will enforce validity of
the input and will allow functionality such as comparison (is required).

[1] http://www.postgresql.org/docs/8.4/static/datatype-net-types.html

> If it's up to me, I'd like to wait for approval of 'core' part of this change
> (lets call it spike), and finish remaining 'marginalities' after it. (just
> to make myself clear proper db design ISN'T marginal measuring it using
> absolute scale, but it IS very marginal related to situation where most of
> code wasn't approved/reviewed yet).
> 
> m.
> 
> - Original Message -
> From: "Yevgeny Zaspitsky" 
> To: "Martin Mucha" 
> Cc: de...@ovirt.org, users@ovirt.org
> Sent: Sunday, April 27, 2014 2:22:04 PM
> Subject: Re: [ovirt-devel] Feature Page: Mac Pool per DC
> 
> Now for users@ovirt.org indeed.
> 
> - Original Message -
> From: "Yevgeny Zaspitsky" 
> To: "Martin Mucha" 
> Cc: us...@ovrit.org, de...@ovirt.org
> Sent: Sunday, April 27, 2014 2:29:46 PM
> Subject: Re: [ovirt-devel] Feature Page: Mac Pool per DC
> 
> Martin,
> 
> I'd like to propose a different approach on how the ranges to be defined and
> stored.
> 
> Discussing this feature with Moti raised the alternative UX design:
> Defining ranges could be added as a left-tab on create DC dialog and a
> sub-tab on an existing DC. It would be a table of start and end address
> fields and we can add a calculated # of MACs in the range and/or summary for
> the DC.
> Also that will make string parsing unneeded, prevent possible user mistakes
> in the string format and make possible validating every field of the range
> on the UI side easier.
> As you can see on the screenshot you've attached even a single range doesn't
> fit to the text box. In case of multiple ranges managing them in a single
> line textbox would be very uncomfortable.
> 
> A range is an object with at least 2 members (start and end). And we have few
> of these for each data center.
> Storing a collection of the objects in a single field in a relational DB
> seems a bit awkward to me.
> That has few disadvantages:
> 1. is not normalized
> 2. make data validation nearly impossible
> 3. make querying the data very difficult
> 4. is restraining our ability to extend the object (e.g. a user mi

Re: [Users] Python SDK - VNIC profiles collection is missing under root - issue solved

2014-02-18 Thread Genadi Chereshnya

I found out that my PYTHONPATH was directing to outdated sources (cloned from 
an early version),
therefore the rpms were hidden.

Once, I unset the PYTHONPATH, the issue was solved and the correct SDK package 
was used.

Thanks,
Genadi


- Original Message -
From: "Genadi Chereshnya" 
To: "users" 
Sent: Tuesday, February 18, 2014 12:09:07 PM
Subject: [Users] Python SDK - VNIC profiles collection is missing under root

Hi,

We installed the new ovirt-engine-sdk-python from Fedora repo - version 
3.3.0.7-1.fc20
The VNIC profile collection was missing under API root.
Installing it from nightly (version  
ovirt-engine-sdk-python-3.5.0.0-1.20140211.git61ac75b.fc20.noarch) had the same 
result.

According to changelog (http://wiki.ovirt.org/Python-sdk-changelog) it was 
supposed to work from 3.3.0.4-1
Last time it was working was on 3.3.3-0.1 version.

Thanks,
Genadi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Python SDK - VNIC profiles collection is missing under root

2014-02-18 Thread Genadi Chereshnya
Hi,

We installed the new ovirt-engine-sdk-python from Fedora repo - version 
3.3.0.7-1.fc20
The VNIC profile collection was missing under API root.
Installing it from nightly (version  
ovirt-engine-sdk-python-3.5.0.0-1.20140211.git61ac75b.fc20.noarch) had the same 
result.

According to changelog (http://wiki.ovirt.org/Python-sdk-changelog) it was 
supposed to work from 3.3.0.4-1
Last time it was working was on 3.3.3-0.1 version.

Thanks,
Genadi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] What should be the default for adding network from specific Cluster

2013-10-05 Thread Genadi Chereshnya
Hi all,

We would like to consult community about adding the Network from Cluster tab.
In 3.3 we can add Network from the DataCenter tab and then that network will be 
attached to all Clusters of that DataCenter.
When adding network from specific Cluster the default behavior today is to 
attach that network to all the Clusters under the same DataCenter as well.
We think that the right behavior should be add that network by default only to 
the Cluster from which we add that Network from.
Any feedback will be appreciated.
Thanks,
   Genadi
   Rhevm-Network QE
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users