synchronize self from Ariane server according its id (prioritary) or name
        :return:

def sync(self):
        """
        synchronize self from Ariane server according its id (prioritary) or name
        :return:
        """
        LOGGER.debug("RoutingArea.sync")
        params = None
        if self.id is not None:
            params = {'id': self.id}
        elif self.name is not None:
            params = {'name': self.name}

        if params is not None:
            args = {'http_operation': 'GET', 'operation_path': 'get', 'parameters': params}
            response = RoutingAreaService.requester.call(args)
            if response.rc == 0:
                json_obj = response.response_content
                self.id = json_obj['routingAreaID']
                self.name = json_obj['routingAreaName']
                self.description = json_obj['routingAreaDescription']
                self.type = json_obj['routingAreaType']
                self.multicast = json_obj['routingAreaMulticast']
                self.loc_ids = json_obj['routingAreaLocationsID']
                self.subnet_ids = json_obj['routingAreaSubnetsID']
            else:
                LOGGER.warning(
                    'RoutingArea.sync - Problem while syncing routing area (name:' + self.name + ', id:' +
                    str(self.id) + '). Reason: ' + str(response.response_content) + '-' + str(response.error_message) +
                    " (" + str(response.rc) + ")"
                )