Hi Christian,
unfortunately I don't have any other information on the error because I'm using 
XenAPI xml-rpc from C#, I imagine.

Anyway here's the code snippet. Haven't found any other thread on that, I'm 
coding quick and dirty to find out how to make it work (think that green lines 
could be optional).

System.Collections.Hashtable hash = new System.Collections.Hashtable();
            hash.Add("name_label", "br69");
            hash.Add("name_description", "br69");
            hash.Add("default_netmask", "255.255.255.0");
            hash.Add("default_gateway", "10.40.3.1");
            hash.Add("other_config", null);
            XenAPI.Network.create(_session, new XenAPI.Network(hash));

ml

From: Christopher Winslett [mailto:[email protected]]
Sent: mercoledì 7 ottobre 2009 17.32
To: Leonelli Mauro
Cc: [email protected]
Subject: Re: [Xen-API] Unlisted error message CREATE_UNSPECIFIED_ATTRIBUTE

What parameters are you passing?

Typically, when you get an error from the server, it will have more information 
than you've given.  For instance, if you pass an unspecified attribute, it will 
tell you the attribute that is unspecified.

cw

On Wed, Oct 7, 2009 at 10:27 AM, Leonelli Mauro 
<[email protected]<mailto:[email protected]>> wrote:

Hi,

I'm trying to create a new XenAPI.Network  but keep on receiving the error 
CREATE_UNSPECIFIED_ATTRIBUTE

My final goal is to create different Virtual Interfaces each of them on a 
different bridge and it seems to me that the only way Is to create a different 
Network for each bridge I want to use, am I right?



Sincerely,

Mauro

________________________________
--
The information transmitted is intended for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please contact the 
sender and delete the material from any computer.

_______________________________________________
xen-api mailing list
[email protected]<mailto:[email protected]>
http://lists.xensource.com/mailman/listinfo/xen-api



--
Christopher Winslett
[email protected]<mailto:[email protected]>

________________________________
--
The information transmitted is intended for the person or entity to which it is 
addressed and may contain confidential and/or privileged material. Any review, 
retransmission, dissemination or other use of, or taking of any action in 
reliance upon, this information by persons or entities other than the intended 
recipient is prohibited. If you received this in error, please contact the 
sender and delete the material from any computer.
_______________________________________________
xen-api mailing list
[email protected]
http://lists.xensource.com/mailman/listinfo/xen-api

Reply via email to