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.py
diff --git
a/src/emuvim/examples/simple_topology.py
b/src/emuvim/examples/simple_topology.py
index
5460909
..
8f940fc
100755
(executable)
--- a/
src/emuvim/examples/simple_topology.py
+++ b/
src/emuvim/examples/simple_topology.py
@@
-78,7
+78,7
@@
def create_topology1():
"""
# create a new instance of a endpoint implementation
zapi1 = ZeroRpcApiEndpoint("0.0.0.0", 4242)
"""
# create a new instance of a endpoint implementation
zapi1 = ZeroRpcApiEndpoint("0.0.0.0", 4242)
- rapi1 = RestApiEndpoint("127.0.0.1", 500
0
)
+ rapi1 = RestApiEndpoint("127.0.0.1", 500
1
)
# connect data centers to this endpoint
zapi1.connectDatacenter(dc1)
zapi1.connectDatacenter(dc2)
# connect data centers to this endpoint
zapi1.connectDatacenter(dc1)
zapi1.connectDatacenter(dc2)