-
Notifications
You must be signed in to change notification settings - Fork 390
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[VNC API Server] Remove irond dependency
That patch remove dependency to the irond IF-MAP server. It implements a minimalist IF-MAP v2 server run as a part of the contrail API server. That server is directly populated by the VNC API server (directly access the python dict that represents the ifmap graph, no HTML serialization). It keeps a HTML interface for control nodes to poll the graph. Only request 'newSession', 'subscribe' (root graph only) and 'poll' methods are implemented. For the moment, the old ifmap client which sets and maintains the ifmap sessions with irond server is use if no IP and TCP port are set to bind the self managed ifmap server ('ifmap_listen_ip' and 'ifmap_listen_port'). Anyway, config unit tests were migrated to use that new self managed ifmap server (some schema-transformer unit tests were skiped due to new issue appeared. That needs to be investigated and fixed). === Results with a db populated with 79440 resources === Time elapsed for the vnc api server to sync ifmap db from: - without patch #1: 0:04:00.0272121 #2: 0:03:51.0994972 #3: 0:03:49.4030671 - with patch: #1: 0:00:39.394018 #2: 0:00:38.890950 #3: 0:00:39.109681 Time elapsed for a python script to create a new ifmap session, subscribe to the root graph and poll it (searchResult): - without patch #1: 0:00:14.655667 #2: 0:00:13.452200 #3: 0:00:13.905878 - with patch: #1: 0:00:04.591735 #2: 0:00:04.592040 #3: 0:00:04.192904 Closes-Bug: #1629268 Change-Id: Ib35b48b20c8d46005bf18e8f9b81064985099ff7 (cherry picked from commit a112b1b)
- Loading branch information
Édouard Thuleau
committed
Feb 14, 2017
1 parent
5e6c3f7
commit 584680b
Showing
28 changed files
with
1,929 additions
and
1,914 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ webtest | |
pyaml | ||
keystonemiddleware | ||
junitxml | ||
pyOpenSSL |
Oops, something went wrong.