make new version of frappy work
- frappy instead of secop - python cfg files
This commit is contained in:
6
base.py
6
base.py
@@ -438,6 +438,12 @@ class ServiceManager:
|
||||
print('')
|
||||
printTable(('inst', 'service', 'port', 'cfg'), rows, print)
|
||||
|
||||
def do_getports(self, ins):
|
||||
"""machine readable list of services with port numbers"""
|
||||
self.get_info()
|
||||
procs = self.get_procs().get(ins, {})
|
||||
print(' '.join('%s %s' % (k, self.info[ins][k]) for k in procs))
|
||||
|
||||
@staticmethod
|
||||
def extra_info(ins):
|
||||
"""provide extra info or None"""
|
||||
|
||||
Reference in New Issue
Block a user