diff --git a/os_dpm/config/config.py b/os_dpm/config/config.py index 32d07cc..a9632d1 100644 --- a/os_dpm/config/config.py +++ b/os_dpm/config/config.py @@ -33,7 +33,7 @@ COMMON_DPM_OPTS = [ User name for connection to the HMC"""), cfg.StrOpt('hmc_password', help=""" Password for connection to the HMC"""), - cfg.StrOpt('cpc_uuid', help=""" + cfg.StrOpt('cpc_object_id', help=""" DPM Object-id of the target CPC"""), ] diff --git a/os_dpm/tests/unit/config/test_config.py b/os_dpm/tests/unit/config/test_config.py index bed6759..36fbc14 100644 --- a/os_dpm/tests/unit/config/test_config.py +++ b/os_dpm/tests/unit/config/test_config.py @@ -27,10 +27,10 @@ class TestNetworkingDpm(base.BaseTestCase): conf.load_raw_values(group="dpm", hmc='host') conf.load_raw_values(group="dpm", hmc_username='username') conf.load_raw_values(group="dpm", hmc_password='password') - conf.load_raw_values(group="dpm", cpc_uuid='uuid') + conf.load_raw_values(group="dpm", cpc_object_id='uuid') config.register_opts() self.assertEqual('host', cfg.CONF.dpm.hmc) self.assertEqual('username', cfg.CONF.dpm.hmc_username) self.assertEqual('password', cfg.CONF.dpm.hmc_password) - self.assertEqual('uuid', cfg.CONF.dpm.cpc_uuid) + self.assertEqual('uuid', cfg.CONF.dpm.cpc_object_id)