ptop.rnc 976 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
#
# EMULAB-COPYRIGHT
# Copyright (c) 2007 University of Utah and the Flux Group.
# All rights reserved.
#

#
# Description of a physical topology
#

default namespace = "http://emulab.net/resources/ptop/0.1"

include "top.rnc"

## A simple policy specification - it may end up that policy does not belong in
## the ptop file directly
TypeLimitSpec = element type_limit {
    ## Name of the type we are limiting
    element type_name { text },
    ## Limit as to the number of nodes of this type the experiment can use
    element type_limit { xsd:integer { minInclusive = "0" } }
}
  
start = element ptop {
    ## The testbed that this physical topology came from - will be used for
    ## federation
    attribute testbed { text },
    ## Nodes in the topology - zero or more
    ## Links in the topology - zero or more
30 31
    (NodeSpec | LinkSpec)*,
#    LinkSpec*,
32 33 34 35
    ## Any limits on how many nodes of a particular type this experiment can
    ## use.
    TypeLimitSpec*
}