Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.10.0
-
Fix Version/s: 1.10.10
-
Component/s: Provisioning/Discovery/Capsd/Provisiond
-
Security Level: Default (Default Security Scheme)
-
Labels:None
-
Environment:JDK 1.6u30
CentOS 6.2
Description
Defining a MatchingIpInterfacePolicy doesn't actually seem to affect the discovery of nodes in any way.
These steps should reproduce the problem:
Lets say you have a bunch of nodes in the 172.16.48.1-255 range. And you want to exclude a certain node with ip 172.16.48.188.
1. Do a clean install of OpenNMS 1.10.0
2. Create a provisioning group with the following:
<foreign-source date-stamp="2012-02-02T19:30:46.429+01:00" name="Default" xmlns="http://xmlns.opennms.org/xsd/config/foreign-source">
<!-- bla bla -->
<policies>
<policy class="org.opennms.netmgt.provision.persist.policies.MatchingIpInterfacePolicy" name="test">
<parameter value="DO_NOT_PERSIST" key="action"/>
<parameter value="ALL_PARAMETERS" key="matchBehavior"/>
<parameter value="172.16.48.188" key="ipAddress"/>
</policy>
</policies>
</foreign-source>
3. Set up discovery to scan the 172.16.48.1-255 range
4. Watch as OpenNMS includes 172.16.18.188 in spite of your policy.
These steps should reproduce the problem:
Lets say you have a bunch of nodes in the 172.16.48.1-255 range. And you want to exclude a certain node with ip 172.16.48.188.
1. Do a clean install of OpenNMS 1.10.0
2. Create a provisioning group with the following:
<foreign-source date-stamp="2012-02-02T19:30:46.429+01:00" name="Default" xmlns="http://xmlns.opennms.org/xsd/config/foreign-source">
<!-- bla bla -->
<policies>
<policy class="org.opennms.netmgt.provision.persist.policies.MatchingIpInterfacePolicy" name="test">
<parameter value="DO_NOT_PERSIST" key="action"/>
<parameter value="ALL_PARAMETERS" key="matchBehavior"/>
<parameter value="172.16.48.188" key="ipAddress"/>
</policy>
</policies>
</foreign-source>
3. Set up discovery to scan the 172.16.48.1-255 range
4. Watch as OpenNMS includes 172.16.18.188 in spite of your policy.
Activity
Benjamin Reed
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.10.1 [ 10823 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.10.1 [ 10823 ] | |
| Fix Version/s | 1.10.2 [ 11032 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.10.2 [ 11032 ] | |
| Fix Version/s | 1.11.1 [ 11123 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.11.1 [ 11123 ] | |
| Fix Version/s | 1.10.3 [ 11122 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.10.3 [ 11122 ] | |
| Fix Version/s | 1.10.4 [ 11220 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.10.4 [ 11220 ] | |
| Fix Version/s | 1.10.5 [ 11221 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.10.5 [ 11221 ] | |
| Fix Version/s | 1.10.6 [ 11322 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.10.6 [ 11322 ] | |
| Fix Version/s | 1.10.7 [ 11421 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.10.7 [ 11421 ] | |
| Fix Version/s | 1.10.8 [ 11430 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.10.8 [ 11430 ] | |
| Fix Version/s | 1.10.9 [ 11528 ] |
Benjamin Reed
made changes -
| Fix Version/s | 1.10.9 [ 11528 ] | |
| Fix Version/s | 1.10.10 [ 11721 ] |