示例#1
0
 def test_update_initators_with_fc(self):
     host = UnityHost(cli=t_rest(), _id='Host_9')
     r = host.update_initiators(wwns=[
         "50:00:14:40:47:B0:0C:44:50:00:14:42:D0:0C:44:11",
         "50:00:14:40:47:B0:0C:44:50:00:14:42:D0:0C:44:12"
     ])
     assert_that(r, equal_to(3))
示例#2
0
 def test_update_initators(self):
     host = UnityHost(cli=t_rest(), _id='Host_22')
     r = host.update_initiators(
         iqns=["iqn.1993-08.org.debian:01:a4f95ed19999"],
         wwns=["50:00:14:40:47:B0:0C:44:50:00:14:42:D0:0C:44:10"])
     assert_that(r, equal_to(3))