code: def get_nsx_controller(self):
          
          urn = "urn:brocade.com:mgmt:brocade-tunnels"
          config = ET.Element("config")
          ET.SubElement(config, "nsx-controller", xmlns=urn)
          output = self._callback(config, handler='get_config')
          result = {}
          element = ET.fromstring(str(output))
          for controller in element.iter('{%s}nsx-controller'%urn):
              result['name'] = controller.find('{%s}name'%urn).text
              isactivate = controller.find('{%s}activate'%urn)
              if isactivate is None:
                  result['activate'] = False
              else:
                  result['activate'] = True
              connection = controller.find('{%s}connection-addr'%urn)
              if connection is None:
                  result['port'] = None
                  result['address'] = None
              else:
                  result['port'] = connection.find('{%s}port'%urn).text
                  address = connection.find('{%s}address'%urn)
                  if address is None:
                      result['address'] = None
                  else:
                      result['address'] = address.text
  
          return result
docs: Get/Set nsx controller name
  
          Args:
              name: (str) :   Name of the nsx-controller
              callback (function): A function executed upon completion of the
                  method.
  
              Returns: Return dictionary containing nsx-controller information.
                  Returns blank dict if no nsx-controller is configured.
  
              Raises: None