Changes between Version 23 and Version 24 of GENIEducation/HyperNets
- Timestamp:
- 08/23/13 10:44:59 (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GENIEducation/HyperNets
v23 v24 107 107 - Config getConfig(String configFile): get configuration from configFile. e.g., 108 108 {{{ 109 #import pvnlib.* 109 #import pvnlib.*; 110 110 ... 111 111 Config myConfig = PVNLib.getConfig("myConfig.txt"); … … 113 113 - APIMessage registerPVN(Config myConfig): registers a !HyperNet, with configuration specified in myConfig. e.g., 114 114 {{{ 115 #import pvnlib.* 115 #import pvnlib.*; 116 116 ... 117 117 private PVNLib myPVN = new PVNLib("andor.gpolab.bbn.com"); … … 124 124 - APIMessage buildTopo(String pvnName): build the topology on GENI with the given !HyperNet name. e.g., 125 125 {{{ 126 #import pvnlib.* 126 #import pvnlib.*; 127 127 ... 128 128 private PVNLib myPVN = new PVNLib("andor.gpolab.bbn.com"); … … 135 135 - APIMessage tearDown(String pvnName): tears down the topology on GENI with given !HyperNet name. e.g., 136 136 {{{ 137 #import pvnlib.* 137 #import pvnlib.*; 138 138 ... 139 139 private PVNLib myPVN = new PVNLib("andor.gpolab.bbn.com"); … … 153 153 - Topology buildFullMesh(String pvnName, ArrayList<Node> nodeList): builds a full mesh with the given list of nodes. 154 154 {{{ 155 #import pvnlib.* 155 #import pvnlib.*; 156 156 ... 157 157 Topology myTopo; … … 163 163 - Node addPR(String pvnName, Node pr, String type): adds a programmable router to your topology. pvnName is the name of your !HyperNet. You can specify Node pr's virtualization type, which specific physical node you want (bounded node), and from which aggregate manager. Alternatively, you can specify the virtualization type of the pr in String type. 164 164 {{{ 165 #import pvnlib.* 165 #import pvnlib.*; 166 166 ... 167 167 Node myNode = new Node();