Bug 979754 - REST-API: NIC.get_network().name for attached rhevm NIC (ethX) return None
Summary: REST-API: NIC.get_network().name for attached rhevm NIC (ethX) return None
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi
Version: 3.3.0
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Moti Asayag
QA Contact: Meni Yakove
URL:
Whiteboard: network
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-30 09:00 UTC by Meni Yakove
Modified: 2016-02-10 19:50 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-06-30 09:46:01 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Meni Yakove 2013-06-30 09:00:03 UTC
Description of problem:
My rhevm network is attached to eth0, when asking for attached network for eth0 I get None instead of rhevm network.

Actual results:
Get None network

Expected results:
Get rhevm network

Comment 2 Michael Pasternak 2013-06-30 09:17:37 UTC
(In reply to Meni Yakove from comment #0)
> Description of problem:
> My rhevm network is attached to eth0, when asking for attached network for
> eth0 I get None instead of rhevm network.
> 
> Actual results:
> Get None network
> 
> Expected results:
> Get rhevm network

not sure if this a bug, it's depends on the architecture of this NIC,
if it's a bond, it won't be there,

also worth providing more information for the efficient debugging of the
problem ....

Comment 3 Meni Yakove 2013-06-30 09:36:02 UTC
The network is not on BOND, it's on eth0.

The same for all the NICs in the system, I have network sw1 attached to eth1 on host and I get None for NIC.get_network().name on eth1.

sw1 is VM network without VLAN.

Comment 4 Michael Pasternak 2013-06-30 09:46:01 UTC
checked the code, hostnic->network relation is described by id and not a name.


Note You need to log in before you can comment on or make changes to this bug.