Update method update_node_networks due to api changes

There was allowed_networks list wich is use here but some time
ago the list was removed from api resonse.

Change-Id: Idfd3282f4ad200f031bac384e4677e46ee93f17b