public class NdlCommons
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NdlCommons.ProxyFields
Class to return proxy for TCP ports info
|
| Modifier and Type | Field and Description |
|---|---|
static com.hp.hpl.jena.rdf.model.Property |
adaptationProperty |
static com.hp.hpl.jena.rdf.model.Property |
adaptationPropertyOf |
static com.hp.hpl.jena.rdf.model.Property |
atLayer |
static com.hp.hpl.jena.rdf.model.Property |
availableLabelSet |
static com.hp.hpl.jena.rdf.model.Resource |
bitRate10G |
static com.hp.hpl.jena.rdf.model.Resource |
bitRate1G |
static com.hp.hpl.jena.rdf.model.Resource |
bmResourceTypeClass |
static com.hp.hpl.jena.rdf.model.Property |
carryReservation |
static com.hp.hpl.jena.rdf.model.Property |
collectionElementProperty |
static com.hp.hpl.jena.rdf.model.Property |
collectionItemProperty |
static com.hp.hpl.jena.rdf.model.Property |
collectionSizeProperty |
static com.hp.hpl.jena.rdf.model.Resource |
computeElementClass |
static com.hp.hpl.jena.rdf.model.Property |
connectedTo |
static com.hp.hpl.jena.rdf.model.Property |
connectionDirection |
static com.hp.hpl.jena.rdf.model.Property |
cpuCapacity |
static com.hp.hpl.jena.rdf.model.Property |
daysProperty |
static long |
Default_Bandwidth |
static com.hp.hpl.jena.rdf.model.Resource |
deviceOntClass |
static com.hp.hpl.jena.rdf.model.Resource |
diskImageClass |
static com.hp.hpl.jena.rdf.model.Property |
diskImageProperty |
static com.hp.hpl.jena.rdf.model.Property |
doFormat |
static com.hp.hpl.jena.rdf.model.Resource |
domainAggregateManagerClass |
static com.hp.hpl.jena.rdf.model.Resource |
domainControllerClass |
static com.hp.hpl.jena.rdf.model.Property |
domainHasAccessMethod |
static com.hp.hpl.jena.rdf.model.Property |
domainHasAggregateManager |
static com.hp.hpl.jena.rdf.model.Property |
domainHasController |
static com.hp.hpl.jena.rdf.model.Property |
domainHasResourceTypeProperty |
static com.hp.hpl.jena.rdf.model.Property |
domainHasServiceProperty |
static com.hp.hpl.jena.rdf.model.Property |
domainHasTopology |
static com.hp.hpl.jena.rdf.model.Property |
domainIsAllocatable |
static com.hp.hpl.jena.rdf.model.Property |
domainProxyProperty |
static com.hp.hpl.jena.rdf.model.Resource |
domainSSHServiceClass |
static com.hp.hpl.jena.rdf.model.Resource |
ethernetNetworkElementClass |
static com.hp.hpl.jena.rdf.model.Resource |
fourtygbmResourceTypeClass |
static com.hp.hpl.jena.rdf.model.Property |
geniSliceProperty |
static com.hp.hpl.jena.rdf.model.Resource |
geniSliceStateConfiguring |
static com.hp.hpl.jena.rdf.model.Resource |
geniSliceStateFailed |
static com.hp.hpl.jena.rdf.model.Resource |
geniSliceStateReady |
static com.hp.hpl.jena.rdf.model.Resource |
geniSliceStateUnknown |
static com.hp.hpl.jena.rdf.model.Property |
hasBeginningObjectProperty |
static com.hp.hpl.jena.rdf.model.Property |
hasCastType |
static com.hp.hpl.jena.rdf.model.Property |
hasColorAttribute |
static com.hp.hpl.jena.rdf.model.Property |
hasColorBlob |
static com.hp.hpl.jena.rdf.model.Property |
hasColorKey |
static com.hp.hpl.jena.rdf.model.Property |
hasColorLabel |
static com.hp.hpl.jena.rdf.model.Property |
hasColorValue |
static com.hp.hpl.jena.rdf.model.Property |
hasColorXMLBlob |
static com.hp.hpl.jena.rdf.model.Property |
hasColorXMLCompressedBlob |
static com.hp.hpl.jena.rdf.model.Property |
hasDNProperty |
static com.hp.hpl.jena.rdf.model.Property |
hasDurationDescriptionObjectProperty |
static com.hp.hpl.jena.rdf.model.Property |
hasEmailProperty |
static com.hp.hpl.jena.rdf.model.Property |
hasEndObjectProperty |
static com.hp.hpl.jena.rdf.model.Property |
hasFSParam |
static com.hp.hpl.jena.rdf.model.Property |
hasFSType |
static com.hp.hpl.jena.rdf.model.Property |
hasGUIDProperty |
static com.hp.hpl.jena.rdf.model.Property |
hasInputInterface |
static com.hp.hpl.jena.rdf.model.Property |
hasInstanceIDProperty |
static com.hp.hpl.jena.rdf.model.Property |
hasMntPoint |
static com.hp.hpl.jena.rdf.model.Property |
hasOutputInterface |
static com.hp.hpl.jena.rdf.model.Property |
hasRequestGroupURL |
static com.hp.hpl.jena.rdf.model.Property |
hasSliceGeniState |
static com.hp.hpl.jena.rdf.model.Property |
hasSlicePasswordProperty |
static com.hp.hpl.jena.rdf.model.Property |
hasSwitchMatrix |
static com.hp.hpl.jena.rdf.model.Property |
hasUnitServer |
static com.hp.hpl.jena.rdf.model.Property |
hasURLProperty |
static com.hp.hpl.jena.rdf.model.Property |
hasURNProperty |
static com.hp.hpl.jena.rdf.model.Property |
hostInterfaceName |
static com.hp.hpl.jena.rdf.model.Property |
hostName_p |
static com.hp.hpl.jena.rdf.model.Property |
hoursProperty |
static com.hp.hpl.jena.rdf.model.Property |
inConnection |
static com.hp.hpl.jena.rdf.model.Property |
inDomainProperty |
static com.hp.hpl.jena.rdf.model.Property |
inRequestNetworkConnection |
static com.hp.hpl.jena.rdf.model.Resource |
instantOntClass |
static com.hp.hpl.jena.rdf.model.Resource |
interfaceOntClass |
static com.hp.hpl.jena.rdf.model.Property |
inXSDDateTime |
static com.hp.hpl.jena.rdf.model.Property |
ip4LocalIPAddressProperty |
static com.hp.hpl.jena.rdf.model.Property |
ip4NetmaskProperty |
static com.hp.hpl.jena.rdf.model.Resource |
IPAddressOntClass |
static com.hp.hpl.jena.rdf.model.Property |
ipMacAddressProperty |
static com.hp.hpl.jena.rdf.model.Property |
isLabelProducer |
static com.hp.hpl.jena.rdf.model.Property |
isModifyProperty |
static com.hp.hpl.jena.rdf.model.Resource |
labelOntClass |
static com.hp.hpl.jena.rdf.model.Resource |
labelRangeOntClass |
static com.hp.hpl.jena.rdf.model.Resource |
labelSetOntClass |
static com.hp.hpl.jena.rdf.model.Property |
layerBandwidthProperty |
static com.hp.hpl.jena.rdf.model.Property |
layerHasBitRate |
static com.hp.hpl.jena.rdf.model.Property |
layerLabel |
static com.hp.hpl.jena.rdf.model.Property |
layerLabelIdProperty |
static com.hp.hpl.jena.rdf.model.Property |
layerLabelIsPrimary |
static com.hp.hpl.jena.rdf.model.Property |
layerLatencyProperty |
static com.hp.hpl.jena.rdf.model.Property |
layerSwapLabelProperty |
static com.hp.hpl.jena.rdf.model.Property |
layerUsedLabels |
static com.hp.hpl.jena.rdf.model.Property |
linkTo |
static com.hp.hpl.jena.rdf.model.Property |
locationLatProperty |
static com.hp.hpl.jena.rdf.model.Property |
locationLocatedAtProperty |
static com.hp.hpl.jena.rdf.model.Property |
locationLongProperty |
static com.hp.hpl.jena.rdf.model.Property |
lowerBound |
static com.hp.hpl.jena.rdf.model.Resource |
lunResourceTypeClass |
static com.hp.hpl.jena.rdf.model.Property |
manifestHasChild |
static com.hp.hpl.jena.rdf.model.Property |
manifestHasParent |
static com.hp.hpl.jena.rdf.model.Resource |
manifestOntClass |
static int |
max_vlan_tag |
static com.hp.hpl.jena.rdf.model.Property |
memoryCapacity |
static com.hp.hpl.jena.rdf.model.Property |
minutesProperty |
static com.hp.hpl.jena.rdf.model.Property |
modifyAddElementProperty |
static com.hp.hpl.jena.rdf.model.Property |
modifyElementProperty |
static com.hp.hpl.jena.rdf.model.Property |
modifyIncreaseByProperty |
static com.hp.hpl.jena.rdf.model.Property |
modifyRemoveElementProperty |
static com.hp.hpl.jena.rdf.model.Property |
modifySubjectProperty |
static java.lang.String |
multicast |
static com.hp.hpl.jena.rdf.model.Resource |
multicastOntClass |
static com.hp.hpl.jena.rdf.model.Resource |
networkDomainOntClass |
static com.hp.hpl.jena.rdf.model.Resource |
networkServiceClass |
static com.hp.hpl.jena.rdf.model.Resource |
networkStorageClass |
static com.hp.hpl.jena.rdf.model.Property |
numCEProperty |
static com.hp.hpl.jena.rdf.model.Property |
numCPUCore |
static com.hp.hpl.jena.rdf.model.Property |
numHop |
static com.hp.hpl.jena.rdf.model.Property |
numResource |
static com.hp.hpl.jena.rdf.model.Property |
ocgLine |
static com.hp.hpl.jena.rdf.model.Resource |
ofSliceClass |
static java.lang.String |
ontPrefix |
static com.hp.hpl.jena.rdf.model.Property |
openflowCapableProperty |
static com.hp.hpl.jena.rdf.model.Property |
openflowControllerProperty |
static com.hp.hpl.jena.rdf.model.Resource |
openflowV1_0Ind |
static com.hp.hpl.jena.rdf.model.Resource |
openflowV1_1Ind |
static com.hp.hpl.jena.rdf.model.Resource |
openflowV1_2Ind |
static com.hp.hpl.jena.rdf.model.Resource |
openflowV1_3Ind |
static java.lang.String |
ORCA_NDL_SCHEMA |
static java.lang.String |
ORCA_NDL_SUBSTRATE |
static java.lang.String |
ORCA_NS |
static com.hp.hpl.jena.rdf.model.Property |
OWL_sameAs |
static com.hp.hpl.jena.rdf.model.Property |
portOccupied |
static com.hp.hpl.jena.rdf.model.Resource |
proxyClass |
static com.hp.hpl.jena.rdf.model.Property |
quantumNetUUIDProperty |
static com.hp.hpl.jena.rdf.model.Property |
RDF_TYPE |
static com.hp.hpl.jena.rdf.model.Property |
RDFS_Label |
static com.hp.hpl.jena.rdf.model.Property |
RDFS_SeeAlso |
static com.hp.hpl.jena.rdf.model.Resource |
requestActiveState |
static com.hp.hpl.jena.rdf.model.Resource |
requestActiveTicketedState |
static com.hp.hpl.jena.rdf.model.Resource |
requestClosedState |
static com.hp.hpl.jena.rdf.model.Resource |
requestCloseWaitState |
static com.hp.hpl.jena.rdf.model.Property |
requestDependOnProperty |
static com.hp.hpl.jena.rdf.model.Resource |
requestFailedState |
static com.hp.hpl.jena.rdf.model.Property |
requestGroupNameProperty |
static com.hp.hpl.jena.rdf.model.Property |
requestHasReservationState |
static com.hp.hpl.jena.rdf.model.Property |
requestMessage |
static com.hp.hpl.jena.rdf.model.Resource |
requestNascentState |
static com.hp.hpl.jena.rdf.model.Resource |
requestNoState |
static com.hp.hpl.jena.rdf.model.Property |
requestPostBootScriptProperty |
static com.hp.hpl.jena.rdf.model.Resource |
requestReservationStateClass |
static com.hp.hpl.jena.rdf.model.Resource |
requestTicketedState |
static com.hp.hpl.jena.rdf.model.Resource |
reservationOntClass |
static com.hp.hpl.jena.rdf.model.Property |
resourceTypeRank |
static com.hp.hpl.jena.rdf.model.Property |
secondsProperty |
static com.hp.hpl.jena.rdf.model.Resource |
serverCloudClass |
static com.hp.hpl.jena.rdf.model.Resource |
sliceClass |
static com.hp.hpl.jena.rdf.model.Resource |
sliceGeniStateClass |
static com.hp.hpl.jena.rdf.model.Property |
specificCEProperty |
static java.lang.String |
stitching_domain_str |
static com.hp.hpl.jena.rdf.model.Resource |
stitchingDomain |
static com.hp.hpl.jena.rdf.model.Property |
storageCapacity |
static com.hp.hpl.jena.rdf.model.Property |
swappingCapability |
static com.hp.hpl.jena.rdf.model.Property |
switchedTo |
static com.hp.hpl.jena.rdf.model.Property |
switchingCapability |
static com.hp.hpl.jena.rdf.model.Resource |
switchingMatrixOntClass |
static com.hp.hpl.jena.rdf.model.Property |
taggedEthernetProperty |
static com.hp.hpl.jena.rdf.model.Resource |
tcpProxyClass |
static com.hp.hpl.jena.rdf.model.Resource |
topologyBroadcastConnectionClass |
static com.hp.hpl.jena.rdf.model.Resource |
topologyCrossConnectClass |
static com.hp.hpl.jena.rdf.model.Property |
topologyHasInterfaceProperty |
static com.hp.hpl.jena.rdf.model.Property |
topologyHasLogin |
static com.hp.hpl.jena.rdf.model.Property |
topologyHasName |
static com.hp.hpl.jena.rdf.model.Property |
topologyHasURL |
static com.hp.hpl.jena.rdf.model.Property |
topologyInterfaceOfProperty |
static com.hp.hpl.jena.rdf.model.Resource |
topologyLinkClass |
static com.hp.hpl.jena.rdf.model.Resource |
topologyLinkConnectionClass |
static com.hp.hpl.jena.rdf.model.Property |
topologyManagementIP |
static com.hp.hpl.jena.rdf.model.Property |
topologyManagementPort |
static com.hp.hpl.jena.rdf.model.Resource |
topologyNetworkConnectionClass |
static com.hp.hpl.jena.rdf.model.Property |
topologyProxiedPort |
static com.hp.hpl.jena.rdf.model.Property |
topologySplittableProperty |
static com.hp.hpl.jena.rdf.model.Property |
tunnelingCapability |
static java.lang.String |
unicast |
static com.hp.hpl.jena.rdf.model.Property |
upperBound |
static java.lang.String |
UriSeparator |
static java.lang.String |
UriSuffix |
static com.hp.hpl.jena.rdf.model.Property |
virtualizeProperty |
static com.hp.hpl.jena.rdf.model.Property |
visited |
static com.hp.hpl.jena.rdf.model.Property |
vlan |
static com.hp.hpl.jena.rdf.model.Resource |
vlanResourceTypeClass |
static com.hp.hpl.jena.rdf.model.Resource |
vmResourceTypeClass |
static java.lang.String |
W3_NS |
static com.hp.hpl.jena.rdf.model.Property |
workerNodeIDProperty |
| Constructor and Description |
|---|
NdlCommons() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
attachedToCompute(com.hp.hpl.jena.rdf.model.Resource intface)
One of the owners of this interface is compute node
|
static boolean |
attachedToStitchPort(com.hp.hpl.jena.rdf.model.Resource intface)
One of the owners of this interface is compute node
|
static java.lang.String |
createQueryConnectedToNetworkConnection(com.hp.hpl.jena.rdf.model.Resource nc)
Find all things connected to this network connection (typically in request)
|
static java.lang.String |
createQueryConnectionPeers(com.hp.hpl.jena.rdf.model.Resource n)
return peers of this resource across a connection (that aren't itself)
|
static java.lang.String |
createQueryISCSIStorageProperties(com.hp.hpl.jena.rdf.model.Resource st)
Get storage properties like fs_param, format, fs_type, mnt_point, capacity
|
static java.lang.String |
createQueryPeers(com.hp.hpl.jena.rdf.model.Resource n)
Find the things sharing interface with this resource (usually connections)
|
static java.lang.String |
createQueryString(java.lang.String selectStr,
java.lang.String fromStr,
java.lang.String whereStr) |
static java.lang.String |
createQueryStringColorDependency() |
static java.lang.String |
createQueryStringConnect() |
static java.lang.String |
createQueryStringDomainLocationDetails()
Query for domain location
|
static java.lang.String |
createQueryStringHasColor()
to support coloring extension, return a query that looks for colors attached to network elements
|
static java.lang.String |
createQueryStringLinkClass(java.lang.String ob) |
static java.lang.String |
createQueryStringManifestDetails() |
static java.lang.String |
createQueryStringModifyReservation()
Query for modification details
|
static java.lang.String |
createQueryStringObject(java.lang.String sb,
java.lang.String p) |
static java.lang.String |
createQueryStringOnPath(java.lang.String subject,
java.lang.String sub) |
static java.lang.String |
createQueryStringReservationTerm()
Get the query for reservation and its term details
|
static java.lang.String |
createQueryStringSite() |
static java.lang.String |
createQueryStringSubject(java.lang.String p,
java.lang.String ob) |
static java.lang.String |
createQueryStringSubjectData(java.lang.String p,
java.lang.String ob) |
static java.lang.String |
createQueryStringType(java.lang.String ob) |
static java.lang.String |
createQueryStringWhoHasInterface(com.hp.hpl.jena.rdf.model.Resource intf)
get a query for an interface object on who hasInterface on it
|
static java.lang.String |
createQueryStringWhoHaveInterface(com.hp.hpl.jena.rdf.model.Resource intf) |
static java.lang.String |
findLayer(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.rdf.model.Resource resource) |
static java.lang.String |
getAddressIP(com.hp.hpl.jena.rdf.model.Resource i) |
static java.lang.String |
getAddressMAC(com.hp.hpl.jena.rdf.model.Resource i) |
static java.lang.String |
getAddressNetmask(com.hp.hpl.jena.rdf.model.Resource i) |
static com.hp.hpl.jena.query.ResultSet |
getAvailableLabelSet(com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String rsURI,
java.lang.String availableLableSet_str) |
static java.lang.String |
getBareMetalType(com.hp.hpl.jena.rdf.model.Resource r)
Get the specific type of baremetal node for this resource
|
static java.lang.String |
getBigString(int size) |
static double |
getBitRate(com.hp.hpl.jena.rdf.model.Resource i) |
static java.lang.String |
getBitRateAsString(com.hp.hpl.jena.rdf.model.Resource i) |
static java.lang.String |
getColorBlob(com.hp.hpl.jena.rdf.model.Resource color)
get the text blob on color.
|
static java.lang.String |
getColorBlobXML(com.hp.hpl.jena.rdf.model.Resource color,
boolean compressed)
get the XML blob on color.
|
static java.util.Map<java.lang.String,java.lang.String> |
getColorKeys(com.hp.hpl.jena.rdf.model.Resource color)
Get key/value attributes from a color node as a single map.
|
static java.util.List<com.hp.hpl.jena.rdf.model.Resource> |
getConnectedToInterfaces(com.hp.hpl.jena.rdf.model.Resource i)
Get all subjects connectedTo this one (or null)
|
static com.hp.hpl.jena.rdf.model.Resource |
getDiskImage(com.hp.hpl.jena.rdf.model.Resource i)
Get diskImage of a resource; null otherwise
|
static java.lang.String |
getDNProperty(com.hp.hpl.jena.rdf.model.Resource i)
Get a DN property of something
|
static com.hp.hpl.jena.rdf.model.Resource |
getDomain(com.hp.hpl.jena.rdf.model.Resource res)
Get domain inDomain property of Resource (reservation or node) or null
|
static java.util.List<java.lang.String> |
getDomainControllerUrls(com.hp.hpl.jena.rdf.model.Resource d)
Typically for the ads.
|
static com.hp.hpl.jena.query.ResultSet |
getDomainHasCastType(java.lang.String property,
com.hp.hpl.jena.ontology.OntModel ontModel) |
static com.hp.hpl.jena.rdf.model.Resource |
getDomainHasCastType(java.lang.String cast,
java.lang.String property,
com.hp.hpl.jena.ontology.OntModel ontModel) |
static java.util.List<com.hp.hpl.jena.rdf.model.Resource> |
getDomainLocations(com.hp.hpl.jena.rdf.model.Resource d)
get locations of a domain
|
static java.lang.String |
getDomainName(com.hp.hpl.jena.rdf.model.Resource dom)
Do domain name (NDL to short name) from domain resource
|
static DomainResourceType |
getDomainResourceType(com.hp.hpl.jena.rdf.model.Resource r)
Set resource type and count.
|
static DomainResourceType |
getDomainResourceType(com.hp.hpl.jena.rdf.model.Resource r,
NetworkElement element)
Get the hasResourceType property of resource
|
static java.util.List<DomainResourceType> |
getDomainResourceTypes(com.hp.hpl.jena.rdf.model.Resource r)
Answer all domain resource types for this resource (if multiples are specified).
|
static java.lang.String |
getEC2InstanceId(com.hp.hpl.jena.rdf.model.Resource i) |
static java.lang.String |
getEC2VMSize(com.hp.hpl.jena.rdf.model.Resource r)
Get a string corresponding to VM size in EC2 nomenclature (so EucaM1Small and EC2M1Small will both be m1.small)
|
static java.lang.String |
getEC2WorkerNodeId(com.hp.hpl.jena.rdf.model.Resource i) |
static java.lang.String |
getEmail(com.hp.hpl.jena.rdf.model.Resource i) |
protected static float |
getFloatProperty(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p)
get a floating point property or Float.MIN_VALUE
|
static java.lang.String |
getGeniSliceStateName(com.hp.hpl.jena.rdf.model.Resource i) |
static java.lang.String |
getGroupName(com.hp.hpl.jena.rdf.model.Resource i)
Get the value of the groupName property
|
static java.lang.String |
getGuidProperty(com.hp.hpl.jena.rdf.model.Resource i) |
static java.lang.String |
getHasURLProperty(com.hp.hpl.jena.rdf.model.Resource i)
Get hasURN property of something
|
static java.lang.String |
getImageHash(com.hp.hpl.jena.rdf.model.Resource di)
Assumes di is a DiskImage resource.
|
static java.lang.String |
getImageURL(com.hp.hpl.jena.rdf.model.Resource di)
Assumes di is the DiskImage resource; null if unspecified
|
static java.lang.String |
getIndividualsImageHash(com.hp.hpl.jena.rdf.model.Resource i)
Assumes i is a node-like resource that hasDiskImage on disk image resource or null
|
static java.lang.String |
getIndividualsImageURL(com.hp.hpl.jena.rdf.model.Resource i)
Assumes i is a node-like resource that hasDiskImage on disk image resource or null
|
static java.lang.String |
getInterfaceIP(com.hp.hpl.jena.rdf.model.Resource i) |
static java.lang.String |
getInterfaceNetmask(com.hp.hpl.jena.rdf.model.Resource i) |
static com.hp.hpl.jena.query.ResultSet |
getInterfaceOfSwitching(com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String rs) |
protected static int |
getIntProperty(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p)
Get an integer property or Integer.MIN_VALUE
|
static java.lang.String |
getLabelID(com.hp.hpl.jena.rdf.model.Resource r)
Get label_ID property attached to the resource
|
static com.hp.hpl.jena.query.ResultSet |
getLabelSet(java.lang.String set,
com.hp.hpl.jena.ontology.OntModel ontModel)
Get a ResultSet from collection:element query (upper, lower bounds and label IDs)
|
static java.util.LinkedList<LabelSet> |
getLabelSet(java.lang.String set,
java.lang.String rType,
com.hp.hpl.jena.ontology.OntModel ontModel)
Get a list of labelsets from a set URI
|
static float |
getLat(com.hp.hpl.jena.rdf.model.Resource loc)
get latitude of a location
|
static com.hp.hpl.jena.query.ResultSet |
getLayer(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String rsURI) |
static com.hp.hpl.jena.rdf.model.Resource |
getLayer(com.hp.hpl.jena.rdf.model.Resource c) |
static com.hp.hpl.jena.query.ResultSet |
getLayerAdapatation(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String rsURI) |
static com.hp.hpl.jena.query.ResultSet |
getLayerAdapatationOf(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String rsURI) |
static java.lang.String |
getLayerLabelLiteral(com.hp.hpl.jena.rdf.model.Resource r)
Get the literal behind resource layer:Label layer:label_ID literal
|
static com.hp.hpl.jena.rdf.model.Resource |
getLinkTo(com.hp.hpl.jena.rdf.model.Resource r)
Get linkTo resource of this resource
|
static int |
getLiteralInt(com.hp.hpl.jena.rdf.model.Literal i) |
protected static java.lang.String |
getLiteralProperty(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p)
get a literal property value
|
static float |
getLon(com.hp.hpl.jena.rdf.model.Resource loc)
get longitude of a location
|
static Label |
getLowerLabel(com.hp.hpl.jena.rdf.model.Resource lsr)
Get lower label of a resource
|
static java.lang.String |
getManifestControllerUrl(com.hp.hpl.jena.rdf.model.Resource m)
Get the controller url for a manifest
|
static java.lang.String |
getNameProperty(com.hp.hpl.jena.rdf.model.Resource i)
get a Name property of something
|
static org.apache.log4j.Logger |
getNdlLogger()
Get a preconfigured Logger for all things NDL
|
static java.util.List<java.lang.String> |
getNodeLogins(com.hp.hpl.jena.rdf.model.Resource node)
Get only the logins of the node, don't add root
|
static java.util.List<NdlCommons.ProxyFields> |
getNodeProxiedPorts(com.hp.hpl.jena.rdf.model.Resource node)
Get the list of ports proxied for this node.
|
static java.util.List<java.lang.String> |
getNodeServices(com.hp.hpl.jena.rdf.model.Resource node)
Get a list of services node supports.
|
static int |
getNumCE(com.hp.hpl.jena.rdf.model.Resource res)
Return numCE property or 0
|
static com.hp.hpl.jena.rdf.model.Resource |
getOfCtrl(com.hp.hpl.jena.rdf.model.Resource sl)
Get OF controller of most-likely a slice
|
static com.hp.hpl.jena.ontology.OntResource |
getOntOfType(com.hp.hpl.jena.ontology.OntModel aM,
java.lang.String type) |
static java.lang.String |
getOpenFlowVersion(com.hp.hpl.jena.rdf.model.Resource res)
Get the version of openflow (usually of a reservation).
|
static java.lang.String |
getOrcaDomainName(com.hp.hpl.jena.rdf.model.Resource dom) |
static java.lang.String |
getOrcaDomainName(java.lang.String domain_url)
Really short name equal to the one used in config.xml
|
static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> |
getPeersOrInterfaces(com.hp.hpl.jena.rdf.model.Resource st,
boolean peers)
Get peers across the connection or their interfaces.
|
static java.lang.String |
getPostBootScript(com.hp.hpl.jena.rdf.model.Resource i)
Get the value of the post boot script property
|
static java.lang.String |
getRequestGroupURLProperty(com.hp.hpl.jena.rdf.model.Resource i)
Nodes created from groups have this set to point to parent
|
static long |
getResourceBandwidth(com.hp.hpl.jena.rdf.model.Resource c) |
static void |
getResourceConstraints(com.hp.hpl.jena.rdf.model.Resource ceType,
NetworkElement element,
int count) |
static java.util.List<com.hp.hpl.jena.rdf.model.Resource> |
getResourceInterfaces(com.hp.hpl.jena.rdf.model.Resource r)
Get a list of interfaces (similar to getInterfacesOf)
|
static java.lang.String |
getResourceLabel(com.hp.hpl.jena.rdf.model.Resource r)
Get RDFS_Label property of resource
|
static long |
getResourceLatency(com.hp.hpl.jena.rdf.model.Resource c) |
static java.lang.String |
getResourceReservationNotice(com.hp.hpl.jena.rdf.model.Resource s)
get reservation notice of the resource
|
static java.lang.String |
getResourceStateAsString(com.hp.hpl.jena.rdf.model.Resource s)
Get the state of the resource as string (checks that it has state, otherwise returns null), s is resource
possessing state.
|
static long |
getResourceStorageCapacity(com.hp.hpl.jena.rdf.model.Resource c)
Get storage capacity property of the resource
|
static java.lang.Boolean |
getResourceStorageDoFormat(com.hp.hpl.jena.rdf.model.Resource c)
Get doFormat property of the resource
|
static java.lang.String |
getResourceStorageFSParam(com.hp.hpl.jena.rdf.model.Resource c)
Get hasFSParam property of the resource
|
static java.lang.String |
getResourceStorageFSType(com.hp.hpl.jena.rdf.model.Resource c)
Get hasFSType property of the resource
|
static java.lang.String |
getResourceStorageMntPoint(com.hp.hpl.jena.rdf.model.Resource c)
Get hasMntPoint property of the resource
|
static com.hp.hpl.jena.rdf.model.Resource |
getResourceType(com.hp.hpl.jena.rdf.model.Resource r)
Get RDF_TYPE property of resource
|
static com.hp.hpl.jena.rdf.model.Resource |
getSameAsResource(com.hp.hpl.jena.rdf.model.Resource i)
return owl:sameAs property resource, except when pointing to self
|
static int |
getSizeProperty(com.hp.hpl.jena.rdf.model.Resource i)
get a size of something
|
static java.lang.String |
getSlicePassword(com.hp.hpl.jena.rdf.model.Resource i) |
static com.hp.hpl.jena.rdf.model.Resource |
getSpecificCE(com.hp.hpl.jena.rdf.model.Resource res)
get specificCE property of a resource
|
static java.lang.String |
getStateAsString(com.hp.hpl.jena.rdf.model.Resource s)
Convert the state into a string (s is state)
|
protected static java.lang.String |
getStringProperty(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p)
Get some string property of a resource
|
static java.util.Date |
getTermDate(com.hp.hpl.jena.rdf.model.Literal d) |
static java.lang.String |
getTrueName(com.hp.hpl.jena.rdf.model.Resource r) |
static Label |
getUpperLabel(com.hp.hpl.jena.rdf.model.Resource lsr)
Get upper label of a resource
|
static java.lang.String |
getURL(com.hp.hpl.jena.rdf.model.Resource di) |
static java.lang.String |
getUrn(com.hp.hpl.jena.rdf.model.Resource i)
If the resource hasUrn property, return its value, null otherwise
|
static java.util.List<com.hp.hpl.jena.rdf.model.Resource> |
getWhoHasInterface(com.hp.hpl.jena.rdf.model.Resource i,
com.hp.hpl.jena.rdf.model.Model m)
Return resources that have this interface
|
static java.util.List<com.hp.hpl.jena.rdf.model.Resource> |
getXOVirtualizationType(com.hp.hpl.jena.ontology.OntModel abstractModel,
java.lang.String rType)
Get possible ExoGENI virtualization types based on resource type ("VM", "VLAN" or ...) Returns empty list if none
are advertised.
|
static boolean |
hasResourceType(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Resource t)
Check that this resource has this type
|
static void |
init()
Initialize Ndl Commons
|
static boolean |
isBareMetal(com.hp.hpl.jena.rdf.model.Resource r)
Is this a baremetal or VM?
|
static boolean |
isComputeElement(com.hp.hpl.jena.rdf.model.Resource r) |
static boolean |
isISCSINetworkStorage(com.hp.hpl.jena.rdf.model.Resource r)
Is this an *ISCSI* networkStorage node?
|
static boolean |
isLinkConnection(com.hp.hpl.jena.rdf.model.Resource r)
Is this a LinkConnection?
|
static boolean |
isModify(com.hp.hpl.jena.rdf.model.Resource res)
Is this element a modified element? (default false, if unspecified)
|
static boolean |
isMulticastDevice(com.hp.hpl.jena.rdf.model.Resource r)
Is this a multicast/broadcast DEVICE??
|
static boolean |
isNetworkStorage(com.hp.hpl.jena.rdf.model.Resource r) |
static boolean |
isSplittable(com.hp.hpl.jena.rdf.model.Resource res)
Is this resource splittable? (default false, if unspecified)
|
static boolean |
isStitchingNode(com.hp.hpl.jena.rdf.model.Resource r)
Is this a stitching node?
|
static boolean |
isStitchingNodeInManifest(com.hp.hpl.jena.rdf.model.Resource r) |
static void |
outputQueryResult(com.hp.hpl.jena.query.ResultSet results) |
static void |
outputQueryResult(com.hp.hpl.jena.query.ResultSet results,
com.hp.hpl.jena.query.Query query) |
static com.hp.hpl.jena.rdf.model.Resource |
parentGetInterface(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String node,
java.lang.String parent) |
static Label |
parseLayerLabel_1(com.hp.hpl.jena.rdf.model.Resource r)
Parse out a label, but don't assume the type is specified
|
static Label |
parseLayerLabel(com.hp.hpl.jena.rdf.model.Resource r)
parse out a layer.owl#Label
|
static com.hp.hpl.jena.query.ResultSet |
rdfQuery(com.hp.hpl.jena.rdf.model.Model model,
java.lang.String queryString)
Run a query on a model
|
static java.lang.String |
readFile(java.lang.String aFile)
Read a file into a string
|
static void |
setPrefix(com.hp.hpl.jena.ontology.OntModel model)
Define useful namespaces
|
static void |
setStorageParam(com.hp.hpl.jena.rdf.model.Resource r,
NetworkElement element) |
static java.lang.Float |
swapLabel(com.hp.hpl.jena.rdf.model.Resource l_rs) |
public static final java.lang.String ORCA_NDL_SCHEMA
public static final java.lang.String ORCA_NDL_SUBSTRATE
public static final java.lang.String ORCA_NS
public static final java.lang.String W3_NS
public static final long Default_Bandwidth
public static final int max_vlan_tag
public static final java.lang.String multicast
public static final java.lang.String unicast
public static final java.lang.String stitching_domain_str
public static java.lang.String ontPrefix
public static final com.hp.hpl.jena.rdf.model.Property collectionElementProperty
public static final com.hp.hpl.jena.rdf.model.Property collectionItemProperty
public static final com.hp.hpl.jena.rdf.model.Property collectionSizeProperty
public static final com.hp.hpl.jena.rdf.model.Property RDF_TYPE
public static final com.hp.hpl.jena.rdf.model.Property RDFS_Label
public static final com.hp.hpl.jena.rdf.model.Property RDFS_SeeAlso
public static final com.hp.hpl.jena.rdf.model.Property OWL_sameAs
public static final com.hp.hpl.jena.rdf.model.Property numCEProperty
public static final com.hp.hpl.jena.rdf.model.Property requestGroupNameProperty
public static final com.hp.hpl.jena.rdf.model.Property hasEmailProperty
public static final com.hp.hpl.jena.rdf.model.Property hasSlicePasswordProperty
public static final com.hp.hpl.jena.rdf.model.Property geniSliceProperty
public static final com.hp.hpl.jena.rdf.model.Property hasSliceGeniState
public static final com.hp.hpl.jena.rdf.model.Property inDomainProperty
public static final com.hp.hpl.jena.rdf.model.Property diskImageProperty
public static final com.hp.hpl.jena.rdf.model.Property topologySplittableProperty
public static final com.hp.hpl.jena.rdf.model.Property domainHasServiceProperty
public static final com.hp.hpl.jena.rdf.model.Property domainProxyProperty
public static final com.hp.hpl.jena.rdf.model.Property hasURLProperty
public static final com.hp.hpl.jena.rdf.model.Property hasGUIDProperty
public static final com.hp.hpl.jena.rdf.model.Property hasURNProperty
public static final com.hp.hpl.jena.rdf.model.Property specificCEProperty
public static final com.hp.hpl.jena.rdf.model.Property virtualizeProperty
public static final com.hp.hpl.jena.rdf.model.Property numCPUCore
public static final com.hp.hpl.jena.rdf.model.Property domainHasResourceTypeProperty
public static final com.hp.hpl.jena.rdf.model.Property topologyHasInterfaceProperty
public static final com.hp.hpl.jena.rdf.model.Property topologyInterfaceOfProperty
public static final com.hp.hpl.jena.rdf.model.Property layerBandwidthProperty
public static final com.hp.hpl.jena.rdf.model.Property layerLatencyProperty
public static final com.hp.hpl.jena.rdf.model.Property layerLabelIdProperty
public static final com.hp.hpl.jena.rdf.model.Property layerLabelIsPrimary
public static final com.hp.hpl.jena.rdf.model.Property layerUsedLabels
public static final com.hp.hpl.jena.rdf.model.Property ip4LocalIPAddressProperty
public static final com.hp.hpl.jena.rdf.model.Property ip4NetmaskProperty
public static final com.hp.hpl.jena.rdf.model.Property ipMacAddressProperty
public static final com.hp.hpl.jena.rdf.model.Property requestDependOnProperty
public static final com.hp.hpl.jena.rdf.model.Property requestPostBootScriptProperty
public static final com.hp.hpl.jena.rdf.model.Property domainHasAccessMethod
public static final com.hp.hpl.jena.rdf.model.Property domainHasTopology
public static final com.hp.hpl.jena.rdf.model.Property domainIsAllocatable
public static final com.hp.hpl.jena.rdf.model.Property domainHasAggregateManager
public static final com.hp.hpl.jena.rdf.model.Property domainHasController
public static final com.hp.hpl.jena.rdf.model.Property requestHasReservationState
public static final com.hp.hpl.jena.rdf.model.Property requestMessage
public static final com.hp.hpl.jena.rdf.model.Property hasDNProperty
public static final com.hp.hpl.jena.rdf.model.Property hasInstanceIDProperty
public static final com.hp.hpl.jena.rdf.model.Property workerNodeIDProperty
public static final com.hp.hpl.jena.rdf.model.Property hasBeginningObjectProperty
public static final com.hp.hpl.jena.rdf.model.Property hasEndObjectProperty
public static final com.hp.hpl.jena.rdf.model.Property hasDurationDescriptionObjectProperty
public static final com.hp.hpl.jena.rdf.model.Property inXSDDateTime
public static final com.hp.hpl.jena.rdf.model.Property daysProperty
public static final com.hp.hpl.jena.rdf.model.Property hoursProperty
public static final com.hp.hpl.jena.rdf.model.Property minutesProperty
public static final com.hp.hpl.jena.rdf.model.Property secondsProperty
public static final com.hp.hpl.jena.rdf.model.Property locationLocatedAtProperty
public static final com.hp.hpl.jena.rdf.model.Property locationLatProperty
public static final com.hp.hpl.jena.rdf.model.Property locationLongProperty
public static final com.hp.hpl.jena.rdf.model.Property hasInputInterface
public static final com.hp.hpl.jena.rdf.model.Property connectedTo
public static final com.hp.hpl.jena.rdf.model.Property linkTo
public static final com.hp.hpl.jena.rdf.model.Property switchedTo
public static final com.hp.hpl.jena.rdf.model.Property hasSwitchMatrix
public static final com.hp.hpl.jena.rdf.model.Property hasRequestGroupURL
public static final com.hp.hpl.jena.rdf.model.Property inRequestNetworkConnection
public static final com.hp.hpl.jena.rdf.model.Property hasOutputInterface
public static final com.hp.hpl.jena.rdf.model.Property adaptationProperty
public static final com.hp.hpl.jena.rdf.model.Property adaptationPropertyOf
public static final com.hp.hpl.jena.rdf.model.Property taggedEthernetProperty
public static final com.hp.hpl.jena.rdf.model.Property carryReservation
public static final com.hp.hpl.jena.rdf.model.Property atLayer
public static final com.hp.hpl.jena.rdf.model.Property hasCastType
public static final com.hp.hpl.jena.rdf.model.Property switchingCapability
public static final com.hp.hpl.jena.rdf.model.Property swappingCapability
public static final com.hp.hpl.jena.rdf.model.Property tunnelingCapability
public static final com.hp.hpl.jena.rdf.model.Property connectionDirection
public static final com.hp.hpl.jena.rdf.model.Property vlan
public static final com.hp.hpl.jena.rdf.model.Property ocgLine
public static final com.hp.hpl.jena.rdf.model.Property layerSwapLabelProperty
public static final com.hp.hpl.jena.rdf.model.Property portOccupied
public static final com.hp.hpl.jena.rdf.model.Property inConnection
public static final com.hp.hpl.jena.rdf.model.Property visited
public static final com.hp.hpl.jena.rdf.model.Property numHop
public static final com.hp.hpl.jena.rdf.model.Property openflowCapableProperty
public static final com.hp.hpl.jena.rdf.model.Property modifySubjectProperty
public static final com.hp.hpl.jena.rdf.model.Property modifyAddElementProperty
public static final com.hp.hpl.jena.rdf.model.Property modifyElementProperty
public static final com.hp.hpl.jena.rdf.model.Property isModifyProperty
public static final com.hp.hpl.jena.rdf.model.Property modifyRemoveElementProperty
public static final com.hp.hpl.jena.rdf.model.Property modifyIncreaseByProperty
public static final com.hp.hpl.jena.rdf.model.Property manifestHasParent
public static final com.hp.hpl.jena.rdf.model.Property manifestHasChild
public static final com.hp.hpl.jena.rdf.model.Property topologyHasName
public static final com.hp.hpl.jena.rdf.model.Property topologyHasURL
public static final com.hp.hpl.jena.rdf.model.Property hostName_p
public static final com.hp.hpl.jena.rdf.model.Property topologyManagementIP
public static final com.hp.hpl.jena.rdf.model.Property topologyManagementPort
public static final com.hp.hpl.jena.rdf.model.Property topologyHasLogin
public static final com.hp.hpl.jena.rdf.model.Property isLabelProducer
public static final com.hp.hpl.jena.rdf.model.Property availableLabelSet
public static final com.hp.hpl.jena.rdf.model.Property lowerBound
public static final com.hp.hpl.jena.rdf.model.Property upperBound
public static final com.hp.hpl.jena.rdf.model.Property resourceTypeRank
public static final com.hp.hpl.jena.rdf.model.Property hasUnitServer
public static final com.hp.hpl.jena.rdf.model.Property numResource
public static final com.hp.hpl.jena.rdf.model.Property hostInterfaceName
public static final com.hp.hpl.jena.rdf.model.Property layerLabel
public static final com.hp.hpl.jena.rdf.model.Property memoryCapacity
public static final com.hp.hpl.jena.rdf.model.Property cpuCapacity
public static final com.hp.hpl.jena.rdf.model.Property topologyProxiedPort
public static final com.hp.hpl.jena.rdf.model.Property openflowControllerProperty
public static final com.hp.hpl.jena.rdf.model.Property layerHasBitRate
public static final com.hp.hpl.jena.rdf.model.Property quantumNetUUIDProperty
public static final com.hp.hpl.jena.rdf.model.Property storageCapacity
public static final com.hp.hpl.jena.rdf.model.Property hasFSParam
public static final com.hp.hpl.jena.rdf.model.Property hasFSType
public static final com.hp.hpl.jena.rdf.model.Property hasMntPoint
public static final com.hp.hpl.jena.rdf.model.Property doFormat
public static final com.hp.hpl.jena.rdf.model.Property hasColorAttribute
public static final com.hp.hpl.jena.rdf.model.Property hasColorBlob
public static final com.hp.hpl.jena.rdf.model.Property hasColorKey
public static final com.hp.hpl.jena.rdf.model.Property hasColorLabel
public static final com.hp.hpl.jena.rdf.model.Property hasColorValue
public static final com.hp.hpl.jena.rdf.model.Property hasColorXMLBlob
public static final com.hp.hpl.jena.rdf.model.Property hasColorXMLCompressedBlob
public static final com.hp.hpl.jena.rdf.model.Resource networkStorageClass
public static final com.hp.hpl.jena.rdf.model.Resource computeElementClass
public static final com.hp.hpl.jena.rdf.model.Resource serverCloudClass
public static final com.hp.hpl.jena.rdf.model.Resource topologyNetworkConnectionClass
public static final com.hp.hpl.jena.rdf.model.Resource topologyBroadcastConnectionClass
public static final com.hp.hpl.jena.rdf.model.Resource vmResourceTypeClass
public static final com.hp.hpl.jena.rdf.model.Resource bmResourceTypeClass
public static final com.hp.hpl.jena.rdf.model.Resource fourtygbmResourceTypeClass
public static final com.hp.hpl.jena.rdf.model.Resource lunResourceTypeClass
public static final com.hp.hpl.jena.rdf.model.Resource ethernetNetworkElementClass
public static final com.hp.hpl.jena.rdf.model.Resource multicastOntClass
public static final com.hp.hpl.jena.rdf.model.Resource topologyCrossConnectClass
public static final com.hp.hpl.jena.rdf.model.Resource topologyLinkConnectionClass
public static final com.hp.hpl.jena.rdf.model.Resource deviceOntClass
public static final com.hp.hpl.jena.rdf.model.Resource switchingMatrixOntClass
public static final com.hp.hpl.jena.rdf.model.Resource interfaceOntClass
public static final com.hp.hpl.jena.rdf.model.Resource vlanResourceTypeClass
public static final com.hp.hpl.jena.rdf.model.Resource networkDomainOntClass
public static final com.hp.hpl.jena.rdf.model.Resource networkServiceClass
public static final com.hp.hpl.jena.rdf.model.Resource domainSSHServiceClass
public static final com.hp.hpl.jena.rdf.model.Resource reservationOntClass
public static final com.hp.hpl.jena.rdf.model.Resource manifestOntClass
public static final com.hp.hpl.jena.rdf.model.Resource domainAggregateManagerClass
public static final com.hp.hpl.jena.rdf.model.Resource domainControllerClass
public static final com.hp.hpl.jena.rdf.model.Resource requestReservationStateClass
public static final com.hp.hpl.jena.rdf.model.Resource requestActiveState
public static final com.hp.hpl.jena.rdf.model.Resource requestActiveTicketedState
public static final com.hp.hpl.jena.rdf.model.Resource topologyLinkClass
public static final com.hp.hpl.jena.rdf.model.Resource requestCloseWaitState
public static final com.hp.hpl.jena.rdf.model.Resource requestClosedState
public static final com.hp.hpl.jena.rdf.model.Resource requestFailedState
public static final com.hp.hpl.jena.rdf.model.Resource requestNascentState
public static final com.hp.hpl.jena.rdf.model.Resource requestNoState
public static final com.hp.hpl.jena.rdf.model.Resource requestTicketedState
public static final com.hp.hpl.jena.rdf.model.Resource labelRangeOntClass
public static final com.hp.hpl.jena.rdf.model.Resource labelOntClass
public static final com.hp.hpl.jena.rdf.model.Resource labelSetOntClass
public static final com.hp.hpl.jena.rdf.model.Resource IPAddressOntClass
public static final com.hp.hpl.jena.rdf.model.Resource proxyClass
public static final com.hp.hpl.jena.rdf.model.Resource tcpProxyClass
public static final com.hp.hpl.jena.rdf.model.Resource sliceClass
public static final com.hp.hpl.jena.rdf.model.Resource ofSliceClass
public static final com.hp.hpl.jena.rdf.model.Resource sliceGeniStateClass
public static final com.hp.hpl.jena.rdf.model.Resource instantOntClass
public static final com.hp.hpl.jena.rdf.model.Resource geniSliceStateConfiguring
public static final com.hp.hpl.jena.rdf.model.Resource geniSliceStateFailed
public static final com.hp.hpl.jena.rdf.model.Resource geniSliceStateReady
public static final com.hp.hpl.jena.rdf.model.Resource geniSliceStateUnknown
public static final com.hp.hpl.jena.rdf.model.Resource openflowV1_0Ind
public static final com.hp.hpl.jena.rdf.model.Resource openflowV1_1Ind
public static final com.hp.hpl.jena.rdf.model.Resource openflowV1_2Ind
public static final com.hp.hpl.jena.rdf.model.Resource openflowV1_3Ind
public static final com.hp.hpl.jena.rdf.model.Resource bitRate1G
public static final com.hp.hpl.jena.rdf.model.Resource bitRate10G
public static final com.hp.hpl.jena.rdf.model.Resource stitchingDomain
public static final com.hp.hpl.jena.rdf.model.Resource diskImageClass
public static final java.lang.String UriSeparator
public static final java.lang.String UriSuffix
public static java.lang.String createQueryConnectedToNetworkConnection(com.hp.hpl.jena.rdf.model.Resource nc)
nc - ncpublic static java.lang.String createQueryPeers(com.hp.hpl.jena.rdf.model.Resource n)
n - npublic static java.lang.String createQueryConnectionPeers(com.hp.hpl.jena.rdf.model.Resource n)
n - npublic static java.lang.String createQueryStringHasColor()
public static java.lang.String createQueryStringColorDependency()
public static java.lang.String createQueryISCSIStorageProperties(com.hp.hpl.jena.rdf.model.Resource st)
st - stpublic static java.lang.String createQueryStringReservationTerm()
public static java.lang.String createQueryStringModifyReservation()
public static java.lang.String createQueryStringDomainLocationDetails()
public static com.hp.hpl.jena.rdf.model.Resource getDomainHasCastType(java.lang.String cast,
java.lang.String property,
com.hp.hpl.jena.ontology.OntModel ontModel)
public static com.hp.hpl.jena.query.ResultSet getDomainHasCastType(java.lang.String property,
com.hp.hpl.jena.ontology.OntModel ontModel)
public static java.lang.String createQueryStringWhoHasInterface(com.hp.hpl.jena.rdf.model.Resource intf)
intf - intfpublic static java.lang.String createQueryStringWhoHaveInterface(com.hp.hpl.jena.rdf.model.Resource intf)
public static java.lang.String createQueryStringManifestDetails()
public static java.lang.String createQueryStringSite()
public static java.lang.String createQueryStringConnect()
public static com.hp.hpl.jena.query.ResultSet getAvailableLabelSet(com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String rsURI,
java.lang.String availableLableSet_str)
public static java.lang.String createQueryStringLinkClass(java.lang.String ob)
public static java.lang.String createQueryStringOnPath(java.lang.String subject,
java.lang.String sub)
public static java.lang.String createQueryStringObject(java.lang.String sb,
java.lang.String p)
public static java.lang.String findLayer(com.hp.hpl.jena.ontology.OntModel m,
com.hp.hpl.jena.rdf.model.Resource resource)
public static com.hp.hpl.jena.query.ResultSet getLayer(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String rsURI)
public static com.hp.hpl.jena.query.ResultSet getLayerAdapatation(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String rsURI)
public static com.hp.hpl.jena.query.ResultSet getLayerAdapatationOf(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String rsURI)
public static com.hp.hpl.jena.rdf.model.Resource parentGetInterface(com.hp.hpl.jena.ontology.OntModel m,
java.lang.String node,
java.lang.String parent)
public static com.hp.hpl.jena.query.ResultSet rdfQuery(com.hp.hpl.jena.rdf.model.Model model,
java.lang.String queryString)
model - modelqueryString - queryStringpublic static void outputQueryResult(com.hp.hpl.jena.query.ResultSet results,
com.hp.hpl.jena.query.Query query)
public static void outputQueryResult(com.hp.hpl.jena.query.ResultSet results)
public static java.util.List<com.hp.hpl.jena.rdf.model.Resource> getResourceInterfaces(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static com.hp.hpl.jena.rdf.model.Resource getLayer(com.hp.hpl.jena.rdf.model.Resource c)
public static long getResourceBandwidth(com.hp.hpl.jena.rdf.model.Resource c)
public static long getResourceStorageCapacity(com.hp.hpl.jena.rdf.model.Resource c)
c - cpublic static java.lang.String getResourceStorageFSParam(com.hp.hpl.jena.rdf.model.Resource c)
c - cpublic static java.lang.String getResourceStorageFSType(com.hp.hpl.jena.rdf.model.Resource c)
c - cpublic static java.lang.String getResourceStorageMntPoint(com.hp.hpl.jena.rdf.model.Resource c)
c - cpublic static java.lang.Boolean getResourceStorageDoFormat(com.hp.hpl.jena.rdf.model.Resource c)
c - cpublic static long getResourceLatency(com.hp.hpl.jena.rdf.model.Resource c)
public static java.lang.String getAddressIP(com.hp.hpl.jena.rdf.model.Resource i)
public static java.lang.String getAddressNetmask(com.hp.hpl.jena.rdf.model.Resource i)
public static java.lang.String getAddressMAC(com.hp.hpl.jena.rdf.model.Resource i)
public static java.lang.String getInterfaceIP(com.hp.hpl.jena.rdf.model.Resource i)
public static java.lang.String getInterfaceNetmask(com.hp.hpl.jena.rdf.model.Resource i)
public static com.hp.hpl.jena.rdf.model.Resource getSameAsResource(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getEC2InstanceId(com.hp.hpl.jena.rdf.model.Resource i)
public static java.lang.String getEC2WorkerNodeId(com.hp.hpl.jena.rdf.model.Resource i)
public static java.util.List<java.lang.String> getNodeServices(com.hp.hpl.jena.rdf.model.Resource node)
node - nodepublic static java.util.List<java.lang.String> getNodeLogins(com.hp.hpl.jena.rdf.model.Resource node)
node - nodepublic static java.util.List<NdlCommons.ProxyFields> getNodeProxiedPorts(com.hp.hpl.jena.rdf.model.Resource node)
node - nodepublic static int getLiteralInt(com.hp.hpl.jena.rdf.model.Literal i)
public static java.util.Date getTermDate(com.hp.hpl.jena.rdf.model.Literal d)
public static com.hp.hpl.jena.rdf.model.Resource getDiskImage(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static com.hp.hpl.jena.rdf.model.Resource getOfCtrl(com.hp.hpl.jena.rdf.model.Resource sl)
sl - slpublic static java.lang.String getOpenFlowVersion(com.hp.hpl.jena.rdf.model.Resource res)
res - respublic static java.lang.String getURL(com.hp.hpl.jena.rdf.model.Resource di)
public static java.lang.String getImageURL(com.hp.hpl.jena.rdf.model.Resource di)
di - dipublic static java.lang.String getImageHash(com.hp.hpl.jena.rdf.model.Resource di)
di - dipublic static java.lang.String getIndividualsImageURL(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getIndividualsImageHash(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static com.hp.hpl.jena.rdf.model.Resource getResourceType(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static boolean hasResourceType(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Resource t)
r - rt - tpublic static java.lang.String getResourceLabel(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static java.lang.String getPostBootScript(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getGroupName(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static com.hp.hpl.jena.query.ResultSet getInterfaceOfSwitching(com.hp.hpl.jena.ontology.OntModel ontModel,
java.lang.String rs)
public static java.lang.String createQueryStringType(java.lang.String ob)
public static java.lang.String createQueryStringSubject(java.lang.String p,
java.lang.String ob)
public static java.lang.String createQueryStringSubjectData(java.lang.String p,
java.lang.String ob)
public static java.lang.String createQueryString(java.lang.String selectStr,
java.lang.String fromStr,
java.lang.String whereStr)
public static com.hp.hpl.jena.ontology.OntResource getOntOfType(com.hp.hpl.jena.ontology.OntModel aM,
java.lang.String type)
public static com.hp.hpl.jena.rdf.model.Resource getDomain(com.hp.hpl.jena.rdf.model.Resource res)
res - respublic static java.lang.String getDomainName(com.hp.hpl.jena.rdf.model.Resource dom)
dom - dompublic static java.lang.String getOrcaDomainName(java.lang.String domain_url)
domain_url - domain_urlpublic static java.lang.String getOrcaDomainName(com.hp.hpl.jena.rdf.model.Resource dom)
public static java.util.List<com.hp.hpl.jena.rdf.model.Resource> getXOVirtualizationType(com.hp.hpl.jena.ontology.OntModel abstractModel,
java.lang.String rType)
abstractModel - abstractModelrType - rTypepublic static boolean isSplittable(com.hp.hpl.jena.rdf.model.Resource res)
res - respublic static boolean isModify(com.hp.hpl.jena.rdf.model.Resource res)
res - respublic static int getNumCE(com.hp.hpl.jena.rdf.model.Resource res)
res - respublic static com.hp.hpl.jena.rdf.model.Resource getSpecificCE(com.hp.hpl.jena.rdf.model.Resource res)
res - respublic static void getResourceConstraints(com.hp.hpl.jena.rdf.model.Resource ceType,
NetworkElement element,
int count)
public static DomainResourceType getDomainResourceType(com.hp.hpl.jena.rdf.model.Resource r, NetworkElement element)
r - - resourceelement - - network elementpublic static void setStorageParam(com.hp.hpl.jena.rdf.model.Resource r,
NetworkElement element)
public static DomainResourceType getDomainResourceType(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static java.util.List<DomainResourceType> getDomainResourceTypes(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static java.lang.String getTrueName(com.hp.hpl.jena.rdf.model.Resource r)
public static java.lang.String getStateAsString(com.hp.hpl.jena.rdf.model.Resource s)
s - spublic static java.lang.String getResourceStateAsString(com.hp.hpl.jena.rdf.model.Resource s)
s - spublic static java.lang.String getResourceReservationNotice(com.hp.hpl.jena.rdf.model.Resource s)
s - spublic static java.util.List<com.hp.hpl.jena.rdf.model.Resource> getWhoHasInterface(com.hp.hpl.jena.rdf.model.Resource i,
com.hp.hpl.jena.rdf.model.Model m)
i - im - mpublic static boolean attachedToCompute(com.hp.hpl.jena.rdf.model.Resource intface)
intface - intfacepublic static boolean attachedToStitchPort(com.hp.hpl.jena.rdf.model.Resource intface)
intface - intfacepublic static java.util.List<com.hp.hpl.jena.rdf.model.Resource> getConnectedToInterfaces(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getUrn(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getEmail(com.hp.hpl.jena.rdf.model.Resource i)
public static java.lang.String getSlicePassword(com.hp.hpl.jena.rdf.model.Resource i)
public static double getBitRate(com.hp.hpl.jena.rdf.model.Resource i)
public static java.lang.String getBitRateAsString(com.hp.hpl.jena.rdf.model.Resource i)
protected static java.lang.String getStringProperty(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p)
r - rp - ppublic static int getSizeProperty(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getDNProperty(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getHasURLProperty(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getRequestGroupURLProperty(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getNameProperty(com.hp.hpl.jena.rdf.model.Resource i)
i - ipublic static java.lang.String getGuidProperty(com.hp.hpl.jena.rdf.model.Resource i)
public static java.lang.String getGeniSliceStateName(com.hp.hpl.jena.rdf.model.Resource i)
protected static int getIntProperty(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p)
r - rp - pprotected static float getFloatProperty(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p)
r - rp - pprotected static java.lang.String getLiteralProperty(com.hp.hpl.jena.rdf.model.Resource r,
com.hp.hpl.jena.rdf.model.Property p)
r - rp - ppublic static java.util.List<java.lang.String> getDomainControllerUrls(com.hp.hpl.jena.rdf.model.Resource d)
d - dpublic static java.lang.String getManifestControllerUrl(com.hp.hpl.jena.rdf.model.Resource m)
m - mpublic static java.util.List<com.hp.hpl.jena.rdf.model.Resource> getDomainLocations(com.hp.hpl.jena.rdf.model.Resource d)
d - dpublic static float getLat(com.hp.hpl.jena.rdf.model.Resource loc)
loc - locpublic static float getLon(com.hp.hpl.jena.rdf.model.Resource loc)
loc - locpublic static com.hp.hpl.jena.rdf.model.Resource getLinkTo(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static java.lang.String readFile(java.lang.String aFile)
aFile - aFilepublic static Label getUpperLabel(com.hp.hpl.jena.rdf.model.Resource lsr)
lsr - lsrpublic static Label getLowerLabel(com.hp.hpl.jena.rdf.model.Resource lsr)
lsr - lsrpublic static java.lang.String getLabelID(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static java.lang.String getLayerLabelLiteral(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static Label parseLayerLabel(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static Label parseLayerLabel_1(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static com.hp.hpl.jena.query.ResultSet getLabelSet(java.lang.String set,
com.hp.hpl.jena.ontology.OntModel ontModel)
set - URIontModel - ontModelpublic static java.util.LinkedList<LabelSet> getLabelSet(java.lang.String set, java.lang.String rType, com.hp.hpl.jena.ontology.OntModel ontModel)
set - URIrType - resource typeontModel - ontModelpublic static java.lang.Float swapLabel(com.hp.hpl.jena.rdf.model.Resource l_rs)
public static java.util.Map<java.lang.String,java.lang.String> getColorKeys(com.hp.hpl.jena.rdf.model.Resource color)
color - colorpublic static java.lang.String getColorBlob(com.hp.hpl.jena.rdf.model.Resource color)
color - colorpublic static java.lang.String getColorBlobXML(com.hp.hpl.jena.rdf.model.Resource color,
boolean compressed)
color - colorcompressed - compressedpublic static boolean isLinkConnection(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static boolean isBareMetal(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static boolean isISCSINetworkStorage(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static boolean isNetworkStorage(com.hp.hpl.jena.rdf.model.Resource r)
public static boolean isComputeElement(com.hp.hpl.jena.rdf.model.Resource r)
public static java.util.Set<com.hp.hpl.jena.rdf.model.Resource> getPeersOrInterfaces(com.hp.hpl.jena.rdf.model.Resource st,
boolean peers)
st - stpeers - peerspublic static boolean isMulticastDevice(com.hp.hpl.jena.rdf.model.Resource r)
r - - resource in questionpublic static boolean isStitchingNode(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static boolean isStitchingNodeInManifest(com.hp.hpl.jena.rdf.model.Resource r)
public static java.lang.String getBareMetalType(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static java.lang.String getEC2VMSize(com.hp.hpl.jena.rdf.model.Resource r)
r - rpublic static org.apache.log4j.Logger getNdlLogger()
public static void setPrefix(com.hp.hpl.jena.ontology.OntModel model)
model - modelpublic static java.lang.String getBigString(int size)
public static void init()
Copyright © 2018 RENCI. All Rights Reserved.