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 ) ; }
Use this API to add iptunnel .