{"id":299,"date":"2019-01-08T08:49:53","date_gmt":"2019-01-08T08:49:53","guid":{"rendered":"https:\/\/iddles.co.uk\/?p=299"},"modified":"2019-01-08T09:52:35","modified_gmt":"2019-01-08T09:52:35","slug":"driving-cisco-aci-using-powershell","status":"publish","type":"post","link":"https:\/\/iddles.co.uk\/index.php\/2019\/01\/08\/driving-cisco-aci-using-powershell\/","title":{"rendered":"Driving Cisco ACI using PowerShell"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">One thing I have been working on for a long time is to create a set of PowerShell modules for <a href=\"https:\/\/www.cisco.com\/c\/en_uk\/solutions\/data-center-virtualization\/application-centric-infrastructure\/index.html\">Cisco ACI<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For those that don&#8217;t know ACI is Cisco&#8217;s Next Generation DataCentre switching fabric.  Kind of the next step after Nexus in NX-OS mode.  It uses modern tecnniques such as hardware controllers (APIC&#8217;s &#8211; C220 servers) along with Nexus 9500 and Nexus 93xxx switches to form a leaf-spine deployment.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Whilst ACI has a GUI, MO and NX-OS like CLI (not perfect at all !) along with Python and even Ansible,  these quickly run out of steam.   Whilst Python is a great language it still takes some learning.  Its also not so intuative when passing results between methods. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I realised there is nothing for ACI to utilise PowerShell in a similar way that VMware&#8217;s NSX has the most excellent <a href=\"https:\/\/github.com\/vmware\/powernsx\">PowerNSX<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hence, my first cut of <a href=\"https:\/\/github.com\/kevsterd\/ACI-PoSH\">ACI-PoSH<\/a> published to GitHub.   There is a ton of work to do on this &#8211; documentation being a biggie &#8211; but it works.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Development Process<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I am quite lucky to have been involved in some large scale ACI deploments however when offline from these I have two enviroments that I use.<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The Cisco DevNet ACI Sandbox availible at <a href=\"https:\/\/developer.cisco.com\/site\/sandbox\/\">https:\/\/developer.cisco.com\/site\/sandbox\/<\/a>   This is a site that contains working examples of most Cisco products, one being the <strong>ACI Simulator (Always on) <\/strong>which in an Internet connected APIC.   No charge but you do need to register or login.  Just the job for testing, learning and development.<\/li><li>The Cisco ACI Simulator (see <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/switches\/datacenter\/aci\/apic\/sw\/3-x\/simulator\/install_vm\/b_Cisco_ACI_Simulator_VM_Install_Guide.html\">here<\/a>)   You need a valid CCO account and ACI software support to download.  It will run in most Hypervisors (I use VMware Workstation and ESXi) but need at least 80GB HDD, 8 cores and 16GB RAM availble.  You will also need your friendly Cisco Account Manager to authorise the activation code<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Ill be adding more info here in later posts about just how to use it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One thing I have been working on for a long time is to create a set of PowerShell modules for Cisco ACI. For those that don&#8217;t know ACI is Cisco&#8217;s Next Generation DataCentre switching fabric. Kind of the next step after Nexus in NX-OS mode. It uses modern tecnniques such as hardware controllers (APIC&#8217;s &#8211; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[70,73,69,82,81],"tags":[79,77,80,78],"class_list":["post-299","post","type-post","status-publish","format-standard","hentry","category-aci","category-microsoft","category-nsx","category-powershell","category-scripting","tag-aci-posh","tag-cisco-aci","tag-powernsx","tag-powershell","post-preview"],"_links":{"self":[{"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=299"}],"version-history":[{"count":3,"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/299\/revisions"}],"predecessor-version":[{"id":302,"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/posts\/299\/revisions\/302"}],"wp:attachment":[{"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=299"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/categories?post=299"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iddles.co.uk\/index.php\/wp-json\/wp\/v2\/tags?post=299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}