)
@empty_response
@handle_nvmeof_error
- def create(self, nqn: str, enable_ha: bool, max_namespaces: int = 1024,
+ def create(self, nqn: str, enable_ha: bool = True, max_namespaces: int = 1024,
gw_group: Optional[str] = None):
return NVMeoFClient(gw_group=gw_group).stub.create_subsystem(
NVMeoFClient.pb2.create_subsystem_req(
schema:
properties:
enable_ha:
+ default: true
description: Enable high availability
type: boolean
gw_group:
type: string
required:
- nqn
- - enable_ha
type: object
responses:
'201':