예제 #1
0
 def setUp(self):
     ip = IPAddress(address='127.0.0.1')
     ip.snmp_name = ('Hardware: EM64T Family 6 Model 15 Stepping 7 AT/AT '
                     'COMPATIBLE - Software: Windows Version 5.2 (Build '
                     '3790 Multiprocessor Free)')
     ip.snmp_community = 'public'
     ip.snmp_version = '2c'
     ip.save()
     self.ip = ip
     self.kwargs = {
         'ip': ip.address,
         'community': ip.snmp_community,
         'snmp_name': ip.snmp_name,
         'snmp_version': ip.snmp_version,
     }
예제 #2
0
 def setUp(self):
     ip = IPAddress(address='127.0.0.1')
     ip.snmp_name = ('Hardware: EM64T Family 6 Model 15 Stepping 7 AT/AT '
                     'COMPATIBLE - Software: Windows Version 5.2 (Build '
                     '3790 Multiprocessor Free)')
     ip.snmp_community = 'public'
     ip.snmp_version = '2c'
     ip.save()
     self.ip = ip
     self.kwargs = {
         'ip': ip.address,
         'community': ip.snmp_community,
         'snmp_name': ip.snmp_name,
         'snmp_version': ip.snmp_version,
     }
예제 #3
0
파일: aix_tests.py 프로젝트: pijany/ralph
 def setUp(self):
     ip = IPAddress(address="127.0.0.1")
     ip.snmp_name = "IBM PowerPC CHRP Computer"
     ip.snmp_community = "public"
     ip.snmp_version = "2c"
     ip.save()
     self.ip = ip
     self.kwargs = {
         "ip": ip.address,
         "community": ip.snmp_community,
         "snmp_name": ip.snmp_name,
         "snmp_version": ip.snmp_version,
     }
     dev = Device.create(sn="foo", model_type=DeviceType.storage, model_name="foo")
     dev.save()
     self.share = DiskShare(wwn="2AC000250A9B5000", device=dev)
     self.share.save()
예제 #4
0
파일: aix_tests.py 프로젝트: iwwwwwwi/ralph
 def setUp(self):
     ip = IPAddress(address='127.0.0.1')
     ip.snmp_name = 'IBM PowerPC CHRP Computer'
     ip.snmp_community = 'public'
     ip.snmp_version = '2c'
     ip.save()
     self.ip = ip
     self.kwargs = {
         'ip': ip.address,
         'community': ip.snmp_community,
         'snmp_name': ip.snmp_name,
         'snmp_version': ip.snmp_version,
     }
     dev = Device.create(sn='foo', model_type=DeviceType.storage,
                         model_name='foo')
     dev.save()
     self.share = DiskShare(wwn='2AC000250A9B5000', device=dev)
     self.share.save()
예제 #5
0
 def setUp(self):
     ip = IPAddress(address='127.0.0.1')
     ip.snmp_name = 'IBM PowerPC CHRP Computer'
     ip.snmp_community = 'public'
     ip.snmp_version = '2c'
     ip.save()
     self.ip = ip
     self.kwargs = {
         'ip': ip.address,
         'community': ip.snmp_community,
         'snmp_name': ip.snmp_name,
         'snmp_version': ip.snmp_version,
     }
     dev = Device.create(sn='foo', model_type=DeviceType.storage,
                         model_name='foo')
     dev.save()
     self.share = DiskShare(wwn='2AC000250A9B5000', device=dev)
     self.share.save()