summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Howe <terrylhowe@gmail.com>2014-02-27 10:55:37 -0700
committerTerry Howe <terrylhowe@gmail.com>2014-02-27 10:55:37 -0700
commite9015b94f91d3ff6972109fb21a2b5e7fd3b9a79 (patch)
tree0669888cf5862bf0e697407048959ba459891ae7
parentb7f673cb81f1a6539739dc6d12eaef7455bf63fd (diff)
downloadpython-openstackclient-e9015b94f91d3ff6972109fb21a2b5e7fd3b9a79.tar.gz
In anticipation of network agents, rename compute
Rename the compute agents in anticipation of network agents Change-Id: I201121915638d89dfbe46a7e0026aa4c2777e590 Closes-Bug: #1285800
-rw-r--r--openstackclient/compute/v2/agent.py8
-rw-r--r--setup.cfg8
2 files changed, 8 insertions, 8 deletions
diff --git a/openstackclient/compute/v2/agent.py b/openstackclient/compute/v2/agent.py
index c8fb6ccc..ae7ba962 100644
--- a/openstackclient/compute/v2/agent.py
+++ b/openstackclient/compute/v2/agent.py
@@ -26,7 +26,7 @@ from openstackclient.common import utils
class CreateAgent(show.ShowOne):
- """Create agent command"""
+ """Create compute agent command"""
log = logging.getLogger(__name__ + ".CreateAgent")
@@ -75,7 +75,7 @@ class CreateAgent(show.ShowOne):
class DeleteAgent(command.Command):
- """Delete agent command"""
+ """Delete compute agent command"""
log = logging.getLogger(__name__ + ".DeleteAgent")
@@ -95,7 +95,7 @@ class DeleteAgent(command.Command):
class ListAgent(lister.Lister):
- """List agent command"""
+ """List compute agent command"""
log = logging.getLogger(__name__ + ".ListAgent")
@@ -127,7 +127,7 @@ class ListAgent(lister.Lister):
class SetAgent(show.ShowOne):
- """Set agent command"""
+ """Set compute agent command"""
log = logging.getLogger(__name__ + ".SetAgent")
diff --git a/setup.cfg b/setup.cfg
index a2c34e14..8852757b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -40,10 +40,10 @@ openstack.common =
quota_show = openstackclient.common.quota:ShowQuota
openstack.compute.v2 =
- agent_create = openstackclient.compute.v2.agent:CreateAgent
- agent_delete = openstackclient.compute.v2.agent:DeleteAgent
- agent_list = openstackclient.compute.v2.agent:ListAgent
- agent_set = openstackclient.compute.v2.agent:SetAgent
+ compute_agent_create = openstackclient.compute.v2.agent:CreateAgent
+ compute_agent_delete = openstackclient.compute.v2.agent:DeleteAgent
+ compute_agent_list = openstackclient.compute.v2.agent:ListAgent
+ compute_agent_set = openstackclient.compute.v2.agent:SetAgent
aggregate_add_host = openstackclient.compute.v2.aggregate:AddAggregateHost
aggregate_create = openstackclient.compute.v2.aggregate:CreateAggregate