Summary of xml element and attribute types


Table 15: Summary of the elements of an XML network file (part 1)
Element Cardinality Sub-elements Attributes
domain [1,1] info, topology, mpls, igp, bgp name, ASID
info [0,1] title, date, author, description -
title [0,1] string -
date [0,1] date -
author [0,1] string -
description [0,1] string -
units [0,1] unit -
unit [1,$ \infty$ [ - type, value
diff-serv [0,1] priority -
priority [1,8] - id, ct, preemption
srlgs [0,1] srlg -
srlg [1,$ \infty$ [ string id
topology [1,1] nodes, links -
nodes [1,1] node -
node [1,$ \infty$ ] status, rid, name, description, type, id
    location, interfaces  
status [0,1] string : UP or DOWN -
rid [0,1] string : IP address -
name [0,1] string -
description [0,1] string -
type [0,1] string : CORE or EDGE -
location [0,1] - longitude, latitude
interfaces [0,1] interface -
interface [1,$ \infty$ [ status, ip id, mask
status [0,1] string : UP or DOWN -
ip [0,1] string : IP address -
links [0,1] link -
link [1,$ \infty$ ] from, to, status, description, type, id
    technology, delay, srlgs  
from [1,1] - node, if
to [1,1] - as, node, if
status [0,1] string : UP or DOWN -
description [0,1] string -
type [0,1] string : INTRA or INTER -
bw [0,1] float -
technology [0,1] string -
delay [0,1] float -
srlgs [0,1] srlg -
srlg [1,$ \infty$ ] integer -



Table 16: Summary of the elements of an XML network file (part 2)
Element Cardinality Sub-elements Attributes
mpls [0,1] lsp -
lsp [1,$ \infty$ ] path, bw, metric, max_rate, id
    diff-serv, backup  
path [1,1] link -
bw [0,1] float -
metric [0,1] float -
max_rate [0,1] float -
diff-serv [0,1] ct, preemption -
backup [0,1] protected_lsp, protected_links  
link [1,$ \infty$ ] string -
ct [1,1] integer $ \in$ [0,7] -
preemption [1,1] - setup, holding
protected_lsp [0,1] string -
protected_links [1,1] protected_link -
protected_link [1,$ \infty$ ] string -
igp [0,1] link type
link [1,$ \infty$ ] static, dynamic id
static [0,1] metric, te-metric, mrbw, mbw, -
    admingroup, diff-serv  
dynamic [0,1] rbw -
metric [0,1] float -
te-metric [0,1] float -
mrbw [0,1] float -
mbw [0,1] float -
admingroup [0,1] integer -
diff-serv [0,1] bcm, bc -
bcm [1,1] string : MAM or RDM -
bc [1,$ \infty$ ] float id
rbw [1,1] priority -
priority [1,8] float id



Table 17: Summary of the attributes of an XML network file
Attribute Element mandatory type
name domain No string
ASID domain Yes integer
type unit Yes {delay, bandwidth}
value unit Yes {ns, $ \mu$ s, ms, s, bps, kbps, mbps, gbps}
id priority Yes Integer $ \in [7,0]$
ct priority Yes Integer $ \in [7,0]$
preemption priority Yes Integer $ \in [7,0]$
id srlg Yes Integer
id node Yes string
longitude location Yes float
latitude location Yes float
id interface Yes string
mask interface Yes IP mask (X.X.X.X/Y)
node from Yes string
if from No string
as to No integer
node to Yes string
if to No string
id lsp Yes string
setup preemption Yes integer $ \in$ [0,7]
holding preemption Yes integer $ \in$ [0,7]
type igp No string : ISIS or OSPF
id link Yes string
id bc Yes integer
id priority Yes integer $ \in$ [0,7]


Simon Balon 2008-06-18