Github user nitin-maharana commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/786#discussion_r39011419
--- Diff: ui/scripts/network.js ---
@@ -1612,6 +1613,36 @@
});
}
});
+
+ if (!isConfigRulesMsgShown) {
+ isConfigRulesMsgShown =
true;
+ $.ajax({
+ url:
createURL('listNetworkOfferings'),
+ data: {
+ id:
args.context.networks[0].networkofferingid
+ },
+ dataType: 'json',
+ async: true,
+ success:
function(json) {
+ var response =
json.listnetworkofferingsresponse.networkoffering ?
+
json.listnetworkofferingsresponse.networkoffering[0] : null;
+
+ if (response !=
null) {
+ var
egressdefaultpolicy;
+
+ if
(response.egressdefaultpolicy == true) {
+
egressdefaultpolicy = 'Block';
+ } else {
+
egressdefaultpolicy = 'Allow';
+ }
+
+
cloudStack.dialog.notice({
+ message:
_l('Configure the rules to ' + egressdefaultpolicy + ' Traffic.')
--- End diff --
I am making one more pull request with the change from a different branch.
Thanks.--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at [email protected] or file a JIRA ticket with INFRA. ---
