NETCONF test tool should honor the exi flag and translate it to
proper capabilities.
Change-Id: I50acf9188eb5fd2aea60d593dfd9713e54badda4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
@Arg(dest = "ssh")
public boolean ssh;
@Arg(dest = "exi")
- public boolean exi;
+ public boolean exi = true;
@Arg(dest = "debug")
public boolean debug;
@Arg(dest = "notification-file")
this.configuration.setInitialConfigXMLFile(testtoolParameters.initialConfigXMLFile);
this.configuration.setNotificationFile(testtoolParameters.notificationFile);
this.configuration.setSchemasDir(testtoolParameters.schemasDir);
+ this.configuration.setCapabilities(testtoolParameters.exi ? Configuration.DEFAULT_BASE_CAPABILITIES_EXI
+ : Configuration.DEFAULT_BASE_CAPABILITIES);
return this;
}