Revision 60a7335b
ID | 60a7335b706ba8a8fc4fc6de35d5883844a060c7 |
Add locking to _NetworkQuery
Make use of _GetNames() to get the final network UUIDs.
Get networks info after having aquired the locks. Refactor
the code to use new local variables:
- "network_uuids" returned from _GetNames()
- "all_networks" that are the latest network info
- "name_to_uuid" used for getting network UUID out of NIC's network
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
Files
- added
- modified
- copied
- renamed
- deleted