Use this API to add lbroute6.
552964
public static base_response add(nitro_service client, lbroute6 resource) throws Exception {
		lbroute6 addresource = new lbroute6();
		addresource.network = resource.network;
		addresource.gatewayname = resource.gatewayname;
		return addresource.add_resource(client);
	}
438468
def add(app, url = None, path = None, endpoint=None, decorate=None, index='index.html', **options):
    """"""

    url = url or app.static_url_path or ''
    path = os.path.abspath(path or app.static_folder or '.')
    endpoint = endpoint or 'static_' + os.path.basename(path)
    decorate = decorate or (lambda f: f)
    endpoints = {}

    if path == app.static_folder:
        raise ValueError('Files in `{}` path are already automatically served on `{}` URL by Flask.'
            ' Set Flask app static_folder to None, if you want to serve them using Flask Ecstatic at `{}` URL'
            .format(path, app.static_url_path, url))

    @app.route(url + '/<path:filename>', endpoint = endpoint)
    @handle404
    @decorate
    def static_files(filename):
        if index:
            filename = safe_join(path, filename)
            if os.path.isdir(filename):
                filename = os.path.join(filename, index)
            return send_file(filename, **options)
        else:
            return send_from_directory(path, filename, **options)

    endpoints[endpoint] = static_files

    if index:
         @app.route(url + '/', endpoint = endpoint + '_index')
         @handle404
         @decorate
         def static_index():
             return send_from_directory(path, index, **options)

         endpoints[endpoint + '_index'] = static_index

         if url:
             @app.route(url, endpoint = endpoint + '_index_bare')
             @handle404
             @decorate
             def static_index_bare():
                 return send_from_directory(path, index, **options)

             endpoints[endpoint + '_index_bare'] = static_index_bare

    return endpoints
