summaryrefslogtreecommitdiffstats
path: root/server/lib/external-backends/index.js
diff options
context:
space:
mode:
authorJannik Schönartz2019-04-08 01:42:35 +0200
committerJannik Schönartz2019-04-08 01:42:35 +0200
commita3e2cb36b0cbceb025753c7aeae0553de043b968 (patch)
tree71936590fcff8c4fc5d75e0842ad05faed856b27 /server/lib/external-backends/index.js
parent[eventmanager] fix blacklist not deselecting correctly (diff)
downloadbas-a3e2cb36b0cbceb025753c7aeae0553de043b968.tar.gz
bas-a3e2cb36b0cbceb025753c7aeae0553de043b968.tar.xz
bas-a3e2cb36b0cbceb025753c7aeae0553de043b968.zip
[server/backends] Add infoblox ipxe ip selection stuff
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