|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] "Network %s doesn't exist" in xenapi_create.py
Hello.
How do I arrange for a new network bridge in dom0 to appear in the
"networks" dictionary created by the following statement in line 417 of
recent versions of xen-unstable.hg/tools/python/xen/xm/xenapi_create.py?
networks = dict([(record['name_label'], ref)
for ref, record in
server.xenapi.network.get_all_records().items()])
I am creating a bridge named br0.101 and adding to it a VLAN interface
named peth0.101. This bridge is in addition to the default eth0 bridge
created by /xen/scripts/network-bridge. I use the following sequence in a
modified version of network-bridge:
# Create VLAN interface
vconfig add ${pdev} ${vlan}
vlanif=${pdev}.${vlan}
ip link set ${vlanif} up
# Create bridge
br="br${netnum}.${vlan}"
create_bridge ${br}
# Add VLAN interface to bridge
setup_bridge_port ${vlanif}
add_to_bridge2 ${br} ${vlanif}
do_ifup ${br}
The new bridge and interface show up as expected in the output of brctl,
ifconfig, and ip, as well as in the /sys/class/net directory. However,
when I try to connect a domU to the bridge by specifying "vif = [
'bridge=br0.101' ]", I get this:
Error: Network br0.101 doesn't exist
If I change that to "vif = [ 'bridge=eth0' ]" or "vif = [ '' ]" then the
domU comes up without error and connects to the eth0 bridge as normal.
The VLAN-related bridges were working for several months on xen-unstable
changeset 14887 from April 21, but the above problem surfaced when I
updated to 15521 from July 10. I haven't been able to find what I'm
missing to make my new bridge appear in that "networks" dictionary the way
that the default bridge does.
Any help would be greatly appreciated.
--Ramón
_____________________________
Ramón Cáceres
Research Staff Member
IBM T.J. Watson Research Center
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, (continued)
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Nick Craig-Wood
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Ian Campbell
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Keir Fraser
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Nick Craig-Wood
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Nick Craig-Wood
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Ian Campbell
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Nick Craig-Wood
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Ian Campbell
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Nick Craig-Wood
- Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Ian Campbell
- [Xen-devel] "Network %s doesn't exist" in xenapi_create.py,
Ramon Caceres <=
Re: [Xen-devel] Xen 3.1 - Can't run Fedora Core 1 PV, Keir Fraser
|
|
|
|
|