User Tools

Site Tools


wiki:vsperf

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
wiki:vsperf [2015/09/09 14:44]
Billy O'Mahony [Routing Tables]
wiki:vsperf [2015/09/22 12:49] (current)
Billy O'Mahony [Typical Test Sequence]
Line 24: Line 24:
 {{:​vsperf:​vsperf.msc.png?​900|}} {{:​vsperf:​vsperf.msc.png?​900|}}
  
-//This diagram was generated using [[http://​www.mcternan.me.uk/​mscgen/​|mscgen]]. For ease of editing the text used to generate the diagram is included below.//+//This diagram was generated using [[http://​www.mcternan.me.uk/​mscgen/​|mscgen]].//​
  
-======= Test Configuration ====== 
- 
-Details of ''​conf/​01_testcase.conf''​ goes here. 
-  
 ====== Configuration ======= ====== Configuration =======
  
Line 117: Line 113:
 ====== Controllers ====== ====== Controllers ======
  
-====== ​Component ​Loader ======+Controllers are used in conjunction with abstract interfaces as way of decoupling the control of vSwtiches, VNFs and TrafficGenerators from other components. 
 + 
 +The controlled classes provide basic primitive operations. The Controllers sequence and co-ordinate these primitive operation in to useful actions. For instance the vswitch_controller_PVP can be used to bring any vSwitch (that implements the primitives defined in IVSwitch) into the configuration required by the Phy-to-Phy ​ Deployment Scenario. ​  
 + 
 +In order to support a new vSwitch only a new implementation of IVSwitch needs be created for the new vSwitch to be capable of fulfilling all the Deployment Scenarios provided for by existing or future vSwitch Controllers.  
 + 
 +Similarly if a new Deployment Scenario is required it only needs to be written once as a new vSwitch Controller and it will immediately be capable of controlling all existing and future vSwitches in to that Deployment Scenario. 
 + 
 +Similarly the Traffic Controllers can be used to co-ordinate basic operations provided by implementers of ITrafficGenerator to provide useful tests. Though traffic generators generally already implement full test cases i.e. they both generate suitable traffic and analyse returned traffic in order to implement a test which has typically been predefined in an RFC document. However the Traffic Controller class allows for the possibility of further enhancement - such as iterating over tests for various packet sizes or creating new tests.  
 + 
 +**Traffic Controller'​s Role** 
 + 
 +{{:​vsperf:​traffic_controller.png?​900|}} 
 + 
 + 
 +====== Loader ​& Component Factory ​======
  
-====== ​Component Factory ​======+The working of the Loader package (which is responsible for //finding// arbitrary classes based on configuration data) and the Component Factory ​which is responsible for //​choosing//​ the correct class for a particular situation - e.g. Deployment Scenario can be seen in this diagram.
  
 +{{:​vsperf:​factory_and_loader.png?​900|}}
 ====== Routing Tables ====== ====== Routing Tables ======
  
wiki/vsperf.1441809865.txt.gz · Last modified: 2015/09/09 14:44 by Billy O'Mahony