Hello On Thu, May 30, 2013 at 09:43:43AM +0200, Steffen Larsen wrote: > I am not into NetConf, but is it not RPC calls? > If so, you can probably use XEP-009: http://xmpp.org/extensions/xep-0009.html
Part of NetConf is RPC, but from fast look at this XEP, it's different RPC (the
elements used are named differently, the parameters are not wrapped in <param>,
…). This is one example of the NetConf's RPC:
<rpc message-id="101"
xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<top xmlns="http://example.com/schema/1.2/config">
<users/>
</top>
</filter>
</get-config>
</rpc>
Also, there's more to NetConf than just the RPCs, like notion of session or
discovering what models (sets of configuration options) and features the other
side supports.
I believe it should be quite easy to map them onto XMPP (put the RPCs into <iq>,
use disco for the models & such, a session would be from the first RPC to either
explicit <close-session/> method or to <presence type='unavailable'/>). But I
think these still need to be described so different implementations have a
chance of doing them the same way.
With regards
--
When a fly lands on the ceiling, does it do a half roll or a half loop?
Michal 'vorner' Vaner
signature.asc
Description: Digital signature
