ibm-information-center/dist/eclipse/plugins/i5OS.ic.rzall_5.4.0.1/rzalladvqos2.htm

202 lines
6.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 4.0//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Traffic direction</title>
<meta name="Copyright" content="Copyright (c) 2004 by IBM Corporation">
<!-- All rights reserved. Licensed Materials Property of IBM -->
<!-- US Government Users Restricted Rights -->
<!-- Use, duplication or disclosure restricted by -->
<!-- GSA ADP Schedule Contract with IBM Corp. -->
<!--
----------------------------------------------------------------------------
START_DESCRIPTION
Page Function: Determine if traffic in policy is outbound (leaving your server) or inbound (entering your server)
Stored Values:
[prevDir](parent.hidden.clientInfo[clientNum][11])[outbound or inbound]
Next and Back:
[Next]:rzalladvqos10.htm if prevDir = "outbound"
Next]:rzalladvqos3.htm if prevDir = "inbound"
[Back]: rzalladvqos1.htm
END_DESCRIPTION
----------------------------------------------------------------------------
-->
<LINK rel="stylesheet" type="text/css" href="../rzahg/ic.css">
<script language = "Javascript" src = "../rzahg/iccommon.js"></script>
<script language="Javascript" type="text/javascript">
//START NON-TRANSLATABLE
//Obtain name of HTML file in parent frame.
var parentDir = parent.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
var parentUrl = parent.window.location.href.substring(parentDir.length,parent.window.location.href.length+1);
if (parentUrl.indexOf("#") >= 0) { parentUrl = parentUrl.substring(0,parentUrl.indexOf("#"));}
function fillin() {
//Is the hidden frame already loaded with the correct html?
if (parentUrl != "rzalladvqoswelcome.htm") {
window.location = "rzalladvqoswelcome.htm"; //load advisor frameset
return;
} else {
//Obtain name of HTML file in hidden frame.
var hiddenDir = parent.hidden.window.location.href.substring(0,location.href.lastIndexOf('/')+1);
var hiddenUrl = parent.hidden.window.location.href.substring(hiddenDir.length,parent.hidden.window.location.href.length+1);
if (hiddenUrl.indexOf("#") >= 0) { hiddenUrl = hiddenUrl.substring(0,hiddenUrl.indexOf("#"));}
if (hiddenUrl != "rzalladvqoshidden.htm") {
//Correct HTML not loaded, load it
parent.hidden.window.location = "rzalladvqoshidden.htm";
} else { //already loaded
fillin2();
}
}
}
clientNum = parent.hidden.retClientNumber()
/*
----------------------------------------------------------------------------
checks to see if the direction (inbound/outbound) gets changed by user returning
to this page
----------------------------------------------------------------------------
*/
function pathswitch() {
prevDir=parent.hidden.clientInfo[clientNum][11]
if ( prevDir == "outbound" && document.type.policytype[1].checked ) {return true;} //went outbound, then inbound
else if ( prevDir == "inbound" && document.type.policytype[0].checked ) {return true;} //went inbound, then outbound
else{return false;}
}
/*
----------------------------------------------------------------------------
clears all data that has been stored on the current clientNum
----------------------------------------------------------------------------
*/
function clearCurData() {
//reset path variables
var noNonRSVP = true;
var hasInboundCustom = false;
var hasOutboundDiffCustom = false;
for ( var i=0; i<parent.hidden.clientInfo[clientNum].length; i++ ) { //clear clientInfo array
parent.hidden.clientInfo[clientNum][i] = "";
}
for ( var i=0; i<parent.hidden.inboundClientInfo[clientNum].length; i++ ) { //clear clientInfo array
parent.hidden.inboundClientInfo[clientNum][i] = "";
}
for ( var i=0; i<parent.hidden.custominboundapps[clientNum].length; i++ ) { //clear custominboundapps
for ( var j=0; j<parent.hidden.custominboundapps[clientNum][j].length; j++ ) {
parent.hidden.custominboundapps[clientNum][i][j] = "";
}
}
for ( var i=0; i<parent.hidden.inboundapps[clientNum].length; i++ ) { //clear inboundapps
for ( var j=0; j<parent.hidden.inboundapps[clientNum][j].length; j++ ) {
parent.hidden.inboundapps[clientNum][i][j] = "";
}
}
for ( var i=0; i<parent.hidden.intservapps[clientNum].length; i++ ) { //clear intservapps
for ( var j=0; j<parent.hidden.intservapps[clientNum][j].length; j++ ) {
parent.hidden.intservapps[clientNum][i][j] = "";
}
}
for ( var i=0; i<parent.hidden.customapps[clientNum].length; i++ ) { //clear customapps
for ( var j=0; j<parent.hidden.customapps[clientNum][j].length; j++ ) {
parent.hidden.customapps[clientNum][i][j] = "";
}
}
for ( var i=0; i<parent.hidden.clientapps[clientNum].length; i++ ) { //clear clientapps
for ( var j=0; j<parent.hidden.clientapps[clientNum][j].length; j++ ) {
parent.hidden.clientapps[clientNum][i][j] = "";
}
}
}
function onNext() {
didPathSwitch = pathswitch();
//didPathSwitch= true;
if ( didPathSwitch ) {
clearCurData();
}
// if outbound go to client outboud (10)
if (document.type.policytype[0].checked){
parent.hidden.clientInfo[clientNum][11] = "outbound"
window.location = "rzalladvqos10.htm";
}
//if inbound go to client inbound (12)
if (document.type.policytype[1].checked){
parent.hidden.clientInfo[clientNum][11] = "inbound"
window.location = "rzalladvqos12.htm";
}
}
function onBack() {
/** delete this ....LS
if (document.type.policytype[0].checked){
parent.hidden.clientInfo[clientNum][10] = "integrated"
}
else(parent.hidden.clientInfo[clientNum][10] = "hybrid")
**/
window.location = "rzalladvqos1.htm";
}
function fillin2() {
typePolicy = parent.hidden.clientInfo[clientNum][11] + ''
switch ( typePolicy ) {
case "inbound" :
document.type.policytype[1].checked = true;
break;
case "outbound" :
document.type.policytype[0].checked = true;
break;
}
}
//END NON-TRANSLATABLE
</script>
</head>
<BODY onload="fillin()">
<h2>QoS planning advisor: Inbound or Outbound</h2>
<p>Consider how you want to control traffic flow. The first option is to control traffic leaving your system. <strong>Outbound bandwidth</strong> policies allow you to mark data and control network traffic to a client or for an application. You can also request to reserve server resources for a specific connection.
<p>The second option is to control traffic entering your network. <strong>Inbound admission</strong> policies allow you to place limits on network traffic attempting to connect to your system. </p><p>What type of QoS policy do you want to create?</p>
<form name="type">
<INPUT TYPE="radio" NAME="policytype" id="policytype1" VALUE="outbound" checked><Label for="policytype1">Outbound policy</LABEL><br>
<INPUT TYPE="radio" NAME="policytype" id="policytype2" VALUE="inbound"><Label for="policytype2">Inbound policy</LABEL><P>
<center><input name=submit type="button" value="&lt;&lt;&nbsp;Back&nbsp" onClick="onBack()">
<input name=submit type="button" value="&nbsp;Next&nbsp&gt;&gt;" onClick="onNext()">
</center>
</form>
</BODY>
</html>