Skip to content

Commit

Permalink
Setting type as Embedded by default
Browse files Browse the repository at this point in the history
Change-Id: I45187063f6c1ade62a1492dfa2ca3f77220a6ff3
  • Loading branch information
sbavanasi committed Oct 17, 2014
1 parent 5fa5c57 commit 3420e2e
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -240,7 +240,9 @@ function virtualRoutersConfig() {
postObject["virtual-router"]["parent_type"] = "global-system-config";
postObject["virtual-router"]["name"] = name;
postObject["virtual-router"]["virtual_router_ip_address"] = ipAddress;
postObject["virtual-router"]["virtual_router_type"] = type;
if(type.length > 0) {
postObject["virtual-router"]["virtual_router_type"] = type;
}
doAjaxCall(url, methodType, JSON.stringify(postObject), 'successHandlerForVirtualRouters', 'failureHandlerForVirtualRouters', null, null);
}

Expand Down

0 comments on commit 3420e2e

Please sign in to comment.