Send Netdot-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://osl.uoregon.edu/mailman/listinfo/netdot-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Netdot-users digest..."
Today's Topics:
1. Re: error updating host ethernet address using REST interface
(Carlos Vicente)
----------------------------------------------------------------------
Message: 1
Date: Fri, 25 Apr 2014 15:02:07 -0400
From: Carlos Vicente <[email protected]>
Subject: Re: [Netdot-users] error updating host ethernet address using
REST interface
To: Patrick Landry <[email protected]>
Cc: netdot-users <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii
Hi Patrick,
You are correct.
Changes have been committed to the repository for the next release.
Thank you!
cv
On Apr 25, 2014, at 12:00 PM, Patrick M. Landry <[email protected]> wrote:
> When attempting to update the ethernet address of a host using the rest
> interface by specifying an IpBlockId in the REST PUT request, the following
> error is generated:
>
> Apr 25 08:52:03 cannon netdot: FATAL - Cannot find ethernet in
> Netdot::Model::DhcpScope metadata
> Apr 25 08:52:03 cannon netdot: ERROR - Bad request: $e
>
> This error seems to stem from the fact that the rest handler for hosts
> (htdocs/rest/host) passes an argument named "ethernet" rather than "physaddr"
> when making updates.
>
> $args{ethernet} = $ethernet if ( $ethernet && !$args{duid} );
>
> rather than
>
> $args{physaddr} = $ethernet if ( $ethernet && !$args{duid} );
>
> --
> patrick
>
> Patrick Landry
> University of Louisiana at Lafayette
> Director, University Computer Support Services
>
> _______________________________________________
> Netdot-users mailing list
> [email protected]
> https://osl.uoregon.edu/mailman/listinfo/netdot-users
------------------------------
_______________________________________________
Netdot-users mailing list
[email protected]
https://osl.uoregon.edu/mailman/listinfo/netdot-users
End of Netdot-users Digest, Vol 65, Issue 12
********************************************