'Validates that API request is sane (flags compat with flavor).'

@registry.receives(resources.ROUTER, [events.BEFORE_CREATE])
def _check_router_request(self, resource, event, trigger, context, router, **kwargs):

    drv = self._get_provider_for_create(context, router)
    _ensure_driver_supports_request(drv, router)
