View
1
Download
0
Category
Preview:
Citation preview
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 0
NTT Global IP Network Configuration
Tools Overview
Presented by:
ショーン モリス shawn@ntt.net
有賀 征爾 say@ntt.net
NTTアメリカ
What is the NTT Global IP
Network?
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 1
NTT Global IP Network (AS2914)
Q3/2010
Q4 2011
590G
Renesys “Baker‟s Dozen” – January 2011
Introduction
NTT GIN Philosophy
• IP Transit pricing
experiences a consistent
downward pressure.
– Underlying costs must be
managed in a similar
fashion
• Operating Expenses are
kept low through a large
degree of automation
Configuration Tools Overview
• SQL database driven
• SQL-derived data is
transformed through
platform specific templates
• Automated deployment of
changes
• All configuration is driven from
server
– No persistent manual
configuration on devices
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 4
Configtools History
• Original M4 templates
created by Randy Bush
at rain.net.
• 1997, Verio added
additional functionality
based on irrtoolset.
• 1998, SQL database
and Perl code were
added
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 5
• Over time data was
migrated from flat files
to SQL
• Eventually perl became
a bottleneck and was
replaced with C code
(including custom m4
parser).
What is the technology?
• PostgreSQL
• GNU Make
• M4 macros
• bgptool homegrown binary
– Includes custom M4 processor
• Custom scripts built on RANCID for pushing
configurations to routers
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 6
What is in the templates?
• Standard ACLs
• Standard device
parameters
– AAA configuration
– SNMP
– Logging
• Interface parameters
• Routing policy
• Can include router OS
version dependent options
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 7
What are the router requirements?
• SSH access
• Ability to retrieve files via FTP
• Commit/roll back/roll forward capapility
• Ability to directly manipulate the startup configuration
• Text-based configuration storage
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 8
Management
SN
MP
Com
mun
ities
AS
N In
form
atio
n
Sta
ndard
AC
L
OO
B P
orts
Interfaces
IP A
dd
ressin
g
Virtu
al In
terfa
ce
s
LA
G
Eth
ern
et
MA
C A
ccou
ntin
g
SO
NE
T
MPLS
LD
P
RS
VP
RS
VP
-TE
LS
P
PW
E
Routing
ISIS
OS
PF
BG
P
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 9
What‟s in the Configtools database?
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 10
Config Tools Workflow
SQL Database M4 Macros Config File Router
1. User enters config changes via Web UI or CLI
2. User initiates config build via UNIX make command on configuration server
3. User initiates config push via UNIX command
1. Router is contacted by script via SSH
2. Router requests configuration from server via FTP
3. Configuration is committed
What are the benefits of doing this?
• Lower staffing
requirements
• Lower error rates
– Lower risk of
catastrophic errors
• Rapid service delivery
– Rapid service migration
• Automated service
delivery
• Minimize peer review
• Configuration
consistency
• Reporting
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 11
What kind of applications does this enable?
• Automatic customer BGP ACL and max prefix
updates
• Tool to load peer/customer configurations on IOS
– All relevant config (ie. interface, BGP neighbor, policy) is
loaded via „copy ftp: running-config
• Mass update of RSVP-TE LSPs
• Bulk move of interfaces/sub-interfaces
• Seeding of other systems with data (stats system,
monitoring system, etc.)
• Complex configurations across multiple devices
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 12
Mini-switch provisioning
• Current configuration • New Configuration
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 13
Router Customers
Router
Customers
Switch
IP
Config
PHY
config
Consistency
check
Rate
limits
IP
Config
PHY
config
What are we working on for the future
• Integration with OSS system
• Linecard/module awareness
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 14
Demonstration by
有賀さん
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 15
Questions?
Copyright © 2012 NTT Communications Corporation. All Rights Reserved. 16
Recommended