@@ -397,6 +397,7 @@ def create(
397397 force : Optional [bool ] = False ,
398398 no_auto_visible : Optional [bool ] = False ,
399399 disable_auto_resize : Optional [bool ] = False ,
400+ read_only : Optional [bool ] = False ,
400401 gw_group : Optional [str ] = None ,
401402 traddr : Optional [str ] = None ,
402403 ):
@@ -412,7 +413,8 @@ def create(
412413 anagrpid = load_balancing_group ,
413414 force = force ,
414415 no_auto_visible = no_auto_visible ,
415- disable_auto_resize = disable_auto_resize
416+ disable_auto_resize = disable_auto_resize ,
417+ read_only = read_only
416418 )
417419 )
418420
@@ -537,8 +539,11 @@ def resize(
537539 "nqn" : Param (str , "NVMeoF subsystem NQN" ),
538540 "nsid" : Param (str , "NVMeoF Namespace ID" ),
539541 "host_nqn" : Param (str , 'NVMeoF host NQN. Use "*" to allow any host.' ),
540- "force" : Param (bool , "Allow adding the host to the namespace even if the host "
541- "has no access to the subsystem" ),
542+ "force" : Param (
543+ bool ,
544+ "Allow adding the host to the namespace even if the host "
545+ "has no access to the subsystem"
546+ ),
542547 "gw_group" : Param (str , "NVMeoF gateway group" , True , None ),
543548 "traddr" : Param (str , "NVMeoF gateway address" , True , None ),
544549 },
0 commit comments