[RFE] Enable driver field for the api of service_providers
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Liu Xie |
Bug Description
I found the api of service_provider is:
RESOURCE_NAME = "service_provider"
COLLECTION_NAME = "%ss" % RESOURCE_NAME
SERVICE_ATTR = 'service_type'
PLUGIN_ATTR = 'plugin'
DRIVER_ATTR = 'driver'
EXT_ALIAS = 'service-type'
# Attribute Map for Service Provider Resource
# Allow read-only access
RESOURCE_
COLLECTION_
'name': {'allow_post': False, 'allow_put': False,
'default': {'allow_post': False, 'allow_put': False,
}
}
I found driver filed in the body of response of get_service_
I think there will be some scenarios need to use this filed :
when i create a body for service_profile, i need know the driver what would be used, like this:
{
"service_
"enabled": "true",
"driver": "neutron_
"metainfo": "{'foo': 'bar'}"
}
}
Changed in neutron: | |
assignee: | nobody → liuxie (liushy) |
description: | updated |
It looks this is API enhancement request so I tagged this bug as RFE. Awaiting for Neutron Driver team to triage this bug.