Thanks Daniel for your response. It overall does not address my concerns/query. I guess I have not given sufficient data to you in my query.
We are using javax.management.snmp APIs. In our Management application, we want to parse the OID data (from a SNMP GET request or a trap), where in the OID type is an IPAddress and the value can be either IPv4 or IPv6 address. To represent this we are using "?javax.management.snmp. SnmpIpAddress" class. This supports IPv4 addresses only. I also checked on the Open DMK site: https://opendmk.dev.java.net/download/index.html#opendmk-1.0-b02 and downloaded - opendmk-1.0-b02-src-dual-01-Oct-2007_19-17-46.zip The class - OpenDMK-src\src\snmp_manager\com\sun\management\snmp \SnmpIpAddress.java (Attached here: (See attached file: SnmpIpAddress.java) ) does not have IPv6 support. Are you aware of any implementation of such APIs which has got IPv6 support ? If I see the J2SE JMX API specs @ http://java.sun.com/j2se/1.5.0/docs/guide/jmx/spec.html, "javax.management.snmp" is not there. Looks like formal support for SNMP APIs has been dropped by sun. Regards -Nitin Daniel Fuchs <[EMAIL PROTECTED] .COM> To Sent by: Nitin Agrawal/San [EMAIL PROTECTED] Francisco/Contr/[EMAIL PROTECTED] COM cc jmx-dev <[email protected]>, Ken Ellinwood/Los Angeles/[EMAIL PROTECTED] 05/05/2008 09:57 Subject PM Re: jmx-dev Query: IPv6 Support in JMX SNMP APIs Please respond to [EMAIL PROTECTED] COM Hi, Yes, IPv6 is supported. You can specify IPv6 addresses in the ACL files, and you can specify a specific interface to which to bind to (if you want to bind to an interface which is not the default) using the com.sun.management.snmp.interface property. for instance, you can define: com.sun.management.snmp.interface=::1 See <jdk-install>/jre/lib/management/snmp.acl.template and <jdk-install>/jre/lib/management/management.properties Hope this helps, -- daniel http://blogs.sun.com/jmxetc. Nitin Agrawal wrote: > Hi > > Apologies if it is a repeat question, but I could not find an answer to > it on http://openjdk.java.net/groups/jmx/ and in the mailing list archives. > > *Is IPv6 supported* in JMX SNMP APIs (javax.management and sub-packages) > with JDK 1.5? I have searched on Sun's site and googled it, but could > not get any lead on it. > > In our application, we are using these APIs which are only IPv4 > compliant. We are adding IPv6 support and hence this query. > > If there is already IPv6 support available for 1.5, please point me to > it. If it is not, then:- > - Please let me know in case if it supported in JDK 1.6 or even here > there is no support for IPv6. > > If there is not support anywhere, we need to go with DIY approach and > (re-)invent the wheel. > > Will appreciate any thoughts/pointers on this. > > Regards > -Nitin Agrawal >
<<inline: graycol.gif>>
<<inline: pic05136.gif>>
<<inline: ecblank.gif>>
SnmpIpAddress.java
Description: Binary data
