<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def set_nsxcontroller_port(self, **kwargs):
 """ Set Nsx Controller pot on the switch Args: port (int):
 1 to 65535. callback (function):
 A function executed upon completion of the method. Returns: Return value of `callback`. Raises: None """

        name = kwargs.pop('name')
        port = str(kwargs.pop('port'))
        port_args = dict(name=name, port=port)
        method_name = 'nsx_controller_connection_addr_port'
        method_class = self._brocade_tunnels
        nsxcontroller_attr = getattr(method_class, method_name)
        config = nsxcontroller_attr(**port_args)
        output = self._callback(config)
        return output