254905
public static base_responses add(nitro_service client, nspbr6 resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			nspbr6 addresources[] = new nspbr6[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new nspbr6();
				addresources[i].name = resources[i].name;
				addresources[i].td = resources[i].td;
				addresources[i].action = resources[i].action;
				addresources[i].srcipv6 = resources[i].srcipv6;
				addresources[i].srcipop = resources[i].srcipop;
				addresources[i].srcipv6val = resources[i].srcipv6val;
				addresources[i].srcport = resources[i].srcport;
				addresources[i].srcportop = resources[i].srcportop;
				addresources[i].srcportval = resources[i].srcportval;
				addresources[i].destipv6 = resources[i].destipv6;
				addresources[i].destipop = resources[i].destipop;
				addresources[i].destipv6val = resources[i].destipv6val;
				addresources[i].destport = resources[i].destport;
				addresources[i].destportop = resources[i].destportop;
				addresources[i].destportval = resources[i].destportval;
				addresources[i].srcmac = resources[i].srcmac;
				addresources[i].protocol = resources[i].protocol;
				addresources[i].protocolnumber = resources[i].protocolnumber;
				addresources[i].vlan = resources[i].vlan;
				addresources[i].Interface = resources[i].Interface;
				addresources[i].priority = resources[i].priority;
				addresources[i].state = resources[i].state;
				addresources[i].msr = resources[i].msr;
				addresources[i].monitor = resources[i].monitor;
				addresources[i].nexthop = resources[i].nexthop;
				addresources[i].nexthopval = resources[i].nexthopval;
				addresources[i].nexthopvlan = resources[i].nexthopvlan;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
1131491
private function addCustomRoutes()
    {
        foreach (Route::getRoutes() as $route) {
            $this->_router->respond($route['method'], $route['path'], $route['callback']);
        }
    }
1205268
public static base_responses add(nitro_service client, lbvserver resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			lbvserver addresources[] = new lbvserver[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new lbvserver();
				addresources[i].name = resources[i].name;
				addresources[i].servicetype = resources[i].servicetype;
				addresources[i].ipv46 = resources[i].ipv46;
				addresources[i].ippattern = resources[i].ippattern;
				addresources[i].ipmask = resources[i].ipmask;
				addresources[i].port = resources[i].port;
				addresources[i].range = resources[i].range;
				addresources[i].persistencetype = resources[i].persistencetype;
				addresources[i].timeout = resources[i].timeout;
				addresources[i].persistencebackup = resources[i].persistencebackup;
				addresources[i].backuppersistencetimeout = resources[i].backuppersistencetimeout;
				addresources[i].lbmethod = resources[i].lbmethod;
				addresources[i].hashlength = resources[i].hashlength;
				addresources[i].netmask = resources[i].netmask;
				addresources[i].v6netmasklen = resources[i].v6netmasklen;
				addresources[i].cookiename = resources[i].cookiename;
				addresources[i].rule = resources[i].rule;
				addresources[i].listenpolicy = resources[i].listenpolicy;
				addresources[i].listenpriority = resources[i].listenpriority;
				addresources[i].resrule = resources[i].resrule;
				addresources[i].persistmask = resources[i].persistmask;
				addresources[i].v6persistmasklen = resources[i].v6persistmasklen;
				addresources[i].pq = resources[i].pq;
				addresources[i].sc = resources[i].sc;
				addresources[i].rtspnat = resources[i].rtspnat;
				addresources[i].m = resources[i].m;
				addresources[i].tosid = resources[i].tosid;
				addresources[i].datalength = resources[i].datalength;
				addresources[i].dataoffset = resources[i].dataoffset;
				addresources[i].sessionless = resources[i].sessionless;
				addresources[i].state = resources[i].state;
				addresources[i].connfailover = resources[i].connfailover;
				addresources[i].redirurl = resources[i].redirurl;
				addresources[i].cacheable = resources[i].cacheable;
				addresources[i].clttimeout = resources[i].clttimeout;
				addresources[i].somethod = resources[i].somethod;
				addresources[i].sopersistence = resources[i].sopersistence;
				addresources[i].sopersistencetimeout = resources[i].sopersistencetimeout;
				addresources[i].healththreshold = resources[i].healththreshold;
				addresources[i].sothreshold = resources[i].sothreshold;
				addresources[i].sobackupaction = resources[i].sobackupaction;
				addresources[i].redirectportrewrite = resources[i].redirectportrewrite;
				addresources[i].downstateflush = resources[i].downstateflush;
				addresources[i].backupvserver = resources[i].backupvserver;
				addresources[i].disableprimaryondown = resources[i].disableprimaryondown;
				addresources[i].insertvserveripport = resources[i].insertvserveripport;
				addresources[i].vipheader = resources[i].vipheader;
				addresources[i].authenticationhost = resources[i].authenticationhost;
				addresources[i].authentication = resources[i].authentication;
				addresources[i].authn401 = resources[i].authn401;
				addresources[i].authnvsname = resources[i].authnvsname;
				addresources[i].push = resources[i].push;
				addresources[i].pushvserver = resources[i].pushvserver;
				addresources[i].pushlabel = resources[i].pushlabel;
				addresources[i].pushmulticlients = resources[i].pushmulticlients;
				addresources[i].tcpprofilename = resources[i].tcpprofilename;
				addresources[i].httpprofilename = resources[i].httpprofilename;
				addresources[i].dbprofilename = resources[i].dbprofilename;
				addresources[i].comment = resources[i].comment;
				addresources[i].l2conn = resources[i].l2conn;
				addresources[i].mssqlserverversion = resources[i].mssqlserverversion;
				addresources[i].mysqlprotocolversion = resources[i].mysqlprotocolversion;
				addresources[i].mysqlserverversion = resources[i].mysqlserverversion;
				addresources[i].mysqlcharacterset = resources[i].mysqlcharacterset;
				addresources[i].mysqlservercapabilities = resources[i].mysqlservercapabilities;
				addresources[i].appflowlog = resources[i].appflowlog;
				addresources[i].netprofile = resources[i].netprofile;
				addresources[i].icmpvsrresponse = resources[i].icmpvsrresponse;
				addresources[i].newservicerequest = resources[i].newservicerequest;
				addresources[i].newservicerequestunit = resources[i].newservicerequestunit;
				addresources[i].newservicerequestincrementinterval = resources[i].newservicerequestincrementinterval;
				addresources[i].minautoscalemembers = resources[i].minautoscalemembers;
				addresources[i].maxautoscalemembers = resources[i].maxautoscalemembers;
				addresources[i].persistavpno = resources[i].persistavpno;
				addresources[i].skippersistency = resources[i].skippersistency;
				addresources[i].td = resources[i].td;
				addresources[i].authnprofile = resources[i].authnprofile;
				addresources[i].macmoderetainvlan = resources[i].macmoderetainvlan;
				addresources[i].dbslb = resources[i].dbslb;
				addresources[i].dns64 = resources[i].dns64;
				addresources[i].bypassaaaa = resources[i].bypassaaaa;
				addresources[i].recursionavailable = resources[i].recursionavailable;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
766429
public static base_responses update(nitro_service client, route6 resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			route6 updateresources[] = new route6[resources.length];
			for (int i=0;i<resources.length;i++){
				updateresources[i] = new route6();
				updateresources[i].network = resources[i].network;
				updateresources[i].gateway = resources[i].gateway;
				updateresources[i].vlan = resources[i].vlan;
				updateresources[i].weight = resources[i].weight;
				updateresources[i].distance = resources[i].distance;
				updateresources[i].cost = resources[i].cost;
				updateresources[i].advertise = resources[i].advertise;
				updateresources[i].msr = resources[i].msr;
				updateresources[i].monitor = resources[i].monitor;
				updateresources[i].td = resources[i].td;
			}
			result = update_bulk_request(client, updateresources);
		}
		return result;
	}
1313089
def link_add(self, rel, href, **atts):
        
        self.link_set(rel, href, allow_duplicates=True, **atts)
1320948
public void addRoute(DirectionsRoute directionsRoute) {
    List<DirectionsRoute> routes = new ArrayList<>();
    routes.add(directionsRoute);
    addRoutes(routes);
  }
1118179
private void add(HttpMethod method, String url, String acceptedType, Object target) {
        RouteEntry entry = new RouteEntry();
        entry.httpMethod = method;
        entry.path = url;
        entry.target = target;
        entry.acceptedType = acceptedType;
        LOG.debug("Adds route: " + entry);
        // Adds to end of list
        routes.add(entry);
    }
512727
def add_middleware(self, middleware):
        """"""
        if self.middleware is None:
            self._middleware = []
        self.middleware.append(middleware)
634657
protected function addAppRoutes()
    {
        $routes = $this->getConfig('routes');
        if (is_array($routes)) {
            $this->getRouter()->addRoutes($routes);
        }
    }
910236
public static base_responses add(nitro_service client, route resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			route addresources[] = new route[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new route();
				addresources[i].network = resources[i].network;
				addresources[i].netmask = resources[i].netmask;
				addresources[i].gateway = resources[i].gateway;
				addresources[i].cost = resources[i].cost;
				addresources[i].td = resources[i].td;
				addresources[i].distance = resources[i].distance;
				addresources[i].cost1 = resources[i].cost1;
				addresources[i].weight = resources[i].weight;
				addresources[i].advertise = resources[i].advertise;
				addresources[i].protocol = resources[i].protocol;
				addresources[i].msr = resources[i].msr;
				addresources[i].monitor = resources[i].monitor;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
441074
def _add_routes(self):
        """"""
        if self.app.has_static_folder:
            self.add_url_rule("/favicon.ico", "favicon", self.favicon)
        self.add_url_rule("/", "__default_redirect_to_status", self.redirect_to_status)
1190669
def add_route(app, fn, context=default_context):
    
    transmute_func = TransmuteFunction(
        fn,
        args_not_from_request=["request"]
    )
    handler = create_handler(transmute_func, context=context)
    get_swagger_spec(app).add_func(transmute_func, context)

    for p in transmute_func.paths:
        aiohttp_path = _convert_to_aiohttp_path(p)
        resource = app.router.add_resource(aiohttp_path)
        for method in transmute_func.methods:
            resource.add_route(method, handler)
411491
def add(self, method, path_settings, target):
        
        self.routes.append(Route(method, path_settings, target))
        return
50281
def add(self, rule, method, target, name=None, static=False):
        '''  '''
        if static:
            depr("Use a backslash to escape ':' in routes.") # 0.9
            rule = rule.replace(':','\\:')

        if rule in self.routes:
            self.routes[rule][method.upper()] = target
        else:
            self.routes[rule] = {method.upper(): target}
            self.rules.append(rule)
            if self.static or self.dynamic: # Clear precompiler cache.
                self.static, self.dynamic = {}, {}
        if name:
            self.named[name] = (rule, None)
721219
def add_put(self, *args, **kwargs):
        
        return self.add_route(hdrs.METH_PUT, *args, **kwargs)