|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-API] issue with passing mtu field in "network record" while creating network using Perl(RPC::XML) xen-api
> >
> > So I kept both mTU and MTU having the same value. Still didn't work
> >
> >
> > $VAR1 = {
> > 'ErrorDescription' => [
> > 'FIELD_TYPE_ERROR',
> > 'mTU'
> > ],
> > 'Status' => 'Failure'
> > };
> >
>
> You're getting an error here because the type of MTU is a string. I have no
> idea why, but yes, it's a string, not an int. Same goes for the device number.
Indeed. All integers in the XenAPI are assumed to be 64 bit, but the XML-RPC
standard only has a built-in type for 32-bit integers. For this reason,
integers are encoded as a string of decimal digits in the wire protocol.
Cheers,
Rob
_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |