Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ネットワーク運用自動化のはじめかた

 ネットワーク運用自動化のはじめかた

Taiji Tsuchiya

June 19, 2018
Tweet

More Decks by Taiji Tsuchiya

Other Decks in Technology

Transcript

  1.    2018/6/14 16:35-17:00 JST Interop Tokyo 2018 SEIKO

    ITOCHU Techno-Solutions America, Inc. Taiji Tsuchiya /  
  2.  •D+ @F/Taiji Tsuchiya •Career • Solution Engineer @ CTC

    America (2017.8-Present) • I8><G4/36IT" &C2 •  #/3% / &!0=A9 • " & $ .H • Network Engineer @ BIGLOBE (2011.4-2017.8) • DC/ &/Peering)J/?5/.H • % )J:E,SDN.H •Community Activities • -1JANOG $!'(, ;7'(B • NetOpsCoding )*'( Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 1
  3.   ( ) • 54B9 T($ e  •

    -g2kB9>iV@ • j: 54+^B9/-gG1_K  • j: 6LI+T-g\O54Z  • P0bXGU[<,b:d8  • P0bXYf`b: 3;,CJN  • " /b!%h7.  U['#&Mc?SaEHD  • '#&WQR]*F   )QbXGU[WQR]A=  Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 2
  4.   •  03/4'6 •   , ACL,

    BGP, Route Policy, MPLS LSP • %!()*%.$5'6+; • &9'6+; •  -8:DB1Excel •   :#+; •  ,'6"2/'67 Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 3
  5.     •     •Ansible

      •#!   •"   =>         Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 4
  6.   5 Vl!E{”{-U+ (CTO “s) Gu!Bq-›+ Bq-Tj+ [ +-"%+

    () • !\PaJ *+ • [!@—!"Yš > • n082„… "[!@—"yA  • Šc-k+% [!I`"‹w+ •  125:o,#FSD†  • C-\+ or  +‰˜ +  • 125:-\)FS +"’  • WM'KRd N%+‘c"C  • '*- + "| v}+‰˜ +  • KRdLž9.674/-&)  • k^, ƒœ, xŒg;=7, 125:™—d… • Tj aJ- ( ~? • [+•]/;=7/<32 +-_%+ • Hˆfmd!lZ"<2/!iE{-t$ •  e-‚ +€!b‡"O–+ • ipX-Q*Žh z E{ & r
  7. :     •  L !*? 2G</C

    • U: Juniper-%R4!*3P(30=JK&+)') Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 6 • # ",'IEPythonS603>(B111O) • @NQ'Python8:A5T '(-$7 • F.9;H(-$Python&+)'MD  
  8.  Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 7 %*$

    " $ #0 / %*#0" $ ! -  /-)'$ (.   - & , +,
  9.   • 9G, 71*!#"& • IX$.E71 / &)'#$.E71 /#)+

    "#.E71 /#)+ "# Route PolicyN471 / ACLD-71 / VLAND-71 / </5C • .J</*!= 71.JL0F71 9G,B>A?2:@7  • 9G,3 71IO/+% %("#,K;,H8M66 Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 8
  10.   /   9 1-6 #.  &9

     78: &) 1 +%/,4" 1%  !<31( *'  =0 1$5 t t 1;>,2 -- - / - mi / - / - - - / - - / C o - 
  11.  • C'V$C'V# 'P % • GUI ? CLI ?

    • 40:.x} • jcK_? OS Version • SqKEtSqfvn/\Y ? • Jh+9?/.";*8;<, 2='|  [e-5'aƒ'UpQ  • lW 'z# % • [y[e or s or B|mr^ or B|AkD] • i^ #dZ7)561,'!# %HM/‚RIOg'To% • ~|^L`>:='u@ :3;?L`^ or wL`^? • 'F\G€%b 2='{X &!&!(!%UN2={X  Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 10
  12.  /  • P ;S# • L9U&2*<B%ZA • J

    L9%IO !$# @:#CV/ • NK8/04-(1-(+8%W 6K;ST # • ;S>X%7 ? #  ;S/'325.DL%[QGF# • Git  GitHub/GitLab  ,+)/=YEM %H"R$# Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 11
  13.   • $5 1?')B • )B.8 • +F:5' •

    7(D! ' • 94E5 • )B<6%G  *ACH 12 #%G1?'2/,3 0 "=-  (>&;@, NetOpsCoding#3) https://www.slideshare.net/taijitsuchiya5/ss-63478739
  14. Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 13 : “”

     ( @BIGLOBE, JANOG US Regianl Meeting) https://www.slideshare.net/taijitsuchiya5/ss-55698922 :  ()
  15. :  ( ) Copyright © 2018 ITOCHU Techno-Solutions America,

    Inc. 14 : “”  ( @BIGLOBE, JANOG US Regianl Meeting) https://www.slideshare.net/taijitsuchiya5/ss-55698922
  16.  /   • T=V)0:FE • I<5WUW ]3 •

    )0:S 7`QXG((1a`G) -!+,'# Z4>C • T=VL8YJb?."2*@_ • ? &/MO9P$% N • 5K ?  ^P[B  • &/M6^P;A HR\D  Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 15
  17.  →  •XYI>#  • <Z +4\@=V#D 5&)1?MH8#S •

    `^J/$-.*&#a   • -%206,:WIO  •FK"XY !K" XY<G C]U7^;PG  • [BER9 • QT  3('( • N L `^J_A Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 16
  18.  •" BGP Peering(Private Peer) #  !  •

    Github   https://github.com/taijiji/peerup •: 2 Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 17
  19.     Copyright © 2018 ITOCHU Techno-Solutions America,

    Inc. 18 G : I I : S : P : S A B P A B R S P R S , P
  20.    :  19 Scenario file (YAML) Router

    (Target) NAPALM Config Template (Jinja2) JUNOS IOSXR IOS EOS Router • • • • check_interface • check_bgp_neighbor • set_interface • set_bgp_neighbor • set_route_policy_advertised/recieved interfaces { {{ if_name }} { unit 0 { family inet { address {{ if_addr }}/{{ if_subnet }} } } } } scenario: - check_interface: if_name: ge-0/0/2 if_status: up - set_interface: if_name: ge-0/0/2 if_addr: 192.168.35.1 if_subnet: 30
  21.  • 403;,?UFR@"  W  • BGP69+735*(OP-<6:1:( D! 

    • 403;,?UFR@#?UAMGC ./28(D% =I?U% E# NKH$N!S T'&  • !)LJ>QBV!  Copyright © 2018 ITOCHU Techno-Solutions America, Inc. 23