Skip to Content
ネットワーク自動化とプログラマビリティ ―次世代ネットワークエンジニアのためのスキルセット
book

ネットワーク自動化とプログラマビリティ ―次世代ネットワークエンジニアのためのスキルセット

by Jason Edelman, Scott S. Lowe, Matt Oswalt, 土屋 太二, 牧野 聡
February 2022
Intermediate to advanced
632 pages
10h 1m
Japanese
O'Reilly Japan, Inc.
Content preview from ネットワーク自動化とプログラマビリティ ―次世代ネットワークエンジニアのためのスキルセット

6章ネットワーク設定のテンプレート

ネットワークエンジニアの業務の多くは、CLIを使って行われています。設定変更の種類ごとにそれぞれの構文で決められたキーワードやフレーズが繰り返し何度も使われます。このような繰り返しは非効率なだけでなく、ミスも生みがちです。例えばCisco IOSでBGPの隣接関係を設定するのは簡単かもしれませんが、正しいBGPコミュニティを追加するといった細かい設定は忘れられてしまうこともあるでしょう。しかもネットワーク運用の世界では、ある目的を達成するための手段が複数あるということも(組織にもよりますが)よくあります。

ネットワーク自動化によるメリットの1つとして、一貫性が挙げられます。実際に運用されている本番系ネットワークに対して、予測可能かつ繰り返し可能な方法で設定変更を行うことができます。これを実現する最適な手段は、自動化対象のネットワーク作業のすべてについてテンプレートを作成することです。

ネットワーク設定のテンプレートを作成することによって、各組織ごとに設定を標準化することができます。さらには、ネットワークの管理者や消費者(ヘルプデスク、NOC、ITエンジニアなど)が必要に応じてテンプレートに値を埋めるだけで、コマンドを実行することができます。迅速にコマンドを実行することができ、設定変更のために必要な情報も最小限で済みます。組織の運用ポリシーに従ったコマンドをあらかじめ用意しておけるため、一貫性も担保されます。

この章は、テンプレートツールの全般についての解説から始まります。そしてテンプレートツールの実装をいくつか紹介し、これらを使ってネットワーク設定のテンプレートを作成します。

6.1 テンプレート言語の登場

実は、テンプレートを使った技術は遠い昔から使われています。「テンプレート言語」で検索すると、さまざまなものが見つかります。1つのプログラミング言語に対して複数のテンプレート言語の選択肢が用意されているということもよくあります。 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

ハイパフォーマンス ブラウザネットワーキング ―ネットワークアプリケーションのためのパフォーマンス最適化

ハイパフォーマンス ブラウザネットワーキング ―ネットワークアプリケーションのためのパフォーマンス最適化

Ilya Grigorik, 和田 祐一郎/株式会社プログラミングシステム社
サイトリライアビリティワークブック ―SREの実践方法

サイトリライアビリティワークブック ―SREの実践方法

Betsy Beyer, Niall Richard Murphy, David K. Rensin, Kent Kawahara, Stephen Thorne, 澤田 武男, 関根 達夫, 細川 一茂, 矢吹 大輔, 玉川 竜司

Publisher Resources

ISBN: 9784873119816Other