smia.utilities.fipa_acl_info module¶
- class smia.utilities.fipa_acl_info.FIPAACLInfo[source]¶
Bases:
objectThis class contains the values related to FIPA-ACL standard.
- FIPA_ACL_PERFORMATIVE_CFP = 'CallForProposal'¶
- FIPA_ACL_PERFORMATIVE_INFORM = 'Inform'¶
- FIPA_ACL_PERFORMATIVE_REQUEST = 'Request'¶
- FIPA_ACL_PERFORMATIVE_PROPOSE = 'Propose'¶
- FIPA_ACL_PERFORMATIVE_FAILURE = 'Failure'¶
- FIPA_ACL_PERFORMATIVE_QUERY_IF = 'Query-If'¶
- FIPA_ACL_PERFORMATIVE_ACCEPT_PROPOSAL = 'AcceptProposal'¶
- FIPA_ACL_PERFORMATIVE_REJECT_PROPOSAL = 'RejectProposal'¶
- FIPA_ACL_PERFORMATIVE_AGREE = 'Agree'¶
- FIPA_ACL_PERFORMATIVE_CONFIRM = 'Confirm'¶
- FIPA_ACL_PERFORMATIVE_NOT_UNDERSTOOD = 'NotUnderstood'¶
- FIPA_ACL_PERFORMATIVE_REFUSE = 'Refuse'¶
- FIPA_ACL_ONTOLOGY_SVC_REQUEST = 'SvcRequest'¶
- FIPA_ACL_ONTOLOGY_SVC_RESPONSE = 'SvcResponse'¶
- FIPA_ACL_ONTOLOGY_CAPABILITY_REQUEST = 'CapabilityRequest'¶
- FIPA_ACL_ONTOLOGY_CAPABILITY_CHECKING = 'CapabilityChecking'¶
- FIPA_ACL_ONTOLOGY_CAPABILITY_RESPONSE = 'CapabilityResponse'¶
- FIPA_ACL_ONTOLOGY_SVC_NEGOTIATION = 'Negotiation'¶
- class smia.utilities.fipa_acl_info.ServiceTypes[source]¶
Bases:
objectThis class contains all service types defined in the Functional View of RAMI 4.0.
- ASSET_RELATED_SERVICE = 'AssetRelatedService'¶
- AAS_INFRASTRUCTURE_SERVICE = 'AASInfrastructureService'¶
- AAS_SERVICE = 'AASservice'¶
- SUBMODEL_SERVICE = 'SubmodelService'¶
- CSS_RELATED_SERVICE = 'CSSRelatedService'¶
- class smia.utilities.fipa_acl_info.ACLJSONSchemas[source]¶
Bases:
objectThis class contains all the JSON schemas related to ACL messages sent between SMIA agents.
- JSON_SCHEMA_AAS_MODEL_REFERENCE = {'properties': {'keys': {'items': {'properties': {'type': {'type': 'string'}, 'value': {'type': 'string'}}, 'required': ['type', 'value'], 'type': 'object'}, 'type': 'array'}}, 'required': ['keys'], 'type': 'object'}¶
- JSON_SCHEMA_SUBMODEL_SERVICE_REQUEST = {'oneOf': [{'required': ['ModelReference']}, {'required': ['ExternalReference']}], 'properties': {'ExternalReference': {'type': 'string'}, 'ModelReference': {'properties': {'keys': {'items': {'properties': {'type': {'type': 'string'}, 'value': {'type': 'string'}}, 'required': ['type', 'value'], 'type': 'object'}, 'type': 'array'}}, 'required': ['keys'], 'type': 'object'}}, 'type': 'object'}¶
- JSON_SCHEMA_ASSET_SERVICE_REQUEST = {'properties': {'ModelReference': {'properties': {'keys': {'items': {'properties': {'type': {'type': 'string'}, 'value': {'type': 'string'}}, 'required': ['type', 'value'], 'type': 'object'}, 'type': 'array'}}, 'required': ['keys'], 'type': 'object'}, 'serviceParameterValues': {'additionalProperties': {'type': 'string'}, 'type': 'object'}}, 'required': ['ModelReference'], 'type': 'object'}¶
- JSON_SCHEMA_CAPABILITY_REQUEST = {'properties': {'capabilityName': {'type': 'string'}, 'skillInterfaceName': {'type': 'string'}, 'skillName': {'type': 'string'}, 'skillParameterValues': {'additionalProperties': {'type': 'string'}, 'type': 'object'}}, 'required': ['capabilityName'], 'type': 'object'}¶