Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9345

provision.pl does not create interfaces

    Details

    • Sprint:
      Horizon - May 24th

      Description

      Since upgrade to V19.1.0 my provisioning scripts don't work anymore.
      They don't create interfaces.

      Sample:

      usr/share/opennms/bin/provision.pl --username admin --password admin requisition add PROVTEST2
      /usr/share/opennms/bin/provision.pl --username admin --password admin node add PROVTEST2 20170513_02 TESTNODE02
      
      /usr/share/opennms/bin/provision.pl --username admin --password admin interface add PROVTEST2 20170513_02 192.168.200.253
      /usr/share/opennms/bin/provision.pl --username admin --password admin interface set PROVTEST2 20170513_02 192.168.200.253 descr mgmt
      /usr/share/opennms/bin/provision.pl --username admin --password admin interface set PROVTEST2 20170513_02 192.168.200.253 snmp-primary P
      /usr/share/opennms/bin/provision.pl --username admin --password admin service add PROVTEST2 20170513_02 192.168.200.253 ICMP
      
      /usr/share/opennms/bin/provision.pl --username admin --password admin asset add PROVTEST2 20170513_02 description 'TESTNODE02 provision.pl'
      /usr/share/opennms/bin/provision.pl --username admin --password admin asset add PROVTEST2 20170513_02 country Germany
      
      /usr/share/opennms/bin/provision.pl --username admin --password admin requisition import PROVTEST2 rescanExisting false
      

      Results in:

      <model-import xmlns="http://xmlns.opennms.org/xsd/config/model-import" date-stamp="2017-05-13T14:47:19.581+02:00" foreign-source="PROVTEST2" last-import="2017-05-13T14:47:22.403+02:00">
         <node foreign-id="20170513_02" node-label="TESTNODE02">
            <asset name="country" value="Germany"/>
            <asset name="description" value="TESTNODE02 provision.pl"/>
         </node>
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                j-white Jesse White
                Reporter:
                NoSt Norbert Steinhoff
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: