Bug 1317909 - Missing interface type information
Summary: Missing interface type information
Keywords:
Status: NEW
Alias: None
Product: Virtualization Tools
Classification: Community
Component: ruby-libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1276780
TreeView+ depends on / blocked
 
Reported: 2016-03-15 13:36 UTC by Marek Hulan
Modified: 2020-04-22 12:00 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Marek Hulan 2016-03-15 13:36:20 UTC
Description of problem:

When I use ruby-libvirt to get information about interface, there's no information about interface type. Therefore I can't determine what interface is a bridge and what not when I want to display select box of available bridges to use for bridged networking. Only workaround I'm able to see is using xml_desc and do the parsing myself.

Version-Release number of selected component (if applicable):
0.6.0

How reproducible:
always

Steps to Reproduce:
1. run irb
2. get the Libvirt::Interface object
3. try to determine it's type

Actual results:
no type method available

Expected results:
type method available returning the $TYPE from <interface type="$TYPE" ...> defintion


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