Skip to content

Commit 20d16c8

Browse files
committed
CLOUDSTACK-9805: Display VR list in network details
Displays a VR tab that lists VRs for the network in the detail views Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
1 parent 6358985 commit 20d16c8

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

ui/index.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,6 @@
18181818
<script type="text/javascript" src="scripts/ui-custom/securityRules.js"></script>
18191819
<script type="text/javascript" src="scripts/ui-custom/vpc.js"></script>
18201820
<script type="text/javascript" src="scripts/vpc.js"></script>
1821-
<script type="text/javascript" src="scripts/network.js"></script>
18221821
<script type="text/javascript" src="scripts/ui-custom/recurringSnapshots.js"></script>
18231822
<script type="text/javascript" src="scripts/ui-custom/uploadVolume.js"></script>
18241823
<script type="text/javascript" src="scripts/storage.js"></script>
@@ -1833,6 +1832,7 @@
18331832
<script type="text/javascript" src="scripts/ui-custom/physicalResources.js"></script>
18341833
<script type="text/javascript" src="scripts/ui-custom/zoneWizard.js"></script>
18351834
<script type="text/javascript" src="scripts/system.js"></script>
1835+
<script type="text/javascript" src="scripts/network.js"></script>
18361836
<script type="text/javascript" src="scripts/domains.js"></script>
18371837
<script type="text/javascript" src="scripts/docs.js"></script>
18381838
<script type="text/javascript" src="scripts/vm_snapshots.js"></script>

ui/scripts/network.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1892,6 +1892,11 @@
18921892
}
18931893
});
18941894
}
1895+
},
1896+
1897+
virtualRouters: {
1898+
title: "label.virtual.appliances",
1899+
listView: cloudStack.sections.system.subsections.virtualRouters.sections.routerNoGroup.listView
18951900
}
18961901
}
18971902
}

ui/scripts/system.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9769,6 +9769,11 @@
97699769
domainid: args.context.routerGroupByAccount[0].domainid
97709770
})
97719771
}
9772+
if ("networks" in args.context) {
9773+
$.extend(data2, {
9774+
networkid: args.context.networks[0].id
9775+
})
9776+
}
97729777
}
97739778

97749779
var routers =[];

0 commit comments

Comments
 (0)