question

Martina avatar image
Martina asked Martina posted

Creating a spirent avalanche session in iTest

Hi, I am creating a Spirent Avalanche session in iTest I have an Avalanche: 10.89.150.107 Reflector: 10.89.150.108 Could you please let me know what would be my chassis ip? PFA the test.tcl and config.tcl files Thanks, Martina.
iTesttraffic generation
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
HosoonK avatar image
HosoonK answered HosoonK posted

 

lappend stcProvisionList [list "10.155.2.77:2,1" "00-00-0-00-00-1" "Copper" "Full" "1000" "Disable"]
lappend stcProvisionList [list "10.155.2.77:2,2" "00-00-0-00-00-2" "Copper" "Full" "1000" "Enable"]
lappend stcProvisionList [list "10.155.2.77:2,3" "00-00-0-00-00-3" "Copper" "Full" "1000" "Enable"]
lappend stcProvisionList [list "10.155.2.77:2,4" "00-00-0-00-00-4" "Copper" "Full" "1000" "Enable"]F

 

I would suggest to use the ip address that you see from your "config.tcl" file as your chassis ip address in iTest session profile (SP).

 

...<snip>

lappend stcProvisionList [list "10.155.2.77:2,1" "00-00-0-00-00-1" "Copper" "Full" "1000" "Disable"]

lappend stcProvisionList [list "10.155.2.77:2,2" "00-00-0-00-00-2" "Copper" "Full" "1000" "Enable"]

lappend stcProvisionList [list "10.155.2.77:2,3" "00-00-0-00-00-3" "Copper" "Full" "1000" "Enable"]

lappend stcProvisionList [list "10.155.2.77:2,4" "00-00-0-00-00-4" "Copper" "Full" "1000" "Enable"]

...<snip>

 

Client cluster units (2,1;0)  ans Server cluster units (2,2;1) values can be found from the "test.tcl" file as below.

 

...<snip>

 

   #

    # Create Client Cluster

    #

    set clientUnits [list]

    lappend clientUnits "10.155.2.77:2,1;0"

    set clientClusterID [SPI_AV::ClusterController::CreateCluster "client" "MyClientCluster" $clientUnits]

    puts "Created client cluster"

 

    #

    # Create Server Cluster

    #

    set serverUnits [list]

    lappend serverUnits "10.155.2.77:2,2;1"

    set serverClusterID [SPI_AV::ClusterController::CreateCluster "server" "MyServerCluster" $serverUnits]

    puts "Created server cluster"

    ...<snip>

 

Also, make sure you add all ports to "Port Provision List" in your Avalanche SP as you see from your "config.tcl".

 

Thanks,

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Martina avatar image Martina commented ·

Hi,

 

Thanks for your inputs.

In my example we have a different client and server cluster unit as seen below.

In the example you mentioned there is only one device with different ports being used as a client and server.

So in my case what would be my chassis ip?

 

  #
    # Create Client Cluster
    #
    set clientUnits [list]
    lappend clientUnits "10.89.150.107;0"
    lappend clientUnits "10.89.150.107;1"
    set clientClusterID [SPI_AV::ClusterController::CreateCluster "client" "MyClientCluster" $clientUnits]
    puts "Created client cluster"
   
    #
    # Create Server Cluster
    #
    set serverUnits [list]
    lappend serverUnits "10.89.150.108;1"
    lappend serverUnits "10.89.150.108;0"
    set serverClusterID [SPI_AV::ClusterController::CreateCluster "server" "MyServerCluster" $serverUnits]
    puts "Created server cluster

0 Likes 0 ·
RushabhS avatar image RushabhS Martina commented ·

It looks like you are trying to use 2 different Chassis for the avalanche session . Currently , we do not support this feature of connecting to multiple chassis at the same time . We have filed this as a feature request , and this should be available in the forthcoming releases .

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.