Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

RENCI-NRIG/na2-oess-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This code is no longer being maintained. The repo is kept for historical reasons.

For NA2 configuration file, the following parameters can be specified:

                <plugin name="oess-plugin">
			<!-- mandatory -->
                        <jar>../../../na2-oess-plugin/target/oess-plugin-1.0-SNAPSHOT-jar-with-dependencies.jar</jar>
			<!-- mandatory -->
                        <mainClass>org.renci.nodeagent2.oess.Main</mainClass>
			<!-- mandatory -->
                        <schedulePeriod length="5" unit="minute" />
			<!-- mandatory -->
                        <description>OESS Plugin for localhost</description>
                        <properties>
				<!-- mandatory -->
                                <property name="oess.username" value="oess" />
				<!-- mandatory -->
                                <property name="oess.password" value="oess" />
				<!-- mandatory -->
                                <property name="oess.url" value="https://localhost:20443/oess" />
				<!-- mandatory -->
                                <property name="workgroup.id" value="1" />
				<!-- mandatory -->
                                <property name="network.type" value="openflow" />
				<!-- disables SSL cert and host checks, useful for testing, should be
				     enabled in production  -->
                                <property name="disable.ssl.check" value="true" />
				<!-- disable SSL SNI extension (should be done for AL2S OESS servers) -->
				<property name="disable.sni" value="true" />
				<!-- enable HTTP debugging into log file -->
                                <property name="debug.http" value="false" />
				<!-- For MPLS network only, force to use shortest path. For openflow shortest path always used regardless -->
                                <property name="use.shortest.path" value="true" />
				<!-- comment to put with the circuit created by node agent -->
                                <property name="oess.comment" value="Test Circuit" />
                        </properties>
                </plugin>
                
The plugin uses the following ADDITIONAL properties for JOIN operations:

	private static final String TAGZ_PROP = "oess.tagZ"; - on join call specifies one of the endpoint tags
	private static final String TAGA_PROP = "oess.tagA"; - on join call specifies one of the endpoint tags
	private static final String EPZ_PROP = "oess.endpointZ"; - on join call specifies one of the endpoint OSCARS urns
	private static final String EPA_PROP = "oess.endpointA"; - on join call specifies one of the endpoint OSCARS urns
	private static final String BW_PROP = "oess.bw"; - on join call specifies bandwidth in BPS(!)