Download eWAN: grid emulator

Transcript
Chapter 7
Defining a topology to
deploy
The index page of eWAN allows you to upload a topology to deploy, to use a
server side topology ( /examples/ folder is read) which is on your machine before
the eWAN installation (you can add topologies on the folder) and to define a
basic topology with a graphical tool.
The graphical tool allows the definition of basic topologies. Only access
points linked with clients and an overdimensioned core (only stars or rings are
allowed). If you want define complexe topologies, you must write it manually.
You have a topology RDF schema (which defines exactly the topology options) in the grammar folder. In the next section a fast definition of each part
is given with a code example/template.
7.1
The different parts
7.1.1
RDF/XML definition
<?xml version="1.0" encoding="iso-8859-15" ?>
<rdf:RDF xmlns="http://localhost/eWAN/grammar/grammar.php#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" \
xml:base="http://localhost/" xml:lang="fr">
...
write a "Topology"
...
</rdf:RDF>
7.1.2
Topology
Only the name must be defined.
<Topologie rdf:ID="HERE THE TOPOLOGY NAME">
...
write a "Node group"
and a "Link group"
43