5502: Adjust id and name of Node Manager cloud object mocks.
authorBrett Smith <brett@curoverse.com>
Thu, 26 Mar 2015 16:29:38 +0000 (12:29 -0400)
committerBrett Smith <brett@curoverse.com>
Thu, 26 Mar 2015 16:29:38 +0000 (12:29 -0400)
commitb8261deb6e1035134d7ce8f004cc49deeed1bd27
treea5c24d757e6910e8eaa7dca6c2b06aaf6a1f3ff6
parent46b124cc766e4e35e40c1c3e2c1b388816aa682a
5502: Adjust id and name of Node Manager cloud object mocks.

Some GCE objects like disk types have predictable names, so it's
helpful to be able to mock objects with the same name.  Use the
name_id argument is the literal name, and generate an id from it.
services/nodemanager/tests/test_computenode_driver_ec2.py
services/nodemanager/tests/test_computenode_driver_gce.py
services/nodemanager/tests/testutil.py