That works and also consider any value passed via pybot (-v) will overwrite the value in Variables.py
> On Jan 18, 2016, at 9:09 PM, Sanjib Mohapatra <[email protected]> > wrote: > > Hi > > There is a file Variables.py, Please ensure you change according to your > setup, ex: I am using as below. > Hope it helps. > > root@mininet-vm:/home/mininet/integration/test/csit/suites/openflowplugin/Clustering# > vi ../../../variables/Variables.py > > # VM Environment defaults > #DEFAULT_LINUX_PROMPT = '>' > DEFAULT_LINUX_PROMPT = '#' > #DEFAULT_USER = 'jenkins' > DEFAULT_USER = 'root' > DEFAULT_TIMEOUT = '30s' > > # ODL system variables > ODL_SYSTEM_IP = '10.183.181.51' # Override if ODL is not running locally to > pybot > #ODL_SYSTEM_IP_LIST = ['ODL_SYSTEM_1_IP', 'ODL_SYSTEM_2_IP', > 'ODL_SYSTEM_3_IP'] > ODL_SYSTEM_1_IP = '10.183.181.51' > ODL_SYSTEM_2_IP = '10.183.181.52' > ODL_SYSTEM_3_IP = '10.183.181.53' > ODL_SYSTEM_IP_LIST = ['10.183.181.51', '10.183.181.52', '10.183.181.53'] > > ODL_SYSTEM_USER = DEFAULT_USER > ODL_SYSTEM_PASSWORD = 'rootroot' # empty means use public key authentication > ODL_SYSTEM_PROMPT = DEFAULT_LINUX_PROMPT > > # "Tools" system variables (mininet etc). > TOOLS_SYSTEM_IP = '10.183.181.51' # Override if tools are not run locally to > pybot > TOOLS_SYSTEM_USER = DEFAULT_USER > TOOLS_SYSTEM_PASSWORD = 'rootroot' # empty means use public key > authentication > TOOLS_SYSTEM_PROMPT = DEFAULT_LINUX_PROMPT > > # KARAF Variables > KARAF_SHELL_PORT = '8101' > ESCAPE_CHARACTER = '\x1B' > KARAF_DETAILED_PROMPT = '@' + ESCAPE_CHARACTER + '[0m' + ESCAPE_CHARACTER + > '[34mroot' + ESCAPE_CHARACTER + '[0m>' > KARAF_USER = 'karaf' > KARAF_PASSWORD = 'karaf' > KARAF_PROMPT = 'opendaylight-user' > KARAF_HOME= '/home/mininet/controller-Li/deploy/current/odl' > > # Deprecated old variables, to be removed once all tests that need them are > # updated to use the new names. > CONTROLLER = ODL_SYSTEM_IP > CONTROLLERS = ['CONTROLLER', 'CONTROLLER1', 'CONTROLLER2'] > CONTROLLER_PASSWORD = ODL_SYSTEM_PASSWORD > CONTROLLER_PROMPT = ODL_SYSTEM_PROMPT > MININET = TOOLS_SYSTEM_IP > MININET_USER = TOOLS_SYSTEM_USER > MININET_PASSWORD = TOOLS_SYSTEM_PASSWORD > MININET_PROMPT = TOOLS_SYSTEM_PROMPT > PROMPT = '#' > > Thanks > Sanjib > > From: 한솔 [mailto:[email protected] <mailto:[email protected]>] > Sent: 18 January 2016 17:58 > To: Sanjib Mohapatra > Cc: [email protected] > <mailto:[email protected]>; > [email protected] > <mailto:[email protected]> > Subject: Re: [integration-dev] [openflowplugin-dev] A Question about OF > clustering robot test > > Thank you for reply. > > Your comment is helpful to me. However, still result in error. > > The first two items were only pass the rest have failed. > > One of failure as below : > > Start Mininet Multiple Connections :: Start mininet with connection to all > cluster instances. | FAIL | > Login with public key failed for user 'jenkins'. > > To resolve the above error, I reinstalled the jenkins and reset the public > key of user 'jenkins' > > I'm using a lithium-0.3.0, I wonder that additional things should be > installed. > > > Thanks > Han > > 2016-01-18 18:24 GMT+09:00 Sanjib Mohapatra <[email protected] > <mailto:[email protected]>>: > Hi > > I test it as below, it works. > > pybot -L TRACE -v KARAF_HOME:/home/mininet/controller-Li/deploy/current/odl > -v MININET_USER:mininet -v USER_HOME:/home/mininet -v > CONTROLLER:10.183.181.51 -v CONTROLLER1:10.183.181.52 -v > CONTROLLER2:10.183.181.53 -v USER:root -v PASSWORD:rootroot -v > WORKSPACE:/home/mininet -v BUNDLEFOLDER:/home/mininet/controller-Li -v > DEFAULT_LINUX_PROMPT:\# -v CONTROLLER_STOP_TIMEOUT:300 -v NUM_ODL_SYSTEM:3 -v > MININET_PASSWORD:rootroot 020__Cluster_HA_Leader_Follower_Failover.robot > > PS: the above given 020__Cluster_HA_Leader_Follower_Failover.robot script > has not been checked in yet. > > Thanks > Sanjib > > From: [email protected] > <mailto:[email protected]> > [mailto:[email protected] > <mailto:[email protected]>]On Behalf Of ?? > Sent: 18 January 2016 14:17 > To: [email protected] > <mailto:[email protected]>; > [email protected] > <mailto:[email protected]> > Subject: Re: [integration-dev] [openflowplugin-dev] A Question about OF > clustering robot test > > Hi, everyone. > > I have a question about OF clustering robot > test(010__Cluster_HA_Owner_Failover.robot). > > I want to show master/slave controllers about switches and failover test > result. So, I try to run that robot test. > > I enter command -v NUM_ODL_SYSTEM:3 -v ODL_SYSTEM_1_IP:192.168.56.110 -v > ODL_SYSTEM_2_IP:192.168.56.111 -v ODL_SYSTEM_3_IP:192.168.56.112 -v > MININET:192.168.56.109 -v MININET_USER:$USER -v USER_HOME:/home/ubuntu > > but It isn't work. most of test cases were fail. > > command is wrong? If this command is right, how can I fixed it? > > > > _______________________________________________ > openflowplugin-dev mailing list > [email protected] > <mailto:[email protected]> > https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev > <https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev>
_______________________________________________ openflowplugin-dev mailing list [email protected] https://lists.opendaylight.org/mailman/listinfo/openflowplugin-dev
