I´m add log debug in code, we can see when it calls the function get_address_in_network, this only list adress one subnetwork (cidr ip IPAddress) cidr ip IPAddress('10.254.21.7') don´t list adress second network ['10.254.25.0/24'] and ['10.254.26.0/24']
2018-09-27 22:28:29 INFO juju-log network func ip ['10.254.21.0/24']
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log cidr ip IPAddress('10.254.21.7')
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log network func ip ['10.254.25.0/24']
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log network func ip ['10.254.26.0/24']
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log network func ip ['10.254.22.0/24']
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log cidr ip IPAddress('10.254.22.71')
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "relation-get"
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "relation-get"
2018-09-27 22:28:33 DEBUG juju.worker.uniter.remotestate watcher.go:346 got config change: ok=true
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log network func ip ['10.254.21.0/24']
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log cidr ip IPAddress('10.254.21.7')
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log network func ip ['10.254.25.0/24']
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log network func ip ['10.254.26.0/24']
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log network func ip ['10.254.22.0/24']
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log cidr ip IPAddress('10.254.22.71')
I´m add log debug in code, we can see when it calls the function get_address_ in_network, this only list adress one subnetwork (cidr ip IPAddress) cidr ip IPAddress( '10.254. 21.7') don´t list adress second network ['10.254.25.0/24'] and ['10.254.26.0/24']
2018-09-27 22:28:29 INFO juju-log network func ip ['10.254.21.0/24'] '10.254. 21.7') '10.254. 22.71') uniter. remotestate watcher.go:346 got config change: ok=true '10.254. 21.7') '10.254. 22.71')
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log cidr ip IPAddress(
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log network func ip ['10.254.25.0/24']
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log network func ip ['10.254.26.0/24']
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log network func ip ['10.254.22.0/24']
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:30 INFO juju-log cidr ip IPAddress(
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "relation-get"
2018-09-27 22:28:30 DEBUG worker.uniter.jujuc server.go:178 running hook tool "relation-get"
2018-09-27 22:28:33 DEBUG juju.worker.
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log network func ip ['10.254.21.0/24']
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log cidr ip IPAddress(
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log network func ip ['10.254.25.0/24']
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log network func ip ['10.254.26.0/24']
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log network func ip ['10.254.22.0/24']
2018-09-27 22:28:35 DEBUG worker.uniter.jujuc server.go:178 running hook tool "juju-log"
2018-09-27 22:28:35 INFO juju-log cidr ip IPAddress(