Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
network-programmability
Search
KATSUYA
June 28, 2019
Technology
2.6k
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
network-programmability
KATSUYA
June 28, 2019
More Decks by KATSUYA
See All by KATSUYA
短期間で大量の仮想ルーターの展開するお作法
katsuya414
4
3.2k
歴代の運営委員と上位入賞者が語る ICTSC攻略
katsuya414
0
1.9k
instudystyle
katsuya414
1
610
networkctf
katsuya414
1
840
Other Decks in Technology
See All in Technology
クラウドサインを止めずに Nuxt へ 次の10年のために先に決めたこと
bengo4com
1
120
20261017福岡devIO 「AIは"良いダッシュボード"を作れるか?
jtakeda
0
260
「Learning Outcome」を書きたくない私が、Learning Outcomeと折り合いをつけるまで
mhlyc
0
220
How to Design Configuration for Rails Applications
willnet
2
1.2k
背中から、背中へ ー 社外コミュニティで学んだ「雑に背中を押す」という恩送り ー / easygoing encouragement and pay forward to community
naitosatoshi
0
200
データマネジメント × 法務で作りあげる、 freeeの新しいデータガバナンスへの軌跡
freee
PRO
0
140
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
5
1.5k
[FECONF-2026] 신대륙을 향한 카카오페이증권 프론트엔드 항해기 (이주승)
l1ghthouse
0
130
Vue.jsのGitHubから学ぶ意思決定
yut0naga1_fa
1
130
Draft AIエージェントの トークン消費を最小化する 8つの原則
kinopeee
5
1.6k
Adversary Infrastructure Hunting101
disconinja
0
140
Let's Change Our World—Again
snoozer05
PRO
6
660
Featured
See All Featured
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
640
Raft: Consensus for Rubyists
vanstee
143
7.8k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
The SEO Collaboration Effect
kristinabergwall1
1
600
Darren the Foodie - Storyboard
khoart
PRO
4
4k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
68
59k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1.1k
HDC tutorial
michielstock
2
970
Crafting Experiences
bethany
1
390
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
860
Transcript
ωοτϫʔΫͷࣗಈԽ πʔϧ࠷લઢ উஉ(@katu7414) ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
ࣗݾհ Network Automation https://github.com/Katsuya414 SR,Batfish,Ansible,PyATS,Genie JANOG43 LTͰॳొஃ NETCONओ࠵ऀ !LBUV !2
ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
࣭ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
Interop Tokyo or AWS summit ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
ͲͪΒʹߦ͖·͔ͨ͠ʁ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
Cisco live
ษڧձॳࢀՃͰ͢ ΑΖ͓͘͠ئ͍͠·͢ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
ࠓճ͕͍ࣗͬͯΔ ωοτϫʔΫͷࣗಈԽͷπʔϧ ൺֱ͠·͢ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
ࣗಈԽ͖͢ର • ଟछଟ༷ͳωοτϫʔΫػث • OSͷόʔδϣϯόϥόϥ • sshରԠ͍ͯ͠ͳ͍ • ݱঢ়ͷυΩϡϝϯτඋ͞Εͯͳ͍ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
͍ͬͯΔࣗಈԽπʔϧ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
• configมߋ͢ΔͳΒҰ൪ศར • ֶशίετ͕͍ͷͰνʔϜϝϯόʔʹਁಁ ͍͢͠ • ίʔυ͕ಡΈ͍͢ͱݴ͏ͷࣗಈԽ͢Δʹ ͋ͨͬͯ࠷ॏཁͳཁૉͷҰͭ • ϚϧνϕϯμʔରԠ͋Γ͕͍ͨ
ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
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 ίʔυ͕ಡΈ͍͢ͷ ࠾༻ཧ༝ʹͳΔ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
• configͷ੩తͳςετπʔϧͱ͔ͯ͠ͳΓ༏ल • L3ϨΠϠʔͷςετᘳ • Docker image͋ΔͷͰߏஙָ͕ • ຊ൪ͷIPͰࢼݧͰ͖ΔͷͰ༏ल ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
Batfish͔Βͷใ DPOpHΛૠೖ͢Δ͚ͩͳͷͰ༻ʹӨڹͳ͘ ݸਓϨϕϧͰݕূ͍͢͠ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
• Python Automated Test Systems ͷུ • pyATS ͷϑϨʔϜϫʔΫͷ্Ͱಈ͘ػೳϥΠϒϥϦ •
configͷparse͕༏ल(ͪΌΜͱܗͯ͘͠ΕΔ) • recordingػೳ͕༏ल • YAML + Pythonͷߏ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
pyats_genie Example Run Results (pyats_genie) shimakatsuyanoMacBook-puro:workshop shimakatsuya$ python test.py [2019-06-18
14:53:29,022] +++ nx-osv-1 logfile /tmp/nx-osv-1- cli-20190618T145329021.log +++ [2019-06-18 14:53:29,022] +++ Unicon plugin nxos +++ -------------------------------------------------------------------------------- Hostname: nx-osv-1 Software Version: NX-OS 7.3(0)D1(1) BGP Instance VRF Neighbor State -------------- ------- ---------- ----------- default default 10.1.1.1 established Total # of Active Neighbors: 1 -------------------------------------------------------------------------------- ៉ྷʹܗ͢Δͷ͕ͱָͯ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
ඞཁͳࣄલࣝͷ গͳ͞ ˓ ˚ ˚ ͓खܰ͞ ˚ ˓ ˓ υΩϡϝϯτͷ
ॆ࣮ੑ ˕ ˚ ˚ πʔϧͷศར͞ ˓ ˓ ˕ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
1$ αʔόʔ ߏਤ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
ࣗಈԽͰॏཁͳ͜ͱ ରͷϝϯόʔͷٕज़Ϩϕϧߟྀ͢Δ͜ͱ Ұ൪େࣄͳͷπʔϧͰͳ͘υΩϡϝϯτͷඋ πʔϧͱΓ͋͑ͣͬͯΈ͔ͯΒࣗͷνʔϜʹ దਖ਼͔ʁΛߟ͑Α͏ ࣗಈԽඞཁͳ͜ͱͩͱશһ͕ೝࣝ͠ͳ͍ͱਐ· ͳ͍ɻઆ໌Θ͔Γ͢͞ඞཁ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
ࠓޙઓ͢Δ͜ͱ ࢹπʔϧ(Datadogࣗ͘͠࡞) ՄࢹԽπʔϧ(ࣗ࡞͍ͨ͠ΞΠσΞืू) BatfishͷL2 ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
ࠓճͷπʔϧͷϒϩά • https://qiita.com/katu7414/items/ ccef158f5999ce809a3d • https://qiita.com/katu7414/items/bb9ebf74d01936e3c662 • https://qiita.com/katu7414/items/8e60b8b8f4034009e734 ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ
͋Γ͕ͱ͏͍͟͝·ͨ͠ ωοτϫʔΫϓϩάϥϚϏϦςΟษڧձ