@classmethod<EOL><INDENT>def current(cls, service, port):<DEDENT>
host = socket.getfqdn()<EOL>return cls(<EOL>host=host,<EOL>ip=socket.gethostbyname(host),<EOL>port=port,<EOL>metadata=service.metadata<EOL>)<EOL>
Returns a Node instance representing the current service node.

Collects the host and IP information for the current machine and
the port information from the given service.