'Format additional fields as text'

def _show(self, prefix):

    s = (prefix + 'role:    ')
    s += {NX_ROLE_OTHER: 'other', NX_ROLE_MASTER: 'master', NX_ROLE_SLAVE: 'slave'}.get(self.role, str(self.role))
    return (s + '\n')
