<pre>
Use this operation to add ns ip on NS Instance.
</pre>
7443
public static ns_ns_ip add(nitro_service client, ns_ns_ip resource) throws Exception
	{
		resource.validate("add");
		return ((ns_ns_ip[]) resource.perform_operation(client, "add"))[0];
	}
1060319
public static base_response add(nitro_service client, nsxmlnamespace resource) throws Exception {
		nsxmlnamespace addresource = new nsxmlnamespace();
		addresource.prefix = resource.prefix;
		addresource.Namespace = resource.Namespace;
		return addresource.add_resource(client);
	}
50167
public static base_response add(nitro_service client, service resource) throws Exception {
		service addresource = new service();
		addresource.name = resource.name;
		addresource.ip = resource.ip;
		addresource.servername = resource.servername;
		addresource.servicetype = resource.servicetype;
		addresource.port = resource.port;
		addresource.cleartextport = resource.cleartextport;
		addresource.cachetype = resource.cachetype;
		addresource.maxclient = resource.maxclient;
		addresource.healthmonitor = resource.healthmonitor;
		addresource.maxreq = resource.maxreq;
		addresource.cacheable = resource.cacheable;
		addresource.cip = resource.cip;
		addresource.cipheader = resource.cipheader;
		addresource.usip = resource.usip;
		addresource.pathmonitor = resource.pathmonitor;
		addresource.pathmonitorindv = resource.pathmonitorindv;
		addresource.useproxyport = resource.useproxyport;
		addresource.sc = resource.sc;
		addresource.sp = resource.sp;
		addresource.rtspsessionidremap = resource.rtspsessionidremap;
		addresource.clttimeout = resource.clttimeout;
		addresource.svrtimeout = resource.svrtimeout;
		addresource.customserverid = resource.customserverid;
		addresource.serverid = resource.serverid;
		addresource.cka = resource.cka;
		addresource.tcpb = resource.tcpb;
		addresource.cmp = resource.cmp;
		addresource.maxbandwidth = resource.maxbandwidth;
		addresource.accessdown = resource.accessdown;
		addresource.monthreshold = resource.monthreshold;
		addresource.state = resource.state;
		addresource.downstateflush = resource.downstateflush;
		addresource.tcpprofilename = resource.tcpprofilename;
		addresource.httpprofilename = resource.httpprofilename;
		addresource.hashid = resource.hashid;
		addresource.comment = resource.comment;
		addresource.appflowlog = resource.appflowlog;
		addresource.netprofile = resource.netprofile;
		addresource.td = resource.td;
		return addresource.add_resource(client);
	}
1019460
public static ns_device_profile add(nitro_service client, ns_device_profile resource) throws Exception
	{
		resource.validate("add");
		return ((ns_device_profile[]) resource.perform_operation(client, "add"))[0];
	}
1093107
public static base_response add(nitro_service client, ip6tunnel resource) throws Exception {
		ip6tunnel addresource = new ip6tunnel();
		addresource.name = resource.name;
		addresource.remote = resource.remote;
		addresource.local = resource.local;
		return addresource.add_resource(client);
	}
1165646
public static base_response add(nitro_service client, dnsnameserver resource) throws Exception {
		dnsnameserver addresource = new dnsnameserver();
		addresource.ip = resource.ip;
		addresource.dnsvservername = resource.dnsvservername;
		addresource.local = resource.local;
		addresource.state = resource.state;
		addresource.type = resource.type;
		return addresource.add_resource(client);
	}
1142467
public static base_responses add(nitro_service client, dnssuffix resources[]) throws Exception {
		base_responses result = null;
		if (resources != null && resources.length > 0) {
			dnssuffix addresources[] = new dnssuffix[resources.length];
			for (int i=0;i<resources.length;i++){
				addresources[i] = new dnssuffix();
				addresources[i].Dnssuffix = resources[i].Dnssuffix;
			}
			result = add_bulk_request(client, addresources);
		}
		return result;
	}
