~blake-rouse/maas/fix-1514883

« back to all changes in this revision

Viewing changes to src/maasserver/websockets/handlers/node.py

[r=blake-rouse][bug=][author=ltrager] Only check that the node is connected to a network, it doesn't have to be managed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
                self.dehydrate_interface(interface, obj)
286
286
                for interface in obj.interface_set.all().order_by('name')
287
287
            ]
288
 
            data["on_managed_network"] = obj.on_managed_network()
 
288
            data["on_network"] = obj.on_network()
289
289
 
290
290
            # Devices
291
291
            devices = [