Skip to Content
클라우드 네이티브를 위한 데이터 센터 네트워크 구축: 데이터 센터 네트워킹을 위한 아키텍처, 프로토콜, 도구
book

클라우드 네이티브를 위한 데이터 센터 네트워크 구축: 데이터 센터 네트워킹을 위한 아키텍처, 프로토콜, 도구

by 정기훈, 디네시 G. 더트
August 2021
Beginner to intermediate
564 pages
12h 2m
Korean
Hanbit Media, Inc.
Content preview from 클라우드 네이티브를 위한 데이터 센터 네트워크 구축: 데이터 센터 네트워킹을 위한 아키텍처, 프로토콜, 도구
505
18
네트워크 구성 검증
assert
:
that
:
-
lldp
[
item
]['
chassis
']['
name
']
==
expected
_
lldp
[
item
]
quiet
:
yes
with
_
items
: "{{
expected
_
lldp
}}"
위 예제는 이전의 플레이북보다 단순하지만 일반적인 케이블링의 경우만 가정하고 있다. 즉,
모든 리프가 동일한 인터페이스로 스파인
01
에 연결되고 스파인
02
와 나머지에서도 마찬가지로
동일한 다른 인터페이스로 연결된다.
group
_
vars
디렉터리 하위의 리프와 출구 리프로 구분된
파일에서
expected
_
lldp
를 정의하고 있다. 이 파일과 디렉터리는 다음과 같다.
$
ls group
_
vars
/
all exit leaf
$
cat group
_
vars
/
leaf
#
예상되는
LLDP
피어
expected
_
lldp
:
swp51
:
spine01
swp52
:
spine02
group
_
vars
파일을 사용해서 데이터와 코드를 분리하고 있다. 만약 내일 당장 동일한 검증 플
레이북을 다른 데이터 센터 (또는 다른 사람과 공유할 수도 있다 )에서 실행할 때 케이블링이
swp51
/
swp52
가 아닌
swp1
/
swp2
라면 실제 검증 플레이북 자체가 아닌
groups
_
vars
파일만 변
경하면 된다. 이로써 중요한 가치인 플레이북 재사용을 도와주게
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

데이터 과학을 위한 통계: 데이터 분석에서 머신러닝까지 50가지 핵심 개념

데이터 과학을 위한 통계: 데이터 분석에서 머신러닝까지 50가지 핵심 개념

이준용, 피터 브루스, 앤드루 브루스

Publisher Resources

ISBN: 9791162244586