# Return to the knowledge base
Category

Maybe a ‘Device’ should be learned on a different IP address, or it should be not added at all. This is possible with the ‘Ignore Device’ Transform rule. We can create a rule with a condition, and when the condition matches, all matching devices will not be added or updated in the inventory.

Why is this useful?

  • Make sure the device is learned on the right IP
  • Exclude devices based on your own logic

 

Enable the ‘Ignore Device’ rule:

  • Go in the Menu to Admin
  • Click on Rules
  • Pick the Tab Transform Rules
  • Now choose Device Finder
  • Click on the orange Add button
  • Set the Name as ‘Ignore Device’
  • Write a Condition that fits your purpose, for example all device types called generic
    device_type == 'generic'
  • Add the following in the Jinja Template
    {% do data.update({'ignore': true}) %}
  • Un-check Disabled and click on Save

 

Ignore Device rule

Would you like a hands-on session?

A couple times a week our in-house trainer is available for a private or group session. In this session we can cover our Slurp'it or Mock'it solution but also integrations with Netpicker, NetBox, Nautobot & Infrahub.

Yes, keep me informed

Connect with us on LinkedIn to stay updated on the latest happenings, news, and exciting developments at Slurp’it. Just click the button below to follow us and be a part of our professional network.

Newsletter


By submitting this form, I confirm that I have read and agree to the Slurp’it privacy policy.