Improve event monitoring/callbacks 21/6021/1
authorAdam Israel <adam.israel@canonical.com>
Mon, 23 Apr 2018 20:04:54 +0000 (16:04 -0400)
committerAdam Israel <adam.israel@canonical.com>
Mon, 23 Apr 2018 20:04:54 +0000 (16:04 -0400)
commit28a43c00327abc29f66688ff1cfa84c46d7d0e0a
tree7ce24d8aa6c3074532b73627adf00b376254acac
parent74d895f6646849667fde51e01f23a5a6eb4f7e9e
Improve event monitoring/callbacks

Improve the way we monitor changes within the Juju model, by maintaining
a single observer with an Application filter. This reduces the number of
duplicate callbacks being fired, and decreases the chatter between the
controller and client.

Signed-off-by: Adam Israel <adam.israel@canonical.com>
n2vc/vnf.py