public static base_responses add ( nitro_service client , nd6 resources [ ] ) throws Exception { base_responses result = null ; if ( resources != null && resources . length > 0 ) { nd6 addresources [ ] = new nd6 [ resources . length ] ; for ( int i = 0 ; i < resources . length ; i ++ ) { addresources [ i ] = new nd6 ( ) ; addresources [ i ] . neighbor = resources [ i ] . neighbor ; addresources [ i ] . mac = resources [ i ] . mac ; addresources [ i ] . ifnum = resources [ i ] . ifnum ; addresources [ i ] . vlan = resources [ i ] . vlan ; addresources [ i ] . td = resources [ i ] . td ; } result = add_bulk_request ( client , addresources ) ; } return result ; }
Use this API to add nd6 resources .