public interface TemplateRequestDriver
| Modifier and Type | Method and Description |
|---|---|
Object |
doRequest(org.onosproject.netconf.NetconfSession session,
String templateName,
Map<String,Object> templateContext,
String baseXPath,
QName returnType)
Executes the named NETCONF template against the specified session, returning
the referenced XML node as the specified type.
|
Object doRequest(org.onosproject.netconf.NetconfSession session, String templateName, Map<String,Object> templateContext, String baseXPath, QName returnType) throws org.onosproject.netconf.NetconfException
session - NETCONF serssiontemplateName - name of NETCONF request template to executetemplateContext - variable to values substitutions to be used against templatesbaseXPath - XPath expression to specify the returned document nodereturnType - expected return type of the referenced nodebaseXPathorg.onosproject.netconf.NetconfException - if any IO, XPath, or NETCONF exception occurs