NSO Service Packages 101: Build an ISP Internet Access Service¶
Coming Soon
This guide is a companion to an upcoming YouTube video. Subscribe to get notified when it drops.
What you'll build: An NSO service package that provisions an ISP customer internet connection with one command — subinterface, IP addressing, rate-limiting, and routing (static/OSPF/BGP).
Prerequisites: Complete the Docker Lab Setup guide first.
Overview¶
Instead of pushing configs to devices one by one, NSO service packages let you define a service once and NSO generates the vendor-specific config for each device automatically.
Service inputs:
| Field | Example | Description |
|---|---|---|
service-id |
INET-1001 | Unique identifier |
customer-name |
Acme Corp | Customer name |
cir |
100 | Committed rate (Mbps) |
pe-device |
dist-rtr0 | Which PE router |
pe-interface |
GigabitEthernet0/0/0/2 | Physical interface |
vlan-id |
101 | Customer VLAN |
customer-ip |
172.20.1.2/30 | Customer-side IP |
provider-ip |
172.20.1.1/30 | Provider-side IP |
routing-protocol |
bgp | static, ospf, or bgp |
What NSO generates on the IOS-XR PE router:
- Subinterface with dot1q encapsulation
- IP addressing
- Rate-limit policy (CIR policing)
- BGP/OSPF/static routing based on selection
Check back soon for the full step-by-step guide.