Activity log for bug #1809628

Date Who What changed Old value New value Message
2018-12-24 03:32:16 Liu Xie bug added bug
2018-12-24 03:38:19 Liu Xie neutron: assignee liuxie (liushy)
2018-12-24 07:27:10 Liu Xie 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_ATTRIBUTE_MAP = { COLLECTION_NAME: { 'service_type': {'allow_post': False, 'allow_put': False, 'is_visible': True}, 'name': {'allow_post': False, 'allow_put': False, 'is_visible': True}, 'default': {'allow_post': False, 'allow_put': False, 'is_visible': True}, } } I found driver filed in the body of response of get_service_providers .Why is there no driver field in the api? I think there will be some scenarios need use this filed : when i create a body for service_profile, i need know the driver what would be used, like this: { "service_profile": { "enabled": "true", "driver": "neutron_lbaas.drivers.octavia.driver.OctaviaDriver", "description": "Dummy profile", "metainfo": "{'foo': 'bar'}" } } 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_ATTRIBUTE_MAP = {     COLLECTION_NAME: {         'service_type': {'allow_post': False, 'allow_put': False,                          'is_visible': True},         'name': {'allow_post': False, 'allow_put': False,                  'is_visible': True},         'default': {'allow_post': False, 'allow_put': False,                     'is_visible': True},     } } I found driver filed in the body of response of get_service_providers .Why is there no driver field in the api? 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_profile": {         "enabled": "true",         "driver": "neutron_lbaas.drivers.octavia.driver.OctaviaDriver",         "description": "Dummy profile",         "metainfo": "{'foo': 'bar'}"     } }
2018-12-27 16:21:38 Hongbin Lu summary Enable driver field for the api of service_providers [RFE] Enable driver field for the api of service_providers
2018-12-27 16:21:44 Hongbin Lu tags rfe
2018-12-27 16:26:36 Hongbin Lu neutron: importance Undecided Wishlist
2019-03-08 01:18:20 Miguel Lavalle neutron: importance Wishlist Undecided
2019-03-08 01:18:32 Miguel Lavalle neutron: status New Invalid