gladiopeace / commscale

Automatically exported from code.google.com/p/commscale
0 stars 0 forks source link

Remove redundancy in xml descriptors #10

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently SNMP xml files require a lot of redundancy ( it seems ) for instance:

<mapping name="sleeManagement" 
notification-type="javax.slee.management.sleestatechange" generic="6" 
specific="10" enterprise=".1.3.6.1.4.1.2312.101.1.100.1" 
definition-name="sleeManagementNotifications" security-name="TEST">
    <var-bind-list wrapper-class="org.mobicents.slee.tools.snmp.SleeStateNotificationWrapperSupport">
        <var-bind tag="n:oldState" oid="1.3.6.1.4.1.2312.101.1.100.1.101" type="OCTET STRING"/>
        <var-bind tag="n:newState" oid="1.3.6.1.4.1.2312.101.1.100.1.102" type="OCTET STRING"/>
    </var-bind-list>               
  </mapping>

'enterprise' is a prefix of OID, but OID requires bull definition.

Original issue reported on code.google.com by baran...@gmail.com on 27 Jan 2013 at 10:26