12345678910111213141516171819 |
- from setux.logger import silent
- from setux.core.action import Runner
- class Pinger(Runner):
- '''Check target availability'''
- @property
- def labeler(self):
- return silent
- @property
- def label(self):
- return 'ping'
- def deploy(self):
- return self.target.ping()
|