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

RE: [Xen-API] Unlisted error message CREATE_UNSPECIFIED_ATTRIBUTE


  • To: "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
  • From: Leonelli Mauro <m.leonelli@xxxxxxxx>
  • Date: Wed, 7 Oct 2009 17:35:44 +0200
  • Accept-language: en-US
  • Acceptlanguage: en-US
  • Delivery-date: Wed, 07 Oct 2009 08:35:58 -0700
  • List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
  • Thread-index: AcpHY04/w+CeOk5gSgeEDbQjmw04WgAAA9Xg
  • Thread-topic: [Xen-API] Unlisted error message CREATE_UNSPECIFIED_ATTRIBUTE

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:christopherwinslett@xxxxxxxxx]
Sent: mercoledì 7 ottobre 2009 17.32
To: Leonelli Mauro
Cc: xen-api@xxxxxxxxxxxxxxxxxxx
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 <m.leonelli@xxxxxxxx> 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
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api




--
Christopher Winslett
christopherwinslett@xxxxxxxxx



--
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
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

 


Rackspace

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