#NEWLINE# @ click . command ( ) #NEWLINE# @ click . argument ( 'identifier' ) #NEWLINE# @ click . option ( '--capacity' , type = click . INT , help = 'Size of snapshot space to create' ) #NEWLINE# @ environment . pass_env #NEWLINE# def cli( env , identifier , capacity ) : #NEWLINE# #INDENT# 'Orders snapshot space for given iSCSI.' #NEWLINE# iscsi_mgr = SoftLayer . ISCSIManager ( env . client ) #NEWLINE# iscsi_id = helpers . resolve_id ( iscsi_mgr . resolve_ids , iscsi_id , 'iSCSI' ) #NEWLINE# iscsi_mgr . create_snapshot_space ( iscsi_id , capacity )