Changes between Version 15 and Version 16 of GENIEducation/HyperNets


Ignore:
Timestamp:
08/16/13 14:04:42 (11 years ago)
Author:
shuang@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIEducation/HyperNets

    v15 v16  
    9898 - 5. "!HyperNetName" is the name of the !HyperNet, we actually pre-pend the username before the !HyperNetName to form the name for the slice in GENI. e.g., username is "shufeng", !HyperNetName is "Ring", then slice name is "shufeng-Ring"
    9999 - 6. server is the IP address of the Network Hypervisor service hosing node.
     100 - 7. an example !HyperNet config file can be found here: http://www.gpolab.bbn.com/experiment-support/HyperNet/Examples/myConfig.txt
     101
     102== Network Hypervisor API calls ==
     103 - Config getConfig(String configFile): get configuration from configFile. e.g.,
     104{{{
     105 #import pvnlib.*
     106 ...
     107 Config myConfig = PVNLib.getConfig("myConfig.txt");
     108}}}
     109 - APIMessage registerPVN(Config myConfig): registers a !HyperNet, with configuration specified in myConfig. e.g.,
     110{{{
     111 #import pvnlib.*
     112 ...
     113 private static boolean regPVN(Config myConfig) {
     114        APIMessage retValue = myPVN.registerPVN(myConfig);
     115        textArea.append(retValue.message + "\n");
     116        return retValue.result;
     117 }
     118}}}
    100119
    101120
    102