Ejemplo n.º 1
0
 def file_cache(self):
     return SNMPFileCache(
         path=Path(os.devnull),
         max_age=0,
         disabled=True,
         use_outdated=True,
         simulation=False,
     )
Ejemplo n.º 2
0
 def file_cache(self) -> SNMPFileCache:
     return SNMPFileCache(
         HostName("hostname"),
         base_path=Path(os.devnull),
         max_age=MaxAge.none(),
         disabled=True,
         use_outdated=True,
         simulation=False,
     )
Ejemplo n.º 3
0
 def file_cache(self):
     return SNMPFileCache(
         "hostname",
         base_path=Path(os.devnull),
         max_age=0,
         disabled=True,
         use_outdated=True,
         simulation=True,
     )