Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
instudystyle
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
KATSUYA
August 02, 2019
Technology
1
600
instudystyle
KATSUYA
August 02, 2019
Tweet
Share
More Decks by KATSUYA
See All by KATSUYA
短期間で大量の仮想ルーターの展開するお作法
katsuya414
4
3.1k
歴代の運営委員と上位入賞者が語る ICTSC攻略
katsuya414
0
1.6k
networkctf
katsuya414
1
820
network-programmability
katsuya414
3
2.6k
Other Decks in Technology
See All in Technology
Greatest Disaster Hits in Web Performance
guaca
0
220
Context Engineeringが企業で不可欠になる理由
hirosatogamo
PRO
3
570
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
180
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
5
1.6k
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
640
GSIが複数キー対応したことで、俺達はいったい何が嬉しいのか?
smt7174
3
150
Tebiki Engineering Team Deck
tebiki
0
24k
StrandsとNeptuneを使ってナレッジグラフを構築する
yakumo
1
110
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
600
Claude_CodeでSEOを最適化する_AI_Ops_Community_Vol.2__マーケティングx_AIはここまで進化した.pdf
riku_423
2
550
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
440
MCPでつなぐElasticsearchとLLM - 深夜の障害対応を楽にしたい / Bridging Elasticsearch and LLMs with MCP
sashimimochi
0
160
Featured
See All Featured
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
200
RailsConf 2023
tenderlove
30
1.3k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
710
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
Code Reviewing Like a Champion
maltzj
527
40k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
140
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.1k
WCS-LA-2024
lcolladotor
0
450
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
First, design no harm
axbom
PRO
2
1.1k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Navigating Team Friction
lara
192
16k
Transcript
ઈରʹλϝʹͳΒͳ͍ AnsibleͰͷࣗಈԽ উஉ(@katu7414) JOTUVEZTUZMF
ࣗݾհ Network Automation https://github.com/Katsuya414 SR,Batfish,Ansible,PyATS,Genie JANOG44 ελοϑ NETCONओ࠵ऀ !LBUV !2
JOTUVEZTUZMF
Γ͕झຯ
͍ͬͯΔࣗಈԽπʔϧ JOTUVEZTUZMF
• configมߋ͢ΔͳΒҰ൪ศར • ֶशίετ͕͍ͷͰνʔϜϝϯόʔʹਁಁ ͍͢͠ • ίʔυ͕ಡΈ͍͢ͱݴ͏ͷࣗಈԽ͢Δʹ ͋ͨͬͯ࠷ॏཁͳཁૉͷҰͭ • ϚϧνϕϯμʔରԠ͋Γ͕͍ͨ
JOTUVEZTUZMF
Ansible Example code - hosts: iosxr gather_facts: no connection: local
tasks: - name: configure interface settings iosxr_config: lines: - router static - router static vrf SHIMA - router static vrf SHIMA address-family ipv4 unicast ίʔυ͕ಡΈ͍͢ͷ ࠾༻ཧ༝ʹͳΔ JOTUVEZTUZMF
AnsibleͰconfigೖ͢Δͱ͖ͷ Γͬͯ͠Ͳ͏ͬͯΔͷʁ JOTUVEZTUZMF
৭ʑํ๏͋Γͦ͏͚ͩͲ ͔ͤͬ͘ͳͷͰAnsible2.7͔Β ରԠͨ͠ํ๏ͰΔ JOTUVEZTUZMF
commit࣌ͷϥϕϧͰղܾ JOTUVEZTUZMF
Ansible code - hosts: iosxr gather_facts: no connection: local tasks:
- name: configure interface settings iosxr_config: lines: - ip address 172.31.1.1 255.255.255.0 - no shutdown parents: interface gi0/1/0/0 label: abcdefg ίʔυ͕ಡΈ͍͢ͷ ࠾༻ཧ༝ʹͳΔ JOTUVEZTUZMF
Show xrv#show configuration commit list Fri Jun 7 10:41:28.293 JST
SNo. Label/ID User Line Client Time Stamp ~~~~ ~~~~~~~~ ~~~~ ~~~~ ~~~~~~ ~~~~~~~~~~ 1 abcdefg root vty0: CLI Fri Jun 7 10 JOTUVEZTUZMF
Result xrv#rollback configuration abcdefg JOTUVEZTUZMF
·ͱΊ • ࣄखॱॻ͕࡞Γ͘͢ͳͬͨ • ͓લͦͷίʔυ్͕தͰࢭ·ͬͨΒͲ͏͢Δ ͷʁ͓͡͞ΜʹউͯΔΑ͏ʹͳͬͨ • AnsibleͷՃػೳͱ͔ࡉ͔͘νΣοΫͯ͠ ͓͍ͨํ͕͍͍Ͷ
͋Γ͕ͱ͏͍͟͝·ͨ͠