예제 #1
0
 def __init__(self):
     self.operating_system = validate.operating_system()
     self.rsys = loadyaml.load_rsyslog()
     self.portal = loadyaml.load_portal()
     self.host = self.portal["windows_syslog_host"]
     self.port = self.portal["windows_syslog_port"]
     self.facility = None
     self.priority = None
예제 #2
0
파일: rsyslog.py 프로젝트: mong2/connector
 def __init__(self):
     self.operating_system = validate.operating_system()
     self.rsys = loadyaml.load_rsyslog()
     self.portal = loadyaml.load_portal()
     self.host = self.portal["windows_syslog_host"]
     self.port = self.portal["windows_syslog_port"]
     self.facility = None
     self.priority = None
예제 #3
0
 def test_load_rsyslog(self):
     assert loadyaml.load_rsyslog() is not None