Commit bc3b8a5f authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

astakos: Disable service renaming

Service name is significant: UI presentational data are indexed by
it; resource names are prefixed by it.
parent fbdbcdf3
......@@ -43,10 +43,6 @@ class Command(BaseCommand):
help = "Modify service attributes"
option_list = BaseCommand.option_list + (
make_option('--name',
dest='name',
default=None,
help="Set service name"),
make_option('--url',
dest='url',
default=None,
......@@ -81,16 +77,12 @@ class Command(BaseCommand):
"Service does not exist. You may run snf-manage "
"service-list for available service IDs.")
name = options.get('name')
api_url = options.get('api_url')
url = options.get('url')
auth_token = options.get('auth_token')
renew_token = options.get('renew_token')
type = options.get('type')
if name:
service.name = name
if api_url:
service.api_url = api_url
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment