def test_lun_attach_to_with_hlu(self): host = UnityHost(_id="Host_1", cli=t_rest()) lun = UnityLun(_id='sv_6', cli=t_rest(version='4.4.0')) resp = lun.attach_to(host, access_mask=HostLUNAccessEnum.BOTH, hlu=1655) assert_that(resp.is_ok(), equal_to(True))
def test_lun_attach_to_same_host(self): host = UnityHost(_id="Host_1", cli=t_rest()) lun = UnityLun(_id='sv_4', cli=t_rest()) resp = lun.attach_to(host, access_mask=HostLUNAccessEnum.BOTH) assert_that(resp.is_ok(), equal_to(True))
def test_lun_attch_to_same_host(self): host = UnityHost(_id="Host_1", cli=t_rest()) lun = UnityLun(_id='sv_4', cli=t_rest()) resp = lun.attach_to(host, access_mask=HostLUNAccessEnum.BOTH) assert_that(resp.is_ok(), equal_to(True))
def test_lun_attach_to_new_host(self): host = UnityHost(_id="Host_10", cli=t_rest()) lun = UnityLun(_id='sv_4', cli=t_rest()) resp = lun.attach_to(host) assert_that(resp.is_ok(), equal_to(True))
def test_lun_attch_to_new_host(self): host = UnityHost(_id="Host_10", cli=t_rest()) lun = UnityLun(_id='sv_4', cli=t_rest()) resp = lun.attach_to(host) assert_that(resp.is_ok(), equal_to(True))