summaryrefslogtreecommitdiffstats
path: root/server/lib/external-backends/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/external-backends/index.js')
-rw-r--r--server/lib/external-backends/index.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/server/lib/external-backends/index.js b/server/lib/external-backends/index.js
index 7acaa85..8dcae5a 100644
--- a/server/lib/external-backends/index.js
+++ b/server/lib/external-backends/index.js
@@ -166,6 +166,18 @@ class ExternalBackends {
async getFile (credentials, externalId, filename) {
return { error: 'NOT_IMPLEMENTED_EXCEPTION', message: 'The provided backend does not have an getFile method' }
}
+ async checkIp (credentials, ipv4) {
+ return { error: 'NOT_IMPLEMENTED_EXCEPTION', message: 'The provided backend does not have a checkIp method' }
+ }
+ async setIp (credentials, ipv4, mac) {
+ return { error: 'NOT_IMPLEMENTED_EXCEPTION', message: 'The provided backend does not have a setIp method' }
+ }
+ /*
+ * Only one dhcp backend should be configures or it causes problems in the registration.
+ */
+ isDhcp () {
+ return false
+ }
}
module.exports = ExternalBackends