NCClient: A Python Library for NETCONF Client Applications

[Pages:24]NCClient: A Python Library for NETCONF Client Applications

Shikhar Bhushan, Ha Manh Tran, Ju?rgen Sch?onw?alder

IPOM 2009, Venice, 2009-10-30

Support: EU IST-EMANICS Network of Excellence (#26854)

1/1

Outline of the Talk

2/1

NETCONF in a Nutshell

3/1

What is NETCONF?

NETCONF is a network management protocol specifically designed to support configuration management

NETCONF provides the following features: distinction between configuration and state data multiple configuration datastores (running, startup, . . . ) support for configuration change transactions configuration testing and validation support selective data retrieval with filtering streaming and playback of event notifications extensible remote procedure call mechanism

4/1

NETCONF Layers (do not trust RFC 4741)

Layer

(4)

Content

(3)

Operations

(2)

Messages

Example

Configuration data

Notification data

, , , ...

,

(1) Secure Transports

SSH, TLS, BEEP, SOAP/HTTPS

George: Think CMIP of 21st century ;-)

5/1

NETCONF Operations

Operation get-config edit-config

copy-config delete-config lock unlock get close-session kill-session discard-changes validate commit create-subscription

Arguments source [filter] target [default-operation] [test-option] [error-option] config target source target target target [filter]

session-id

source [confirmed confirm-timeout] [stream] [filter] [start] [stop]

6/1

Transaction Models

Direct Model

running

Candidate Model (optional)

candidate

running

Distinct Startup Model (optional)

running

startup

Some operations (edit-config) support different error behaviours, including rollback behaviours

7/1

NCClient Sales Pitch

8/1

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download