Esempio n. 1
0
 def test_get(self):
     ndu = VNXNdu.get(t_cli(), '-VNXSnapshots')
     assert_that(ndu.name, equal_to('-VNXSnapshots'))
     assert_that(ndu.revision, equal_to('-'))
     assert_that(ndu.commit_required, equal_to(False))
     assert_that(ndu.revert_possible, equal_to(False))
     assert_that(ndu.active_state, equal_to(True))
     assert_that(ndu.is_installation_completed, equal_to(True))
     assert_that(ndu.is_this_system_software, equal_to(False))
Esempio n. 2
0
 def test_get(self):
     ndu = VNXNdu.get(t_cli(), '-VNXSnapshots')
     assert_that(ndu.name, equal_to('-VNXSnapshots'))
     assert_that(ndu.revision, equal_to('-'))
     assert_that(ndu.commit_required, equal_to(False))
     assert_that(ndu.revert_possible, equal_to(False))
     assert_that(ndu.active_state, equal_to(True))
     assert_that(ndu.is_installation_completed, equal_to(True))
     assert_that(ndu.is_this_system_software, equal_to(False))
Esempio n. 3
0
 def test_is_sancopy_enabled(self):
     assert_that(VNXNdu.is_sancopy_enabled(t_cli()), equal_to(True))
Esempio n. 4
0
 def test_is_mirror_view_enabled(self):
     assert_that(VNXNdu.is_mirror_view_enabled(t_cli()), equal_to(True))
Esempio n. 5
0
 def test_is_compression_enabled(self):
     assert_that(VNXNdu.is_compression_enabled(t_cli()), equal_to(True))
Esempio n. 6
0
 def test_is_dedup_enabled_false(self):
     assert_that(VNXNdu.is_dedup_enabled(t_cli()), equal_to(False))
Esempio n. 7
0
 def test_get_all(self):
     ndu_list = VNXNdu.get(t_cli())
     assert_that(len(ndu_list), equal_to(16))
Esempio n. 8
0
 def test_is_fast_cache_enabled(self):
     assert_that(VNXNdu.is_fast_cache_enabled(t_cli()), equal_to(True))
Esempio n. 9
0
 def test_is_sancopy_enabled(self):
     assert_that(VNXNdu.is_sancopy_enabled(t_cli()), equal_to(True))
Esempio n. 10
0
 def test_is_auto_tiering_enabled(self):
     assert_that(VNXNdu.is_auto_tiering_enabled(t_cli()), equal_to(True))
Esempio n. 11
0
 def test_is_mirror_view_enabled(self):
     assert_that(VNXNdu.is_mirror_view_enabled(t_cli()),
                 equal_to(True))
Esempio n. 12
0
 def test_is_compression_enabled(self):
     assert_that(VNXNdu.is_compression_enabled(t_cli()), equal_to(True))
Esempio n. 13
0
 def test_is_dedup_enabled_false(self):
     assert_that(VNXNdu.is_dedup_enabled(t_cli()), equal_to(False))
Esempio n. 14
0
 def test_is_auto_tiering_enabled(self):
     assert_that(VNXNdu.is_auto_tiering_enabled(t_cli()), equal_to(True))
Esempio n. 15
0
 def get_ndu(self, name=None):
     return VNXNdu.get(self._cli, name)
Esempio n. 16
0
 def test_is_fast_cache_enabled(self):
     assert_that(VNXNdu.is_fast_cache_enabled(t_cli()), equal_to(True))
Esempio n. 17
0
 def test_get_all(self):
     ndu_list = VNXNdu.get(t_cli())
     assert_that(len(ndu_list), equal_to(16))