Exemplo n.º 1
0
 def _hostname(self, neighbor):
     self[Capability.CODE.HOSTNAME] = HostName(neighbor.host_name,
                                               neighbor.domain_name)
Exemplo n.º 2
0
 def _hostname(self, neighbor):
     self[Capability.CODE.HOSTNAME] = HostName(neighbor['host-name'],
                                               neighbor['domain-name'])