[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Problemi using vif-route script



Hi,

many thanks for your replies.

On 25.01.2013 14:51, Roger Pau Monnà wrote:
>>> 2) from domU config:
>>> vif = [ 'mac=de:ad:a:1e:42:3,ip=10.3.2.3',
>>>         'mac=ba:cc:7f:0:4:1,bridge=backupbr0,script=vif-bridge']
>>>
>>> The IP is not parsed so the ${ip} variable in the xen scripts is empty.
>>
>> ip should be parsed and written to xenstore -- do you see it there (in
>> the backend dir)? I can see the code which reads it in the hotplug
>> script.
> 
> I've tried this config and ip is written to xenstore:
> 
> /local/domain/0/backend/vif/6/0/ip = "192.168.1.230"   (n0,r6)

At least xenstore-ls did not reveal the IP for the domu.
I will give it another try and see if I did something wrong.
Could you please tell me where the parsing code for the ip= parameter in
xl.cfg is located so I could insert a printf or something like that for
debugging?

Best regards,
Ulf

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.