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

correct error code



Martin Bjorklund wrote:
Andy Bierman <ietf@andybierman.com> wrote:
...
I think this is a clean way to handle 'any'.
So an operation-not-supported error gets returned instead?

I'm not sure that's the correct error code.  Compare with this case.
Suppose a 'service' has two keys, 'ip' and 'port'.  What error message
do you get if you send:

   <service nc:operation="create">
     <ip>10.0.0.1</ip>
     <port nc:operation="delete">80</port>
     ...
   </service>


This should be operation-failed, not operation-not-supported error.


Andy

--
to unsubscribe send a message to netconf-request@ops.ietf.org with
the word 'unsubscribe' in a single line as the message text body.
archive: <http://ops.ietf.org/lists/netconf/>