projects
/
osm
/
vim-emu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
made REST API compatible with dummy gatekeeper to use them in the same topology
[osm/vim-emu.git]
/
src
/
emuvim
/
examples
/
simple_topology_restapi.py
diff --git
a/src/emuvim/examples/simple_topology_restapi.py
b/src/emuvim/examples/simple_topology_restapi.py
index
f3125f1
..
440a085
100755
(executable)
--- a/
src/emuvim/examples/simple_topology_restapi.py
+++ b/
src/emuvim/examples/simple_topology_restapi.py
@@
-87,7
+87,7
@@
def create_topology1():
zapi1.start()
# create a new instance of a endpoint implementation
zapi1.start()
# create a new instance of a endpoint implementation
- api1 = RestApiEndpoint("127.0.0.1", 500
0
)
+ api1 = RestApiEndpoint("127.0.0.1", 500
1
)
# connect data centers to this endpoint
api1.connectDatacenter(dc1)
api1.connectDatacenter(dc2)
# connect data centers to this endpoint
api1.connectDatacenter(dc1)
api1.connectDatacenter(dc2)