def publish_service_capabilities(self, context):
    'Collect driver status and then publish.'
    self._report_driver_status(context)
    self._publish_service_capabilities(context)
Collect driver status and then publish.
def publish_service_capabilities(self, context):
    
    self._report_driver_status(context)
    self._publish_service_capabilities(context)