433290
public static base_response add(nitro_service client, dnsmxrec resource) throws Exception {
		dnsmxrec addresource = new dnsmxrec();
		addresource.domain = resource.domain;
		addresource.mx = resource.mx;
		addresource.pref = resource.pref;
		addresource.ttl = resource.ttl;
		return addresource.add_resource(client);
	}
1274290
@Override
	public Result<Void> addAdminToNS(AuthzTrans trans, HttpServletResponse resp, String ns, String id) {
		TimeTaken tt = trans.start(ADD_NS_ADMIN + ' ' + ns + ' ' + id, Env.SUB|Env.ALWAYS);
		try {
			Result<Void> rp = service.addAdminNS(trans,ns,id);
			switch(rp.status) {
				case OK: 
					//TODO Perms??
					setContentType(resp,nsRequestDF.getOutType());
					resp.getOutputStream().println();
					return Result.ok();
				default:
					return Result.err(rp);
			}
		} catch (Exception e) {
			trans.error().log(e,IN,ADD_NS_ADMIN);
			return Result.err(e);
		} finally {
			tt.done();
		}
	}
267537
def add_ip(self,oid,value,label=None):
		""""""
		self.add_oid_entry(oid,'IPADDRESS',value,label=label)
333204
public static base_response add(nitro_service client, vlan resource) throws Exception {
		vlan addresource = new vlan();
		addresource.id = resource.id;
		addresource.aliasname = resource.aliasname;
		addresource.ipv6dynamicrouting = resource.ipv6dynamicrouting;
		return addresource.add_resource(client);
	}
838474
public static base_response add(nitro_service client, forwardingsession resource) throws Exception {
		forwardingsession addresource = new forwardingsession();
		addresource.name = resource.name;
		addresource.network = resource.network;
		addresource.netmask = resource.netmask;
		addresource.acl6name = resource.acl6name;
		addresource.aclname = resource.aclname;
		addresource.connfailover = resource.connfailover;
		return addresource.add_resource(client);
	}
1000982
public static base_response add(nitro_service client, iptunnel resource) throws Exception {
		iptunnel addresource = new iptunnel();
		addresource.name = resource.name;
		addresource.remote = resource.remote;
		addresource.remotesubnetmask = resource.remotesubnetmask;
		addresource.local = resource.local;
		addresource.protocol = resource.protocol;
		addresource.ipsecprofilename = resource.ipsecprofilename;
		return addresource.add_resource(client);
	}
975889
public static base_response add(nitro_service client, snmpuser resource) throws Exception {
		snmpuser addresource = new snmpuser();
		addresource.name = resource.name;
		addresource.group = resource.group;
		addresource.authtype = resource.authtype;
		addresource.authpasswd = resource.authpasswd;
		addresource.privtype = resource.privtype;
		addresource.privpasswd = resource.privpasswd;
		return addresource.add_resource(client);
	}
283139
public static base_response add(nitro_service client, ipsecprofile resource) throws Exception {
		ipsecprofile addresource = new ipsecprofile();
		addresource.name = resource.name;
		addresource.ikeversion = resource.ikeversion;
		addresource.encalgo = resource.encalgo;
		addresource.hashalgo = resource.hashalgo;
		addresource.lifetime = resource.lifetime;
		addresource.psk = resource.psk;
		addresource.publickey = resource.publickey;
		addresource.privatekey = resource.privatekey;
		addresource.peerpublickey = resource.peerpublickey;
		addresource.livenesscheckinterval = resource.livenesscheckinterval;
		addresource.replaywindowsize = resource.replaywindowsize;
		addresource.ikeretryinterval = resource.ikeretryinterval;
		addresource.retransmissiontime = resource.retransmissiontime;
		return addresource.add_resource(client);
	}
986633
public static ns update(nitro_service client, ns resource) throws Exception
	{
		resource.validate("modify");
		return ((ns[]) resource.update_resource(client))[0];
	}
460028
public static ns start(nitro_service client, ns resource) throws Exception
	{
		return ((ns[]) resource.perform_operation(client, "start"))[0];
	}