NetconfModelProvider

class NetconfModelProvider

Implementation of ModelProvider for netconf

NetconfModelProvider(NetconfClient &client)

Constructs an instance of the NetconfModelProvider

Parameters:client – Instance of an existing netconf session
std::string get_model(const std::string &name, const std::string &version, Format format)

Returns the model identified by the name and version

Parameters:
  • name – name of the model
  • version – version of the model
  • formatformat of the model to download
Returns:

std::string containing the model downloaded. If empty then the model probably cannot be provided

std::string get_hostname_port()