api: Add to listRouters response the VR scripts version (#3372)

Add missing scriptsversion field to list router api call response.

Fixes #3357
This commit is contained in:
Anurag Awasthi 2019-06-10 22:50:57 +05:30 committed by Rohit Yadav
parent 4b5a415f24
commit c4f6c43852
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ public class DomainRouterJoinDaoImpl extends GenericDaoBase<DomainRouterJoinVO,
routerResponse.setCreated(router.getCreated());
routerResponse.setState(router.getState());
routerResponse.setIsRedundantRouter(router.isRedundantRouter());
routerResponse.setScriptsVersion(router.getScriptsVersion());
if (router.getRedundantState() != null) {
routerResponse.setRedundantState(router.getRedundantState().toString());
}