Hi All,
some comments on NETCONF RPC and Protocol
Operations Schema. (Appendix B)
1. edit-config: has
a source parameter of rpcOperationSourceType.
Having source and target both in edit-config doesn't seem appropriate.
Shouldn't source parameter be removed?
2. edit-config: The
config parameter is marked as optional in edit-configType, Shouldn't this be
mandatory instead?
<xs:element ref="config" minOccurs=1
/>
3. get-config:
refers to rpcOperationSourceType, which has a config element.
config tag inside source parameter is not meaningful, instead we could define a
rpcOperationGetSourceType without a config element.
4. lock and unlock:
these commands refer to rpcOperationTargetType, which can take url as a
target.
Enforcing lock on url configuration is not feasible. So url should be removed
from target in case of lock and unlock.
Instead we can define a rpcOperationLockTargetType without url, which we
can refer in lock and unlock.
5.
kill-session: has session-id as optional, shouldn't this be mandatory
too.