{"id":3901,"date":"2020-01-20T18:53:32","date_gmt":"2020-01-21T02:53:32","guid":{"rendered":"https:\/\/live-infoblox-blog.pantheonsite.io\/?p=3901"},"modified":"2020-05-06T10:26:52","modified_gmt":"2020-05-06T17:26:52","slug":"netmri-scripting-add-networks-to-discovery","status":"publish","type":"post","link":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/","title":{"rendered":"Get networks from IPAM and add to NetMRI for Discovery"},"content":{"rendered":"<p>So a customer that has been running Infoblox IPAM for a while wanted to start using NetMRI to discover most of their networks but didn&#8217;t want to manually enter in every network again.<\/p>\n<p>Solution:<\/p>\n<blockquote><p>Use <a href=\"https:\/\/www.python.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">Python<\/a> with in NetMRI to make a &#8220;<a href=\"https:\/\/requests.readthedocs.io\/en\/master\/\" target=\"_blank\" rel=\"noopener noreferrer\">request<\/a>&#8221; call to their IPAM and create the networks automatically<\/p><\/blockquote>\n<p>The way we approach this problem since we didn&#8217;t want to add all the networks that are currently in IPAM to NetMRI for Discovery.\u00a0 We decided to use <a href=\"https:\/\/docs.infoblox.com\/display\/NAG8\/About+Extensible+Attributes\" target=\"_blank\" rel=\"noopener noreferrer\">Extensible Attributes<\/a> in IPAM called &#8220;NETMRI&#8221; and set the value to &#8220;Add&#8221; and once the network was added to NetMRI we would update the EA-NetMRI to &#8220;Done&#8221;<\/p>\n<p>The next two pictures will show before I run the script:<\/p>\n<p>IPAM:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-4402 size-large\" src=\"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/before_ipam-1024x527.jpg\" alt=\"\" width=\"1024\" height=\"527\" srcset=\"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/before_ipam-1024x527.jpg 1024w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/before_ipam-300x154.jpg 300w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/before_ipam-768x395.jpg 768w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/before_ipam.jpg 1314w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><br \/>\nNetMRI:<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4403\" src=\"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/before_netmri.jpg\" alt=\"\" width=\"972\" height=\"312\" srcset=\"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/before_netmri.jpg 972w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/before_netmri-300x96.jpg 300w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/before_netmri-768x247.jpg 768w\" sizes=\"auto, (max-width: 972px) 100vw, 972px\" \/><\/p>\n<p>This is the following script that will make the changes:<\/p>\n<pre>import requests\r\nimport json\r\n\r\nrequests.packages.urllib3.disable_warnings()\r\n\r\ngm_user = \"admin\"\r\ngm_pwd = \"infoblox\"\r\nurl = \"https:\/\/192.168.0.200\/wapi\/v2.7\/\"\r\ns = requests.Session()\r\ns.auth = (gm_user, gm_pwd)\r\nmri_url = \"192.168.0.201\"\r\nmri_user = \"admin\"\r\nmri_pwd = \"netmripassword\"\r\n\r\ndef get_networks_to_add():\r\n    # We are going to search an EA called NetMRI and look for any value of ADD\r\n    querystring = {\"_return_fields+\": \"extattrs\", \"*NetMRI:\": \"Add\"}\r\n    # We are using the API Network method\r\n    url2 = url + \"network\"\r\n    response = s.get(url2,  params=querystring, verify=False)\r\n\r\n    if response.status_code == 200:\r\n        return json.loads(response.content.decode('utf-8'))\r\n    else:\r\n        return None\r\n\r\n\r\ndef add_network_mri(net_new):\r\n    url3 = \"https:\/\/\" + mri_url + \"\/api\/3.3\/discovery_settings\/create\"\r\n    payload = \"{\\n\\t\\\"range_value\\\" : \\\"\" + net_new + \\\r\n        \"\\\",\\n\\t\\\"range_type\\\" : \\\"CIDR\\\",\\n\\t\\\"discovery_status\\\" : \\\"INCLUDE\\\"\\n}\"\r\n    headers = {'Content-Type': \"application\/json\"}\r\n    response = requests.post(url3,  data=payload, verify=False,\r\n                     auth=(mri_user, mri_pwd), headers=headers)\r\n    if response.status_code == 201:\r\n        return json.loads(response.content.decode('utf-8'))\r\n    else:\r\n        return None\r\n\r\ndef update_network_ea(ea):\r\n    url1 = url + ea\r\n    payload = \"{\\\"extattrs\\\": { \\\"NetMRI\\\": { \\\"value\\\": \\\"Done\\\"}} }\"\r\n    headers = {'Content-Type': \"application\/json\"}\r\n    response = s.put( url1,  data=payload, verify=False, auth=(gm_user, gm_pwd), headers=headers)\r\n\r\n    if response.status_code == 200:\r\n        return json.loads(response.content.decode('utf-8'))\r\n    else:\r\n        return None\r\n\r\n\r\naccount_info = get_networks_to_add()\r\n#print(account_info)\r\nif account_info is not None:\r\n    print(\"Found the following network(s) will be added to NetMRI: \")\r\n    for k in account_info:\r\n        new_net_mri = k['network']\r\n        add_netmri = add_network_mri(new_net_mri)\r\n        if add_netmri is not None:\r\n            print(\"[+] Added network \" + new_net_mri + \" for discovery\")\r\n            ea = k['_ref'] \r\n            done = update_network_ea(ea)\r\n            if done is not None:\r\n                print(\"[+] Updated EA for \" + k['network'])\r\n            else:\r\n                print('[-] EA Update Request Failed' )\r\n        else:\r\n                print('[-] Update to NetMRI Failed' + k['network'])\r\n\r\n\r\nelse:\r\n    print('[-] Request Failed')\r\n\r\n<\/pre>\n<p>Results from running the script:<\/p>\n<p>IPAM:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4400\" src=\"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/after_ipam.jpg\" alt=\"\" width=\"1290\" height=\"708\" srcset=\"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/after_ipam.jpg 1290w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/after_ipam-300x165.jpg 300w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/after_ipam-768x422.jpg 768w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/after_ipam-1024x562.jpg 1024w\" sizes=\"auto, (max-width: 1290px) 100vw, 1290px\" \/><\/p>\n<p>NetMRI:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4401\" src=\"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/after_netmri.jpg\" alt=\"\" width=\"1004\" height=\"318\" srcset=\"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/after_netmri.jpg 1004w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/after_netmri-300x95.jpg 300w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/after_netmri-768x243.jpg 768w\" sizes=\"auto, (max-width: 1004px) 100vw, 1004px\" \/><\/p>\n<p>Script results:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4404\" src=\"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/script.jpg\" alt=\"\" width=\"930\" height=\"150\" srcset=\"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/script.jpg 930w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/script-300x48.jpg 300w, https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/script-768x124.jpg 768w\" sizes=\"auto, (max-width: 930px) 100vw, 930px\" \/><\/p>\n<p>You can find this script and others at our <a href=\"https:\/\/github.com\/infobloxopen\/netmri-toolkit\" target=\"_blank\" rel=\"noopener noreferrer\">GitHub Page<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>So a customer that has been running Infoblox IPAM for a while wanted to start using NetMRI to discover most of their networks but didn&#8217;t want to manually enter in every network again. Solution: Use Python with in NetMRI to make a &#8220;request&#8221; call to their IPAM and create the networks automatically The way we [&hellip;]<\/p>\n","protected":false},"author":260,"featured_media":1416,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[3],"tags":[159,16,145,180],"class_list":{"0":"post-3901","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-community","8":"tag-automation","9":"tag-infoblox","10":"tag-netmri","11":"tag-python","12":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Get networks from IPAM and add to NetMRI for Discovery - Infoblox Blog<\/title>\n<meta name=\"description\" content=\"Infoblox IPAM for a while wanted to start using NetMRI to discover most of their networks but didn&#039;t want to manually enter in every network again.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Get networks from IPAM and add to NetMRI for Discovery\" \/>\n<meta property=\"og:description\" content=\"Infoblox IPAM for a while wanted to start using NetMRI to discover most of their networks but didn&#039;t want to manually enter in every network again.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/\" \/>\n<meta property=\"og:site_name\" content=\"Infoblox Blog\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-21T02:53:32+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-05-06T17:26:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/feb-20.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"660\" \/>\n\t<meta property=\"og:image:height\" content=\"454\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sif Baksh\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sif Baksh\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/\"},\"author\":{\"name\":\"Sif Baksh\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/person\\\/d78ba19c60e3345e0b057ecb0f990108\"},\"headline\":\"Get networks from IPAM and add to NetMRI for Discovery\",\"datePublished\":\"2020-01-21T02:53:32+00:00\",\"dateModified\":\"2020-05-06T17:26:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/\"},\"wordCount\":162,\"publisher\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/feb-20.jpg\",\"keywords\":[\"automation\",\"Infoblox\",\"NetMRI\",\"Python\"],\"articleSection\":[\"Community\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/\",\"name\":\"Get networks from IPAM and add to NetMRI for Discovery - Infoblox Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/feb-20.jpg\",\"datePublished\":\"2020-01-21T02:53:32+00:00\",\"dateModified\":\"2020-05-06T17:26:52+00:00\",\"description\":\"Infoblox IPAM for a while wanted to start using NetMRI to discover most of their networks but didn't want to manually enter in every network again.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/feb-20.jpg\",\"contentUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/feb-20.jpg\",\"width\":660,\"height\":454,\"caption\":\"NetMRI - Customized Configuration Collection\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/community\\\/netmri-scripting-add-networks-to-discovery\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Community\",\"item\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/category\\\/community\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get networks from IPAM and add to NetMRI for Discovery\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/\",\"name\":\"infoblox.com\\\/blog\\\/\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#organization\",\"name\":\"Infoblox\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-logo-2.svg\",\"contentUrl\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/wp-content\\\/uploads\\\/infoblox-logo-2.svg\",\"width\":137,\"height\":30,\"caption\":\"Infoblox\"},\"image\":{\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/#\\\/schema\\\/person\\\/d78ba19c60e3345e0b057ecb0f990108\",\"name\":\"Sif Baksh\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/blogs.infoblox.com\\\/wp-content\\\/uploads\\\/avatar_user_260_1582930725-96x96.jpg\",\"url\":\"https:\\\/\\\/blogs.infoblox.com\\\/wp-content\\\/uploads\\\/avatar_user_260_1582930725-96x96.jpg\",\"contentUrl\":\"https:\\\/\\\/blogs.infoblox.com\\\/wp-content\\\/uploads\\\/avatar_user_260_1582930725-96x96.jpg\",\"caption\":\"Sif Baksh\"},\"description\":\"Sif is a Principal Sales Engineer at Infoblox where he provides technical expertise regarding Infoblox solutions with a focus on Network Automation and Cybersecurity. He has been with Infoblox for over 7 years, starting in the Professional Services org where he performed NetMRI deployments at many of the largest companies in the world. Outside of work, Sif can be found at the local hackerspace where he volunteers as a leading cybersecurity educator. Online he can be found @sifbaksh running the regex daily channel.\",\"sameAs\":[\"https:\\\/\\\/sifbaksh.com\\\/\"],\"url\":\"https:\\\/\\\/www.infoblox.com\\\/blog\\\/author\\\/sif-baksh\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Get networks from IPAM and add to NetMRI for Discovery - Infoblox Blog","description":"Infoblox IPAM for a while wanted to start using NetMRI to discover most of their networks but didn't want to manually enter in every network again.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/","og_locale":"en_US","og_type":"article","og_title":"Get networks from IPAM and add to NetMRI for Discovery","og_description":"Infoblox IPAM for a while wanted to start using NetMRI to discover most of their networks but didn't want to manually enter in every network again.","og_url":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/","og_site_name":"Infoblox Blog","article_published_time":"2020-01-21T02:53:32+00:00","article_modified_time":"2020-05-06T17:26:52+00:00","og_image":[{"width":660,"height":454,"url":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/feb-20.jpg","type":"image\/jpeg"}],"author":"Sif Baksh","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sif Baksh","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/#article","isPartOf":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/"},"author":{"name":"Sif Baksh","@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/person\/d78ba19c60e3345e0b057ecb0f990108"},"headline":"Get networks from IPAM and add to NetMRI for Discovery","datePublished":"2020-01-21T02:53:32+00:00","dateModified":"2020-05-06T17:26:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/"},"wordCount":162,"publisher":{"@id":"https:\/\/www.infoblox.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/#primaryimage"},"thumbnailUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/feb-20.jpg","keywords":["automation","Infoblox","NetMRI","Python"],"articleSection":["Community"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/","url":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/","name":"Get networks from IPAM and add to NetMRI for Discovery - Infoblox Blog","isPartOf":{"@id":"https:\/\/www.infoblox.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/#primaryimage"},"image":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/#primaryimage"},"thumbnailUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/feb-20.jpg","datePublished":"2020-01-21T02:53:32+00:00","dateModified":"2020-05-06T17:26:52+00:00","description":"Infoblox IPAM for a while wanted to start using NetMRI to discover most of their networks but didn't want to manually enter in every network again.","breadcrumb":{"@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/#primaryimage","url":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/feb-20.jpg","contentUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/feb-20.jpg","width":660,"height":454,"caption":"NetMRI - Customized Configuration Collection"},{"@type":"BreadcrumbList","@id":"https:\/\/www.infoblox.com\/blog\/community\/netmri-scripting-add-networks-to-discovery\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.infoblox.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Community","item":"https:\/\/www.infoblox.com\/blog\/category\/community\/"},{"@type":"ListItem","position":3,"name":"Get networks from IPAM and add to NetMRI for Discovery"}]},{"@type":"WebSite","@id":"https:\/\/www.infoblox.com\/blog\/#website","url":"https:\/\/www.infoblox.com\/blog\/","name":"infoblox.com\/blog\/","description":"","publisher":{"@id":"https:\/\/www.infoblox.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.infoblox.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.infoblox.com\/blog\/#organization","name":"Infoblox","url":"https:\/\/www.infoblox.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-logo-2.svg","contentUrl":"https:\/\/www.infoblox.com\/blog\/wp-content\/uploads\/infoblox-logo-2.svg","width":137,"height":30,"caption":"Infoblox"},"image":{"@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.infoblox.com\/blog\/#\/schema\/person\/d78ba19c60e3345e0b057ecb0f990108","name":"Sif Baksh","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/avatar_user_260_1582930725-96x96.jpg","url":"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/avatar_user_260_1582930725-96x96.jpg","contentUrl":"https:\/\/blogs.infoblox.com\/wp-content\/uploads\/avatar_user_260_1582930725-96x96.jpg","caption":"Sif Baksh"},"description":"Sif is a Principal Sales Engineer at Infoblox where he provides technical expertise regarding Infoblox solutions with a focus on Network Automation and Cybersecurity. He has been with Infoblox for over 7 years, starting in the Professional Services org where he performed NetMRI deployments at many of the largest companies in the world. Outside of work, Sif can be found at the local hackerspace where he volunteers as a leading cybersecurity educator. Online he can be found @sifbaksh running the regex daily channel.","sameAs":["https:\/\/sifbaksh.com\/"],"url":"https:\/\/www.infoblox.com\/blog\/author\/sif-baksh\/"}]}},"_links":{"self":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts\/3901","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/users\/260"}],"replies":[{"embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/comments?post=3901"}],"version-history":[{"count":8,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts\/3901\/revisions"}],"predecessor-version":[{"id":4408,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/posts\/3901\/revisions\/4408"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/media\/1416"}],"wp:attachment":[{"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/media?parent=3901"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/categories?post=3901"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.infoblox.com\/blog\/wp-json\/wp\/v2\/tags?post=3901"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}