Ask Your Question
0

Questions related to Primitive support to save the topology coordinates and TopologyCache.sav file / reference : https://git.opendaylight.org/gerrit/#/c/313/

asked 2014-10-12 08:31:42 -0700

esumit gravatar image

Regarding - Primitive support to save the topology coordinates / https://git.opendaylight.org/gerrit/#/c/313/

Q-1 : May I know what problem this bug has solved ?

My understanding says :

Each Host/Switch shown on the topology viewer equipped with x,y co-ordinates, and those host/switch are shown on circle layout. user need to manually drag/drop and set the host/switch icons for the comfortable view or any other reason and then click on save. It save all the host/switch related information including the x,y co-ordinates in a file topologyCache.sav. Earlier it was not there so if topology.web bundle gut restarted then user again require to set the positioning of the host/switch icon ?

So My understanding is correct on this case ?

Q-2 : Do I need to really click on 'Save' to save the topology coordinates information ? or What is the way so that it can automatically save the information on every drag/drop of icons without clicking 'save'?

Q-3: As soon user perform drag/drop on the same time its x,y co-ordinates got updated on topologyCache.sav file , if yes then how it happens if not then how can be implemented?

Q-4 : What is the life cycle of this topologyCache.sav file ? if ODL controller sopped then this file still persist ?

Q-5: Do I need to have separate data structure , which keeps real time value of X,Y co-ordinates , what would be the best approach, parse topologyCache.sav directly and get from it ? Or introduce separate post method on UI side and on updates, save that data on a different OSGI bundle or different data structure ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-10-29 04:09:10 -0700

esumit gravatar image

Referred the open-toplogy.js and topology.java (metacahce data structure ). Use break points , debug the things, then you will know the flow and questions got answered.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2014-10-12 08:31:42 -0700

Seen: 1,818 times

Last updated: Oct 29 '14