automation
ã¯ããã« å¨å²ã®ã¨ã³ã¸ãã¢ã¯æ¯ãå¸ãããã«è²ã åé¨ï¼ããã¦åæ ¼ï¼ããã¦ãããããªã®ã§ãããç§ã¯ãã°ããä½ããã£ã¦ãã¾ããã§ããã確ãç´è¿ã¯ã4å¹´åã® DevNet Associatesï¼å¤±å¹ï¼ã ä¹ ã ã«ããªã«ããã£ã¦ã¿ã¨ãã¨æã£ã¦ããã¨ãããPythonã«ãããããâ¦
ã¯ããã« ãã¹ãåã®ä»ãæ¹ã«ã¯ãè¦èªæ§ãåºå¥ã®ããããåä¸çã®ç®çã§ãæ§ã ãªå·¥å¤«ãããã¦ãããã¨æãã¾ãã èªååãåæã¨å ´åã«ãä½ãèæ ®ããã¹ãç¹ããããèãã¦ã¿ãã®ã¾ã¨ãã¾ãã å¤ãåãã¦ä»¥ä¸ã® 2ç¹ã§ãã æ©æ¢°çã«èªã¿è¾¼ã¿ããããã¦ãã æ©â¦
ã¯ããã« Python 製èªååãã¬ã¼ã ã¯ã¼ã¯ nornir ã¯ãæ¥ç¶æ¹æ³ã¨ã㦠netmikoããNAPALM ã®ä»ã«ãNETCONF ã«ã対å¿ãã¦ãã¾ãã ãã®è¨äºã§ã¯ NETCONF çµç±ã§ãCisco IOS XE æ©å¨ã® runnin-configãã¤ã³ã¿ã¼ãã§ã¼ã¹ãã«ã¼ãã£ã³ã°ãã¼ããåå¾ãããµã³ãã«â¦
ã¯ããã« Ansible 㯠VyOS ã«ã対å¿ãã¦ãã¦ãè¨å®ã®å¤æ´ããå種 show ã³ãã³ãã®å®è¡ã«ããæ å ±åå¾ãã§ãã¾ãã ãã®è¨äºã§ã¯ãVyOS ã¢ã¸ã¥ã¼ã«ãå©ç¨ããããã®ã¤ã³ãã³ããªãã¡ã¤ã«ã®ä½æãèªè¨¼æ å ±ã®å®ç¾©ãªã©ã®æºåã¨ãç°¡å㪠show ã³ãã³ããå®è¡ããâ¦
ã¯ãã㫠以åã®è¨äºã§ãgather_facts ãå©ç¨ã㦠Junos ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®ç¶æ ãåå¾ã㦠debug ã§è¡¨ç¤ºããã¨ãã Playbook ããç´¹ä»ãã¾ããã tekunabe.hatenablog.jp ä»åã¯æ®éã« show interfaces terse ã³ãã³ããå©ç¨ãã¾ãããã ãããã£ãã JSOâ¦
ã¯ãã㫠以ä¸ã®è¨äºã§ãJunos ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ã®ç¶æ ãåå¾ã㦠debug ã§è¡¨ç¤ºããã¨ãã Playbook ãç´¹ä»ããã¦ãã¾ããã qiita.com é¢ç½ããã¿ã ãªã¨æã£ã¦ãæè¦ãã¾ãããç¹ã«ã以ä¸ã®ãã£ã¯ã·ã§ããªãã«ã¼ãããæ¸ãæ¹ãåèã«ãªãã¾ããã with_itâ¦
ã¯ããã« JANOG45 Meeting in Sapporo ã§ãFastly ã®åå±ãããããæ¥æé·ãæ¯ããFastlyã¹ã±ã¼ã©ãã«ã»ã°ãã¼ãã«ãããã¯ã¼ã¯ãã¨ããçºè¡¨ãããã¾ããã www.janog.gr.jp ã·ã³ãã«ãã追åããè¨è¨ããèªååã®è©±ããã£ã¦å¤§å¤èå³æ·±ããã®ã§ããã ãªãã§â¦
ã¯ããã« Ansible ã«ã¯ãæå®ããæ¡ä»¶ãæºããã¾ã§ã¿ã¹ã¯ãç¹°ãè¿ã until ã¨ããã«ã¼ãæ©è½ãããã¾ãã until ãå©ç¨ããã¨ããããã¯ã¼ã¯æ©å¨ã«è¨å®ãæå ¥ããå¾ã«ãæå¾ ããç¶æ ã«ãªãã¾ã§å¾ ã¤ãã¨ãã£ãå¦çã Playbook ã§å®ç¾ã§ãã¾ãã ãã®è¨äºã§ã¯â¦
ã¯ããã« Ansible 2.9 ããããããã¯ã¼ã¯ã¢ã¸ã¥ã¼ã«ã® fact åéã¯ãgather_fact ã®æå®ï¼ããã©ã«ã yesï¼ã«åºã¥ãããã«ä»æ§å¤æ´ããã¾ããã æå¹ã®å ´åã¯ãå é¨ã§ ios_factsãeos_facts ãªã©ã®ããã³ãã¼å¥ã® *_facts ã¢ã¸ã¥ã¼ã«ãå¼ã°ãã¾ãã tekunabâ¦
ã¯ããã« Cisco Certified DevNet Associateã®åå¼·ã®ä¸ç°ã§ä»¥ä¸ã®æ¸ç±ãèªã¿ã¾ããã Understanding and Using Application Programming Interfaces (APIs): Cisco DevNet Associate (DEVASC) 200-901 V1.0 Exam Guide Series (English Edition)ä½è :Muhammaâ¦
ã¯ããã« 2020/02/24 ã«å§ã¾ããCisco DevNet Associate (DEVASC 200-901) ã®åå¼·ãã¯ãããã 試é¨æ å ±ãªã³ã¯ã¾ã¨ã tekunabe.hatenablog.jp ä»å¾ã®ããã°ã§ããåå¼·éä¸ã®ãããã¯ãæ¸ãã¦ããããã¨æãã¾ãã å½é¢ã®å¦ç¿ã³ã³ãã³ã å ¬å¼ã®ã¬ã¤ãã¯ã2020â¦
â ã¯ããã« 2019/12/10-11 ã«éå¬ããããDevNet Express for DNA [Tokyo] ã«åå ãã¦ãã¾ããã ãããã¯ã¼ã¯ããã°ã©ãããªãã£ããã¼ãã«ããããã³ãºãªã³ãå«ãã¤ã³ãã³ãã§ãã ãfor DNAãã¨ã¤ãã¦ããã®ã¯ãCisco DNA Center ã¨ãã製åãä¸å¿ã¨ããâ¦
ãã㯠Ansible 3 Advent Calendar 2019 ã®9æ¥ç®ã®è¨äºã§ãã â ã¯ããã« Ansible 2.9 ãã Network Resource Module ã¨ããæ°ããã¿ã¤ãã®ã¢ã¸ã¥ã¼ã«ãç¶ã ã¨è¿½å ããã¦ãã¾ãã config ãªãã·ã§ã³ã§è¨å®å 容ãæå®ããstate ã¨ãããªãã·ã§ã³ã§ï¼ç¨®é¡ã®æâ¦
ãã㯠Ansible 3 Advent Calendar 2019 ã®8æ¥ç®ã®è¨äºã§ãã â ã¯ããã« éçºä¸ã® Ansible 2.10 ã§ã¯ãJuniper Junos åãã®ã¹ã¿ãã£ãã¯ã«ã¼ãè¨å®ã¢ã¸ã¥ã¼ã« junos_static_routes ã¢ã¸ã¥ã¼ã« ï¼æ«å°¾ s ããï¼ã追å ããã¾ãã Ansible 2.9 ããç¶ã ã¨è¿½å â¦
ãã㯠ãããã¯ã¼ã¯èªåå Advent Calendar 2019 ã®4æ¥ç®ã®è¨äºã§ãã â ã¯ããã« ãããã¯ã¼ã¯èªåå Python ã©ã¤ãã©ãª netmiko ã¯ãCiscoãJuniperãArista ãªã©æ§ã ãªãããã¯ã¼ã¯OSã«å¯¾å¿ãã¦ãã¾ãã éçºç¶æ³ãçºãã¦ããã¨ãJuniper ScreenOS (SSG)â¦
ã¯ããã« Ansible 2.8 以éã400以ä¸å¤§éã«å¢ãã¦ãã fortios ã¢ã¸ã¥ã¼ã«ãAnsible 2.9 ã§ã¯ httpapi ã³ãã¯ã·ã§ã³ãã©ã°ã¤ã³ã«ã対å¿ãã¾ããã httpapi ã³ãã¯ã·ã§ã³ãã©ã°ã¤ã³ã«å¯¾å¿ãããã¨ã«ããã以ä¸ã®ãããªã¡ãªãããããã¾ãã Playbook ãã¹ããâ¦
ã¯ããã« ãããã¯ã¼ã¯èªååPythonã©ã¤ãã©ãªã§ãããnetmikoãNAPALMããPython 2ç³» ãµãã¼ãã®æçµãã¼ã¸ã§ã³ããªãªã¼ã¹ãã¾ããããããããnetmiko 2.4.2ãNAPALM 2.5.0 ã§ãã 次åã®ãªãªã¼ã¹ãã㯠Python 3.6 以éã®ã¿ã®ãµãã¼ãã¨ã¨ãã¦ãã¾ãã ãâ¦
ã¯ããã« Ansible ã«ã¯ Cisco ACI 対å¿ã®ã¢ã¸ã¥ã¼ã«ãå¤æ°ç¨æããã¦ãã¾ãã ACI ã® REST API ãå©ç¨ãã¦ããã®ã ãããªãã¨ããäºæ³ã¯ããã¤ããã®ã§ãããå®éã®ãã°ã¤ã³ã®å¦çãè¦ãã¦ã¿ãããªãã¾ããã ACI ã¢ã¸ã¥ã¼ã«å ±éã ã¨æãã¾ãããããã§ã¯ä»£â¦
å¤æ° ansible_network_os ã¨ã¯ Ansible ã®ãããã¯ã¼ã¯ã¢ã¸ã¥ã¼ã«ã§ã¯ãå¤ãã®å ´åansible_network_os ã¨ããå¤æ°ã«ãã©ã®ãã©ãããã©ã¼ã ï¼Cisco IOSãArista EOS ãªã©ï¼ã対象ã¨ãããæå®ããå¿ è¦ããã¾ãã ãµã³ãã«ã® Playbook ã§ãè¦ããããã¨ã¯å¤ãâ¦
â ã¯ããã« Ansible 2.8 ã§ã¯ãRESTCONF ã§ãããã¯ã¼ã¯æ©å¨ã®æ å ±ãåå¾ããããè¨å®ãå¤æ´ãããã§ãã RESTCONF ã¢ã¸ã¥ã¼ã«ãå°å ¥ããã¾ããã 以åãæ¬ããã°ã§ã¯ãã¢ã¸ã¥ã¼ã«ãå©ç¨ãã¦IOS-XE 㸠RESTCONF ã§ã¢ã¯ã»ã¹ãã¦ã¤ã³ã¿ã¼ãã§ã¼ã¹æ å ±ã®åå¾ãâ¦
2019/09/05 ã«ããããã¯ã¼ã¯ããã°ã©ãããªãã£åå¼·ä¼ #18ã§ããshow ã³ãã³ãçµæããã¼ã¹ããæ¹æ³ãããããã¨ããçºè¡¨ãããã¦ãã ãã¾ããããµã³ãã«ã³ã¼ããä¸å¿ã ã£ããããã³ããããããããã«ãããã°è¨äºã¨ãã¦æ¸ããããã¾ãã â 1. ã¯ããã« â â¦
ã¯ããã« 2019/07/24-26 ã«å µåº«çç¥æ¸å¸ã®ç¥æ¸å½éå±ç¤ºå ´ã§éå¬ããã JANOG44 Meeting in Kobe ã«åå ãç»å£ãã¦ãã¾ããã æ¬ããã°ã§ã¯ã2åã«åãã¦ã¬ãã¼ããã¾ãã ãã®1 åå ç·¨ ãã®2 ç»å£ç·¨ ããããã¯ãããããéç¨èªåå (æ¬è¨äº) ãã®2ã§ããæ¬â¦
â ã¯ããã« Ansible 2.8 ã§ã¯ãRESTCONF ã§ãããã¯ã¼ã¯æ©å¨ã®æ å ±ãåå¾ããããè¨å®ãå¤æ´ãããã§ãã RESTCONF ã¢ã¸ã¥ã¼ã«ãå°å ¥ããã¾ãã(æ¬è¨äºå·çæç¾å¨ RC段é) ãã®è¨äºã§ã¯ restconf_get ã¢ã¸ã¥ã¼ã«ãå©ç¨ãã¦ãIOS-XE 㸠RESTCONF ã§ã¢ã¯ã»ã¹ãâ¦
â ã¯ããã« 2019/04/26 ã«éå¬ããã JANOG43.5 Interim Meeting ã§ããããã¯ã¼ã¯ã³ã³ãã£ã°åæãã¼ã« Batfish ã¨ã®ä»ãåãæ¹ãã¨ããçºè¡¨ãããã¦ããã ãã¾ããã janog.connpass.com togetter.com Batfish ã¯ããããã¯ã¼ã¯æ©å¨ã®ã³ã³ãã£ã°ã®ãã¾ãã¾â¦
ã¯ããã« ãããã¯ã¼ã¯æ©å¨ã®è¨å®å¤æ´ãèªååããããã£ã¦èæ ®ãããã¤ã³ãã®1ã¤ã¯ãè¨å®æ å ±ã®ã¤ã³ããããã©ã®ãããªå½¢å¼ã«ãããã§ãã è¨å®æ å ±ã®ã¤ã³ãããå½¢å¼ã¯ï¼ ãã¨ãã°ãæ©å¨ã解éã§ããã³ãã³ããç´æ¥ã¤ã³ãããããæ¹æ³ãããã°ããã©ã¡ã¼ã¿â¦
ã¯ããã« netmikoãNAPALMãAnsible ã®ããã«ãæ¢åã®ãããã¯ã¼ã¯ãèªååã§ããOSSãå¢ãã¦ãã¾ããã ããã§ããã¯ããèªååããããæ©å¨ã¨ãã«ããæ©å¨ããããªã¨èãã¦ãã¾ãã ãã®è¨äºã§ã¯æ©å¨ä½¿ç¨é¢ãç°å¢é¢å«ãã¦ãããããã¾ã¨ãã¾ãã ï¼å½ããâ¦
ã¯ããã« èªååã®è¡ãçãå ã¯? 2019/01/23-25 ã«å±±æ¢¨çç²åºå¸ã®ã³ã©ãã¼æåãã¼ã«ï¼å±±æ¢¨çç«çæ°æåãã¼ã«ï¼ã§éå¬ããã JANOG43 Meeting in Yamanashi ã«åå ãã¦ãã¾ãããï¼ããã«ã½ã³ã¯1/22ï¼ æ¬ããã°ã§ã¯ã3åã«åãã¦ã¬ãã¼ããã¾ãã ãã®1 åâ¦
ã¯ããã« ãµã¼ãã¼ã®ãã¹ãèªååã¨ããã°ã Serverspec ã Testinfra ãinfrataster ãªã©ãæåã§ããããããã¯ã¼ã¯ã®ãã¹ãèªååã«ã¤ãã¦ã¯ãã¿ããªãå£ããããã¦ååãåºããã®ããªããããªå°è±¡ã§ããä¸æ¹ã§ããªã¹ã¯ã®è¦³ç¹ããè¨å®å¤æ´ã®èªååããå â¦
â ã¯ããã« Ansible ã¯ãJuniper Junos ã®ãããã¯ã¼ã¯æ©å¨ã«å¯¾å¿ãã¦ãã¦ãæ å ±ã®åå¾ãè¨å®å¤æ´ãã§ãã¾ãã Junos ã¯è¨å®æå ¥å¾ã« commit ãããã¨ã«ãã£ã¦ãå®éã®åä½ã«åæ ããã¾ããè¨å®å¤æ´ã®æµãã®ä¸ã§ãcommit åã® candidate config ã確èªãããâ¦
ã¯ããã« è¿å¹´ããããã¯ã¼ã¯æ©å¨ã¸ã®ä½æ¥ãèªååããOSS ã®ãã¼ã«ãã©ã¤ãã©ãªãå¢ãã¦ãã¦ãã¾ãããã®è¨äºã§ã¯ããããªè¦³ç¹ã§ãã¼ã«ãæ¤è¨ããã®ãè¯ãã®ã§ã¯ãã¨ããèªåã®æ¡ãã¾ã¨ãã¦ã¿ã¾ãã ä¾ç¤ºãããã¼ã«ã¨ãã¦ã¯ãPython ã§å®è£ ããã¦ãã Ansibâ¦