Download presentation
Presentation is loading. Please wait.
2
NetML Network Markup Language Ivan Santarelli i.santarelli@tiscali.it i.santarelli@tiscali.it Alexandra Bellogini a.bellogini@tiscali.it
3
● A language for describing computer networks ● Based on XML ● Describes a network at different levels of abstraction ● The focus is on conceptual aspects rather than on configuration issues ● Helps simplify network design ● Allows quick specification and implementation of a network test-bed NetML Network Markup Language
4
● Network topology – Data link level – AS (Autonomous System) level ● Router configurations – Interfaces – BGP – RIP – Policies and Lists NetML Capabilities
5
The Netml approach ● Analysis of the current implementation of the protocols – Cisco, Juniper, Zebra ● Description using the ER (Entity- Relationship) model – ER-schemas for Cisco, Juniper, Zebra
6
The Netml approach (2) ● Compare schemas ● Identify a common schema: common features plus the most interesting vendor- dependent parts ● Translation of the ER common schema into an XML schema (an improved version of a DTD)
7
CiscoJuniper
8
CiscoZebra
9
Cisco Juniper Zebra
10
BGP in NetML: Entity Relationship
11
The NetML tools ● An XML validating parser ● An XML translator to vendor-specific configuration languages – Uses XSLT (eXtensible Stylesheet Language - Transformations)
12
What the user can do ● Describe the network using NetML grammar – With a text editor – With an XML editor (with syntax checking and tag auto-completion) ● Use the tools – Generate the configuration of each router – Generate a script for Netkit (virtual network environment)
13
An example network in NetML Conventions 100.2.0.0/30 100.1.4.0/24 L D ip subnet assigned prefix L 100.2.0.0/30
14
An example network in NetML Conventions (2) eth0 1 2 L D eth1 1 last byte of ip address dev ip host internal device
15
AS100 AS20 AS200 eth1 1 eth0 33 eth0 34 eth1 6 5 eth0 1 2 eth2 1 eth1 2 ECF AB 200.2.0.0/16 eth2 1 eth3 5 eth0 6 eth1 9 10 eth0 2 eth2 1 1 K 100.1.3.0/24 L 100.1.2.0/24 J 100.1.0.0/30 D 100.1.0.4/30 H 100.1.0.8/30 11.0.0.4/30 11.0.0.32/30 11.0.0.0/30 RIP BGP 20.1.1.0/24
16
NetML Top level structure
17
NetML Top level structure The Autonomous System level
18
NetML The AS level A list of all the Autonomous Systems present in the network............
19
NetML The AS level The references to networks are described in the “Network” section...
20
NetML The AS level The routers referenced here are the AS's border routers...
21
NetML Top level structure Contains the list of BGP peerings held between different AS's
22
... NetML Specifying peerings Contains the list of BGP peerings held between different AS's
23
AS100 r_100_1 eth0 AS20 r_20_2 eth0... NetML Specifying peerings (2) Each peering is made up by two peering sides eth0 2 1
24
NetML Top level structure Contains information about networks
25
NetML Networks and collision domains... List of networks
26
NetML Networks and collision domains 11.0.0.32/30 The address and the netmask of the network
27
NetML Networks and collision domains 11.0.0.32/30 One network can have several collision domains
28
NetML Networks and collision domains 11.0.0.32/30 The interfaces that belong to the collision domain
29
NetML Networks and collision domains 11.0.0.32/30 eth0 34 A 11.0.0.32/30 eth0 33
30
NetML Top level structure Contains the list of the routers of the network
31
NetML Router configuration... Each router has its own configuration
32
NetML Router configuration 11.0.0.34/30... connected bgp........ The set of interfaces
33
NetML Router configuration... connected bgp........ The set of policies
34
NetML BGP configuration RedistConnected... Specify static routes
35
NetML BGP configuration RedistConnected... Specify which policies to apply
36
NetML BGP configuration... RedistConnected Router as200r1 defaultOut customerIn............ Main configuration under PeerGroups
37
NetML RIP configuration 100.1.0.0/24 Specify where RIP must be enabled
38
NetML RIP configuration 100.1.0.0/24 Reference to a previously specified policy...
39
NetML Live example
40
● Automatic generation of XML DTDs from conceptual database schema Carsten Kleiner and Udo W. Lipeck http://dbs.uni-leipzig.de/webdb/wien/015.pdf ● NetML Homepage: http://www.dia.uniroma3.it/~compunet/netml/ http://giga.dia.uniroma3.it/~ivan/NetML/ ● Compunet Homepage: http://www.dia.uniroma3.it/~compunet/ http://www.dia.uniroma3.it/~compunet/ ● Netkit web site: http://www.netkit.org/ References and links
41
Questions? NetML
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.