Browse Source

network

master
zeus 3 years ago
parent
commit
d38bd2bb4c
  1. 15
      src-local/llo/new.js

15
src-local/llo/new.js

@ -1246,6 +1246,21 @@ app.get('/getnetworks', (req, res, next) => {
}
}
var extenderror1poc = new RegExp('^poc-');
for(var i = 0; i < datajson.length; i++) {
var NET = {}
var servicename1 = datajson[i].Name
if(extenderror1poc.test(servicename1)){
NET.ID = datajson[i].ID
NET.Name = datajson[i].Name
NET.NetworkMode = datajson1
NET.Scope = datajson[i].Scope
NET.Internal = datajson[i].Internal
NET.IPv6 = datajson[i].IPv6
networks.push(NET)
}
}
var extenderrorm1 = new RegExp('^swlab');
for(var i = 0; i < datajson.length; i++) {
var NET = {}

Loading…
Cancel
Save