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
610
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
instudystyle
KATSUYA
August 02, 2019
More Decks by KATSUYA
See All by KATSUYA
短期間で大量の仮想ルーターの展開するお作法
katsuya414
4
3.2k
歴代の運営委員と上位入賞者が語る ICTSC攻略
katsuya414
0
1.8k
networkctf
katsuya414
1
830
network-programmability
katsuya414
3
2.6k
Other Decks in Technology
See All in Technology
OAuth SPIFFE Client Authentication(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
370
PdMをやめて、 "プロダクトビルダー"という 働き方に変えました / PdM to Product Builder
shikichee
1
280
「面白い!」を信じ抜け。激動の時代を貫く、オンリーワン・エンジニアの条件
kizawa2020
2
430
NANDでも描画したい!
nichica906
3
820
Digitization部 紹介資料
sansan33
PRO
2
7.8k
AI時代のデータ基盤を考える問い
pacocat
0
750
ブラウザで変わるID連携(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
380
形式手法特論:Hyperproperty とモデル検査 #kernelvm / Kernel VM Study Tokyo 19th
ytaka23
1
890
RapidCopy2 Matrix I/Oエンジンによるファイルコピーソフトウェアの設計と実装
kengosawa2
1
490
AIエージェントのためのデータ設計
daiz21
0
540
AIレビュー時代に必要なのは、SLOで引く撤退ライン
nobuoooo
0
150
Eight Engineering Unit 紹介資料
sansan33
PRO
3
8.3k
Featured
See All Featured
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
820
Between Models and Reality
mayunak
4
410
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
2.6k
It's Worth the Effort
3n
188
29k
Agile that works and the tools we love
rasmusluckow
331
22k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.3k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
370
KATA
mclloyd
PRO
35
15k
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
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ͷՃػೳͱ͔ࡉ͔͘νΣοΫͯ͠ ͓͍ͨํ͕͍͍Ͷ
͋Γ͕ͱ͏͍͟͝·ͨ͠