From: Ulf Kreutzberg Subject: Re: [Xen-users] Problemi using vif-route script Date: Fri, 25 Jan 2013 15:04:14 +0100 Message-ID: <510290DE.7090400@hosteurope.de> References: <20121026072821.GA9853@intersect> <1351237241.8558.9.camel@dagon.hellion.org.uk> <20121026121544.GA14662@intersect> <1351255054.15162.66.camel@zakaz.uk.xensource.com> <20121026170920.GA4835@intersect> <1351276218.11876.0.camel@dagon.hellion.org.uk> <51015DB8.40107@hosteurope.de> <1359105618.32057.58.camel@zakaz.uk.xensource.com> <51028DDE.9070907@citrix.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2666019559071907523==" Return-path: In-Reply-To: <51028DDE.9070907@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: =?UTF-8?B?Um9nZXIgUGF1IE1vbm7DqQ==?= Cc: "xen-users@lists.xen.org" , Ian Campbell , xen-devel List-Id: xen-devel@lists.xenproject.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --===============2666019559071907523== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2EDFAKLUXVHPKUKRVOKTW" This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2EDFAKLUXVHPKUKRVOKTW Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, many thanks for your replies. On 25.01.2013 14:51, Roger Pau Monn=C3=A9 wrote: >>> 2) from domU config: >>> vif =3D [ 'mac=3Dde:ad:a:1e:42:3,ip=3D10.3.2.3', >>> 'mac=3Dba:cc:7f:0:4:1,bridge=3Dbackupbr0,script=3Dvif-bridge'= ] >>> >>> The IP is not parsed so the ${ip} variable in the xen scripts is empt= y. >> >> 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. >=20 > I've tried this config and ip is written to xenstore: >=20 > /local/domain/0/backend/vif/6/0/ip =3D "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=3D parameter i= n xl.cfg is located so I could insert a printf or something like that for debugging? Best regards, Ulf ------enig2EDFAKLUXVHPKUKRVOKTW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlECkOEACgkQhHSVerqjg05WXwCfc5tWNtAMFqmaw8DSI6HObQU5 Sl0An2f3mEpI6n68dr1s/rlx4qHlqY/3 =sv21 -----END PGP SIGNATURE----- ------enig2EDFAKLUXVHPKUKRVOKTW-- --===============2666019559071907523== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============2666019559071907523==--