netconf-client
Version:
30 lines • 865 B
JavaScript
export const SSH_TIMEOUT = 20000;
/**
* Choice of what to request from the server
*/
export var GetDataResultType;
(function (GetDataResultType) {
/**
* Request the configuration data
*/
GetDataResultType["CONFIG"] = "config";
/**
* Request the state data
*/
GetDataResultType["STATE"] = "state";
/**
* Request schema (configuration data with only keys present in the result)
*/
GetDataResultType["SCHEMA"] = "schema";
})(GetDataResultType || (GetDataResultType = {}));
/**
* Custom error class for Netconf operations
*/
export class MultipleEditError extends Error {
constructor() {
super('Editing multiple schema branches not allowed');
this.name = 'MultipleEditError';
Object.setPrototypeOf(this, MultipleEditError.prototype);
}
}
//# sourceMappingURL=netconf-types.js.map