simulator
Scenario

A scenario is used to represent a simulated network. The scenario keeps track of simulated network along with any changes to the topology.

Note that a scenario may only be modified from within a single simulation session.



public class Scenario

Properties
convergenceState The convergence state of this scenario.

type=simulator.ConvergenceState
access=read-only
default=converged
Displayed(tab/group)=Convergence State (/States)

description User defined description for the scenario.

type=string
default=
minimum=0
maximum=128
Displayed(tab/group)=Description

displayedName User defined display name for the scenario.

type=string
default=
minimum=1
maximum=32
Displayed(tab/group)=Scenario Name

id The system generated unique ID for the scenario.

type=long
access=read-create
default=0
minimum=1
Displayed(tab/group)=Scenario ID

importState The import state of this scenario.

type=simulator.ImportingState
access=read-only
default=new
Displayed(tab/group)=Import State (/States)

numberOfRouter The number of router per scenario.

type=long
access=read-only
default=0
minimum=1

simSession The pointer to the session, if any, that is currently using this scenario.

type=Pointer
access=read-only
Displayed(tab/group)=Session (/Hidden)

topologysim.IgpTopologyModel-Set type=Children-Set
topologysim.MplsModel-Set type=Children-Set
userName The user that created the scenario.

type=string
access=read-only
minimum=0
maximum=40
Displayed(tab/group)=Owner

  
Properties inherited from ManagedObject
actionMask, children-Set, deploymentState, isFaultSquelched, name, objectFullName, selfAlarmed
 
Methods

analyzeImpact

Provides XML support for performing a Simulation Impact Analysis on this scenario.
Input Parameters:
instanceFullName : string - the full name of the object.
continueOnFailure : continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false

close

Stops simulation on this scenario.
Input Parameters:
deployer : Deployer - the deployment state
synchronousDeploy : boolean - (Optional) Specify whether to block until the changes have been fully deployed to the network. A value of "true" means to block. A value of "false" means to return immediately. Default: false (asynchronous)
clearOnDeployFailure : boolean - (Optional) Specify whether to clear any failed deployers. A value of "true" means to clear. A value of "false" means to leave the failed deployer. Default: false
deployRetries : int - (Optional) The number of times to attempt re-deployment during synchronous deployment. This parameter is meaningless in the asynchronous case. Default: 0
deployRetryInterval : long - (Optional) The number of milliseconds to wait between deployment retries. This parameter is meaningless in the asynchronous case. Default: 0
taskDescription : string - (Optional) A user friendly description of what the operation does. This information will be used by the task manager.
instanceFullName : string - the full name of the object.
continueOnFailure : continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false

open

Starts simulation on this scenario. There can be at most only 2 scenarios under simulation.
Input Parameters:
deployer : Deployer - the deployment state
synchronousDeploy : boolean - (Optional) Specify whether to block until the changes have been fully deployed to the network. A value of "true" means to block. A value of "false" means to return immediately. Default: false (asynchronous)
clearOnDeployFailure : boolean - (Optional) Specify whether to clear any failed deployers. A value of "true" means to clear. A value of "false" means to leave the failed deployer. Default: false
deployRetries : int - (Optional) The number of times to attempt re-deployment during synchronous deployment. This parameter is meaningless in the asynchronous case. Default: 0
deployRetryInterval : long - (Optional) The number of milliseconds to wait between deployment retries. This parameter is meaningless in the asynchronous case. Default: 0
taskDescription : string - (Optional) A user friendly description of what the operation does. This information will be used by the task manager.
instanceFullName : string - the full name of the object.
continueOnFailure : continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false

openAndImport

Starts simulation on this scenario. There can be at most only 2 scenarios under simulation.
Input Parameters:
deployer : Deployer - the deployment state
synchronousDeploy : boolean - (Optional) Specify whether to block until the changes have been fully deployed to the network. A value of "true" means to block. A value of "false" means to return immediately. Default: false (asynchronous)
clearOnDeployFailure : boolean - (Optional) Specify whether to clear any failed deployers. A value of "true" means to clear. A value of "false" means to leave the failed deployer. Default: false
deployRetries : int - (Optional) The number of times to attempt re-deployment during synchronous deployment. This parameter is meaningless in the asynchronous case. Default: 0
deployRetryInterval : long - (Optional) The number of milliseconds to wait between deployment retries. This parameter is meaningless in the asynchronous case. Default: 0
taskDescription : string - (Optional) A user friendly description of what the operation does. This information will be used by the task manager.
instanceFullName : string - the full name of the object.
importStruct : simulator.ImportStruct -
continueOnFailure : continueOnFailure - (Optional) Continue processing requests in this stream if an exception occurs, unless the request is invalid. Default: false