Send Netdot-users mailing list submissions to netdot-users@osl.uoregon.edu
To subscribe or unsubscribe via the World Wide Web, visit https://osl.uoregon.edu/mailman/listinfo/netdot-users or, via email, send a message with subject or body 'help' to netdot-users-requ...@osl.uoregon.edu You can reach the person managing the list at netdot-users-ow...@osl.uoregon.edu When replying, please edit your Subject line so it is more specific than "Re: Contents of Netdot-users digest..." Today's Topics: 1. Re: Using API to search for IPBlock custom attributes (Matej Vadnjal) ---------------------------------------------------------------------- Message: 1 Date: Mon, 7 Aug 2017 08:10:47 +0200 From: Matej Vadnjal <matej.vadn...@arnes.si> Subject: Re: [Netdot-users] Using API to search for IPBlock custom attributes To: netdot-users@osl.uoregon.edu, "Sparks, Alan (GSTS-SDO)" <alan.l.spa...@hpe.com> Message-ID: <39332ea2-5bc6-2e15-a5e9-ef41fa48b...@arnes.si> Content-Type: text/plain; charset="windows-1252" Hi Alan I haven't tested this, but I think you could filter for the wanted IpblockAttr and then get all subnets that have that attribute from that. Kind regards Matej On 07/14/2017 10:14 PM, Sparks, Alan (GSTS-SDO) wrote: > > I?m researching how I could implement something like the following in > Netdot using pynetdot. Can?t find any hints Googling, so? > > I?m considering ?tagging? IP blocks using the custom attributes > functionality. For instance, to tag which region the block is > assigned to, production or nonproduction, etc. Was looking for some > way to search IP blocks then for those attributes, to find the > specific container I need to allocate from. > > I haven?t been able to find anything on how (or if I could) search > with pynetdot (or the API) for an ipblock with a given custom > attribute name and value. Has anyone done that? Otherwise, it would > appear I?d have to enumerate all the containers and their attributes > and filter by hand. Was hoping there?s a better way. > > Any suggestions on what I might look at appreciated. > > -Alan > > > > _______________________________________________ > Netdot-users mailing list > Netdot-users@osl.uoregon.edu > https://osl.uoregon.edu/mailman/listinfo/netdot-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://osl.uoregon.edu/pipermail/netdot-users/attachments/20170807/554c32b4/attachment-0001.html ------------------------------ _______________________________________________ Netdot-users mailing list Netdot-users@osl.uoregon.edu https://osl.uoregon.edu/mailman/listinfo/netdot-users End of Netdot-users Digest, Vol 100, Issue 4 ********************************************