[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
which error-tag?
- To: "Netconf (E-mail)" <netconf@ops.ietf.org>
- Subject: which error-tag?
- From: Andy Bierman <ietf@andybierman.com>
- Date: Fri, 14 Sep 2007 08:42:31 -0700
- User-agent: Thunderbird 2.0.0.6 (Windows/20070728)
Hi,
If the agent does not support the <candidate> config,
but a manager sends a <commit> or <discard-changes> anyway,
which error should be returned?
(hint: unknown-element or operation-not-supported)
Within an agent 'engine', only the RPC methods that have registered
(within the agent) will be known to the engine. The operation named
'commit'
might as well be named 'blahfoobar', from the agent POV.
Therefore unknown-element is going to be returned, even though
operation-not-supported is the intuitive (and originally intended) error
tag.
Is this okay?
(Same issue applies to <validate>)
thanks,
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/>