'Create an Endpoint Group with the associated filters.'

@controller.protected()
def create_endpoint_group(self, request, endpoint_group):

    validation.lazy_validate(schema.endpoint_group_create, endpoint_group)
    ref = self._assign_unique_id(self._normalize_dict(endpoint_group))
    self._require_attribute(ref, 'filters')
    self._require_valid_filter(ref)
    ref = self.catalog_api.create_endpoint_group(ref['id'], ref)
    return EndpointGroupV3Controller.wrap_member(request.context_dict, ref)
