Ejemplo n.º 1
0
 def summarizer(self, hostname, ipaddress):
     return PiggybackSummarizer(
         {},
         hostname=hostname,
         ipaddress=ipaddress,
         time_settings=[("", "", 0)],
         always=False,
     )
Ejemplo n.º 2
0
 def _make_summarizer(self) -> PiggybackSummarizer:
     return PiggybackSummarizer(
         self.exit_spec,
         hostname=self.hostname,
         ipaddress=self.ipaddress,
         time_settings=self.time_settings,
         # Tag: 'Always use and expect piggback data'
         always=self.host_config.is_piggyback_host,
     )