|
@ -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'); |
|
|
var extenderrorm1 = new RegExp('^swlab'); |
|
|
for(var i = 0; i < datajson.length; i++) { |
|
|
for(var i = 0; i < datajson.length; i++) { |
|
|
var NET = {} |
|
|
var NET = {} |
|
|