I attached a prototype for a possible fix.
It seems to work, containers addresses are now included in the mega-watcher for 
machines.
The only issue, even after applying that patch, is that the NetworkScope for 
LXC addresses is an empty string, while I expected it to be "public", e.g.:
{u'Addresses': [{u'NetworkName': u'',
                                             u'NetworkScope': u'',
                                             u'Type': u'ipv4',
                                             u'Value': u'10.0.3.133'},
                                            {u'NetworkName': u'',
                                             u'NetworkScope': u'',
                                             u'Type': u'ipv6',
                                             u'Value': 
u'fe80::216:3eff:fece:7fdd'}],


** Attachment added: "diff"
   
https://bugs.launchpad.net/juju-core/+bug/1301464/+attachment/4061109/+files/diff

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju-core in Ubuntu.
https://bugs.launchpad.net/bugs/1301464

Title:
  The mega-watcher for machines does not include containers addresses

To manage notifications about this bug go to:
https://bugs.launchpad.net/juju-core/+bug/1301464/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to