public class NdlParserHelper extends NdlCommons
NdlCommons.ProxyFields| Modifier and Type | Field and Description |
|---|---|
protected boolean |
lessStrictChecking |
adaptationProperty, adaptationPropertyOf, atLayer, availableLabelSet, bitRate10G, bitRate1G, bmResourceTypeClass, carryReservation, collectionElementProperty, collectionItemProperty, collectionSizeProperty, computeElementClass, connectedTo, connectionDirection, cpuCapacity, daysProperty, Default_Bandwidth, deviceOntClass, diskImageClass, diskImageProperty, doFormat, domainAggregateManagerClass, domainControllerClass, domainHasAccessMethod, domainHasAggregateManager, domainHasController, domainHasResourceTypeProperty, domainHasServiceProperty, domainHasTopology, domainIsAllocatable, domainProxyProperty, domainSSHServiceClass, ethernetNetworkElementClass, fourtygbmResourceTypeClass, geniSliceProperty, geniSliceStateConfiguring, geniSliceStateFailed, geniSliceStateReady, geniSliceStateUnknown, hasBeginningObjectProperty, hasCastType, hasColorAttribute, hasColorBlob, hasColorKey, hasColorLabel, hasColorValue, hasColorXMLBlob, hasColorXMLCompressedBlob, hasDNProperty, hasDurationDescriptionObjectProperty, hasEmailProperty, hasEndObjectProperty, hasFSParam, hasFSType, hasGUIDProperty, hasInputInterface, hasInstanceIDProperty, hasMntPoint, hasOutputInterface, hasRequestGroupURL, hasSliceGeniState, hasSlicePasswordProperty, hasSwitchMatrix, hasUnitServer, hasURLProperty, hasURNProperty, hostInterfaceName, hostName_p, hoursProperty, inConnection, inDomainProperty, inRequestNetworkConnection, instantOntClass, interfaceOntClass, inXSDDateTime, ip4LocalIPAddressProperty, ip4NetmaskProperty, IPAddressOntClass, ipMacAddressProperty, isLabelProducer, isModifyProperty, labelOntClass, labelRangeOntClass, labelSetOntClass, layerBandwidthProperty, layerHasBitRate, layerLabel, layerLabelIdProperty, layerLabelIsPrimary, layerLatencyProperty, layerSwapLabelProperty, layerUsedLabels, linkTo, locationLatProperty, locationLocatedAtProperty, locationLongProperty, lowerBound, lunResourceTypeClass, manifestHasChild, manifestHasParent, manifestOntClass, max_vlan_tag, memoryCapacity, minutesProperty, modifyAddElementProperty, modifyElementProperty, modifyIncreaseByProperty, modifyRemoveElementProperty, modifySubjectProperty, multicast, multicastOntClass, networkDomainOntClass, networkServiceClass, networkStorageClass, numCEProperty, numCPUCore, numHop, numResource, ocgLine, ofSliceClass, ontPrefix, openflowCapableProperty, openflowControllerProperty, openflowV1_0Ind, openflowV1_1Ind, openflowV1_2Ind, openflowV1_3Ind, ORCA_NDL_SCHEMA, ORCA_NDL_SUBSTRATE, ORCA_NS, OWL_sameAs, portOccupied, proxyClass, quantumNetUUIDProperty, RDF_TYPE, RDFS_Label, RDFS_SeeAlso, requestActiveState, requestActiveTicketedState, requestClosedState, requestCloseWaitState, requestDependOnProperty, requestFailedState, requestGroupNameProperty, requestHasReservationState, requestMessage, requestNascentState, requestNoState, requestPostBootScriptProperty, requestReservationStateClass, requestTicketedState, reservationOntClass, resourceTypeRank, secondsProperty, serverCloudClass, sliceClass, sliceGeniStateClass, specificCEProperty, stitching_domain_str, stitchingDomain, storageCapacity, swappingCapability, switchedTo, switchingCapability, switchingMatrixOntClass, taggedEthernetProperty, tcpProxyClass, topologyBroadcastConnectionClass, topologyCrossConnectClass, topologyHasInterfaceProperty, topologyHasLogin, topologyHasName, topologyHasURL, topologyInterfaceOfProperty, topologyLinkClass, topologyLinkConnectionClass, topologyManagementIP, topologyManagementPort, topologyNetworkConnectionClass, topologyProxiedPort, topologySplittableProperty, tunnelingCapability, unicast, upperBound, UriSeparator, UriSuffix, virtualizeProperty, visited, vlan, vlanResourceTypeClass, vmResourceTypeClass, W3_NS, workerNodeIDProperty| Constructor and Description |
|---|
NdlParserHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
doLessStrictChecking() |
static java.lang.String |
readFileIntoString(java.lang.String fName)
Read file as String
|
static java.lang.String |
readResourceIntoString(java.lang.String resource)
Read resource as String
|
protected void |
validateRequest(java.lang.String staticRuleFile,
java.lang.String ruleFilePropertyName,
com.hp.hpl.jena.ontology.OntModel modelToCheck)
Validate the request using the rules.
|
attachedToCompute, attachedToStitchPort, createQueryConnectedToNetworkConnection, createQueryConnectionPeers, createQueryISCSIStorageProperties, createQueryPeers, createQueryString, createQueryStringColorDependency, createQueryStringConnect, createQueryStringDomainLocationDetails, createQueryStringHasColor, createQueryStringLinkClass, createQueryStringManifestDetails, createQueryStringModifyReservation, createQueryStringObject, createQueryStringOnPath, createQueryStringReservationTerm, createQueryStringSite, createQueryStringSubject, createQueryStringSubjectData, createQueryStringType, createQueryStringWhoHasInterface, createQueryStringWhoHaveInterface, findLayer, getAddressIP, getAddressMAC, getAddressNetmask, getAvailableLabelSet, getBareMetalType, getBigString, getBitRate, getBitRateAsString, getColorBlob, getColorBlobXML, getColorKeys, getConnectedToInterfaces, getDiskImage, getDNProperty, getDomain, getDomainControllerUrls, getDomainHasCastType, getDomainHasCastType, getDomainLocations, getDomainName, getDomainResourceType, getDomainResourceType, getDomainResourceTypes, getEC2InstanceId, getEC2VMSize, getEC2WorkerNodeId, getEmail, getFloatProperty, getGeniSliceStateName, getGroupName, getGuidProperty, getHasURLProperty, getImageHash, getImageURL, getIndividualsImageHash, getIndividualsImageURL, getInterfaceIP, getInterfaceNetmask, getInterfaceOfSwitching, getIntProperty, getLabelID, getLabelSet, getLabelSet, getLat, getLayer, getLayer, getLayerAdapatation, getLayerAdapatationOf, getLayerLabelLiteral, getLinkTo, getLiteralInt, getLiteralProperty, getLon, getLowerLabel, getManifestControllerUrl, getNameProperty, getNdlLogger, getNodeLogins, getNodeProxiedPorts, getNodeServices, getNumCE, getOfCtrl, getOntOfType, getOpenFlowVersion, getOrcaDomainName, getOrcaDomainName, getPeersOrInterfaces, getPostBootScript, getRequestGroupURLProperty, getResourceBandwidth, getResourceConstraints, getResourceInterfaces, getResourceLabel, getResourceLatency, getResourceReservationNotice, getResourceStateAsString, getResourceStorageCapacity, getResourceStorageDoFormat, getResourceStorageFSParam, getResourceStorageFSType, getResourceStorageMntPoint, getResourceType, getSameAsResource, getSizeProperty, getSlicePassword, getSpecificCE, getStateAsString, getStringProperty, getTermDate, getTrueName, getUpperLabel, getURL, getUrn, getWhoHasInterface, getXOVirtualizationType, hasResourceType, init, isBareMetal, isComputeElement, isISCSINetworkStorage, isLinkConnection, isModify, isMulticastDevice, isNetworkStorage, isSplittable, isStitchingNode, isStitchingNodeInManifest, outputQueryResult, outputQueryResult, parentGetInterface, parseLayerLabel_1, parseLayerLabel, rdfQuery, readFile, setPrefix, setStorageParam, swapLabelprotected void validateRequest(java.lang.String staticRuleFile,
java.lang.String ruleFilePropertyName,
com.hp.hpl.jena.ontology.OntModel modelToCheck)
throws NdlException
staticRuleFile - staticRuleFileruleFilePropertyName - ruleFilePropertyNamemodelToCheck - modelToCheckNdlException - in case of errorpublic void doLessStrictChecking()
public static java.lang.String readFileIntoString(java.lang.String fName)
fName - fNamepublic static java.lang.String readResourceIntoString(java.lang.String resource)
resource - resourceCopyright © 2018 RENCI. All Rights Reserved.