public static base_response add ( nitro_service client , clusternode resource ) throws Exception { clusternode addresource = new clusternode ( ) ; addresource . nodeid = resource . nodeid ; addresource . ipaddress = resource . ipaddress ; addresource . state = resource . state ; addresource . backplane = resource . backplane ; addresource . priority = resource . priority ; return addresource . add_resource ( client ) ; }
Use this API to add clusternode .