< draft-birrane-dtn-adm-agent-04.txt   draft-birrane-dtn-adm-agent-05.txt >
Delay-Tolerant Networking E. Birrane Delay-Tolerant Networking E. Birrane
Internet-Draft E. DiPietro Internet-Draft E. DiPietro
Intended status: Experimental D. Linko Intended status: Experimental D. Linko
Expires: January 3, 2019 Johns Hopkins Applied Physics Laboratory Expires: September 12, 2019 Johns Hopkins Applied Physics Laboratory
July 2, 2018 March 11, 2019
Asynchronous Management Protocol Agent Application Data Model Asynchronous Management Protocol Agent Application Data Model
draft-birrane-dtn-adm-agent-04 draft-birrane-dtn-adm-agent-05
Abstract Abstract
This document describes an Application Data Model (ADM) for an This document describes an Application Data Model (ADM) for an
Asynchronous Management Protocol (AMP) Agent. The AMP Agent Asynchronous Management Protocol (AMP) Agent. The AMP Agent
represents a managed device in the Asynchronous Management represents a managed device in the Asynchronous Management
Architecture. This document is in compliance with the template Architecture. This document is in compliance with the template
provided by [I-D.birrane-dtn-adm]. provided by [I-D.birrane-dtn-adm].
Status of This Memo Status of This Memo
skipping to change at page 1, line 35 skipping to change at page 1, line 35
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/. Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
This Internet-Draft will expire on January 3, 2019. This Internet-Draft will expire on September 12, 2019.
Copyright Notice Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the Copyright (c) 2019 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of (https://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as the Trust Legal Provisions and are provided without warranty as
skipping to change at page 2, line 17 skipping to change at page 2, line 17
Table of Contents Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1. Technical Notes . . . . . . . . . . . . . . . . . . . . . 2 1.1. Technical Notes . . . . . . . . . . . . . . . . . . . . . 2
1.2. Scope . . . . . . . . . . . . . . . . . . . . . . . . . . 3 1.2. Scope . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.3. Requirements Language . . . . . . . . . . . . . . . . . . 3 1.3. Requirements Language . . . . . . . . . . . . . . . . . . 3
2. Structure and Design of this ADM . . . . . . . . . . . . . . 3 2. Structure and Design of this ADM . . . . . . . . . . . . . . 3
3. Naming and Identification . . . . . . . . . . . . . . . . . . 4 3. Naming and Identification . . . . . . . . . . . . . . . . . . 4
3.1. Namespace and Nicknames . . . . . . . . . . . . . . . . . 4 3.1. Namespace and Nicknames . . . . . . . . . . . . . . . . . 4
4. AMP Agent ADM JSON Encoding . . . . . . . . . . . . . . . . . 5 4. AMP Agent ADM JSON Encoding . . . . . . . . . . . . . . . . . 5
5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 21 5. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 23
6. References . . . . . . . . . . . . . . . . . . . . . . . . . 21 6. References . . . . . . . . . . . . . . . . . . . . . . . . . 23
6.1. Informative References . . . . . . . . . . . . . . . . . 21 6.1. Informative References . . . . . . . . . . . . . . . . . 23
6.2. Normative References . . . . . . . . . . . . . . . . . . 21 6.2. Normative References . . . . . . . . . . . . . . . . . . 23
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 22 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 24
1. Introduction 1. Introduction
An Application Data Model (ADM) provides a guaranteed interface for An Application Data Model (ADM) provides a guaranteed interface for
the management of an application or protocol in accordance with the the management of an application or protocol in accordance with the
Asynchronous Management Architecture (AMA) defined in Asynchronous Management Architecture (AMA) defined in
[I-D.birrane-dtn-ama]. The ADM described in this document complies [I-D.birrane-dtn-ama]. The ADM described in this document complies
with the ADM Template provided in [I-D.birrane-dtn-adm] as encoded with the ADM Template provided in [I-D.birrane-dtn-adm] as encoded
using the JSON syntax. using the JSON syntax.
skipping to change at page 5, line 33 skipping to change at page 5, line 33
| | | | | |
| 30 | Amp/Agent/Mdat | | 30 | Amp/Agent/Mdat |
| | | | | |
| 31-49 | Amp/Agent/Reserved | | 31-49 | Amp/Agent/Reserved |
+----------+------------------------------+ +----------+------------------------------+
Table 2: Agent ADM Nicknames Table 2: Agent ADM Nicknames
4. AMP Agent ADM JSON Encoding 4. AMP Agent ADM JSON Encoding
{ {
"Mdat": [ "Mdat": [{
{
"name": "name", "name": "name",
"type": "STR", "type": "STR",
"value": "AmpAgent", "value": "amp_agent",
"description": "The human-readable name of the ADM." "description": "The human-readable name of the ADM."
}, },
{ {
"name": "namespace", "name": "namespace",
"type": "STR", "type": "STR",
"value": "Amp/Agent", "value": "Amp/Agent",
"description": "The namespace of the ADM." "description": "The namespace of the ADM."
}, },
{ {
"name": "version", "name": "version",
"type": "STR", "type": "STR",
"value": "v3.0", "value": "v3.1",
"description": "The version of the ADM." "description": "The version of the ADM."
}, },
{ {
"name": "organization", "name": "organization",
"type": "STR", "type": "STR",
"value": "JHUAPL", "value": "JHUAPL",
"description": "The name of the issuing organization of the "description": "The name of the issuing organization of the
ADM." ADM."
} }
], ],
"Edd": [ "Edd": [{
"name": "num_rpt_tpls",
"type": "UINT",
"description": "This is the number of report templates known to
the Agent."
},
{ {
"name": "num_reports", "name": "num_tbl_tpls",
"type": "UINT", "type": "UINT",
"description": "This is the number of reports known to the "description": "This is the number of table templates known to
Agent." the Agent."
}, },
{ {
"name": "sent_reports", "name": "sent_reports",
"type": "UINT", "type": "UINT",
"description": "This is the number of reports sent by the "description": "This is the number of reports sent by the
agent." Agent."
}, },
{ {
"name": "num_tbr", "name": "num_tbr",
"type": "UINT", "type": "UINT",
"description": "This is the number of time-based rules "description": "This is the number of time-based rules running
running on the agent." on the Agent."
}, },
{ {
"name": "run_tbr", "name": "run_tbr",
"type": "UINT", "type": "UINT",
"description": "This is the number of time-based rules run by "description": "This is the number of time-based rules run by
the agent since the last reset." the Agent since the last reset."
}, },
{ {
"name": "num_sbr", "name": "num_sbr",
"type": "UINT", "type": "UINT",
"description": "This is the number of state-based rules running "description": "This is the number of state-based rules running
on the agent." on the Agent."
}, },
{ {
"name": "run_sbr", "name": "run_sbr",
"type": "UINT", "type": "UINT",
"description": "This is the number of state-based rules run by "description": "This is the number of state-based rules run by
the agent since the last reset." the agent since the last reset."
}, },
{ {
"name": "num_const", "name": "num_const",
"type": "UINT", "type": "UINT",
"description": "This is the number of constants known by the "description": "This is the number of constants known by the
agent." Agent."
}, },
{ {
"name": "num_var", "name": "num_var",
"type": "UINT", "type": "UINT",
"description": "This is the number of variables known by the "description": "This is the number of variables known by the
agent." Agent."
}, },
{ {
"name": "num_macros", "name": "num_macros",
"type": "UINT", "type": "UINT",
"description": "This is the number of macros known by the "description": "This is the number of macros known by the
agent." Agent."
}, },
{ {
"name": "run_macros", "name": "run_macros",
"type": "UINT", "type": "UINT",
"description": "This is the number of macros run by the agent "description": "This is the number of macros run by the agent
since the last reset." since the last reset."
}, },
{ {
"name": "num_controls", "name": "num_controls",
"type": "UINT", "type": "UINT",
"description": "This is the number of controls known by the "description": "This is the number of controls known by the
agent." Agent."
}, },
{ {
"name": "run_controls", "name": "run_controls",
"type": "UINT", "type": "UINT",
"description": "This is the number of controls run by the "description": "This is the number of controls run by the Agent
agent since the last reset." since the last reset."
}, },
{ {
"name": "cur_time", "name": "cur_time",
"type": "TV", "type": "TV",
"description": "This is the current system time." "description": "This is the current system time."
} }
], ],
"Var": [ "Var": [{
{ "name": "num_rules",
"name": "num_rules", "type": "UINT",
"initializer": {
"type": "UINT", "type": "UINT",
"initializer": { "postfix-expr": [{
"type": "UINT", "ns": "Amp/Agent",
"postfix-expr": [{ "nm": "edd.num_tbr"
"ns":"Amp/Agent", }, {
"nm":edd.num_tbr" "ns": "Amp/Agent",
},{ "nm": "edd.num_sbr"
"ns":"Amp/Agent", }, {
"nm":"edd.num_sbr" "ns": "Amp/Agent",
},{ "nm": "oper.plusUINT"
"ns":"Amp/Agent", }]
"nm":"oper.plusUINT" },
}] "description": "This is the number of rules known to the Agent
}, (#TBR + #SBR)."
"description": "This is the number of rules known to the Agent }],
(#TBR + #SBR)."
}
],
"Rptt": [ "Tblt":[
{ {
"name": "full_report", "name":"adms",
"definition": [ "columns":[{
{ "type":"STR",
"ns":"Amp/Agent", "name":"adm_name"
"nm":"mdat.name" }],
}, "description":"This table lists all the ADMs that are supported
{ by the Agent."
"ns":"Amp/Agent", },
"nm":"mdat.version" {
}, "name":"variables",
{ "columns":[{
"ns":"Amp/Agent", "type":"ARI",
"nm":"edd.num_reports" "name":"ids"
}, }],
{ "description":"This table lists the ARI for every variable that
"ns":"Amp/Agent", is known to the agent."
"nm":"edd.sent_reports" },
}, {
{ "name":"rptts",
"ns":"Amp/Agent", "columns":[{
"nm":"edd.num_tbr" "type":"ARI",
}, "name":"ids"
{ }],
"ns":"Amp/Agent", "description":"This table lists the ARI for every report
"nm":"edd.num_sbr" template that is known to the agent."
}, },
{ {
"ns":"Amp/Agent", "name":"macros",
"nm":"edd.run_sbr" "columns":[{
}, "type":"ARI",
{ "name":"ids"
"ns":"Amp/Agent", }],
"nm":"edd.num_const" "description":"This table lists the ARI for every macro that is
}, known to the agent."
{ },
"ns":"Amp/Agent", {
"nm":"edd.num_variables" "name":"rules",
}, "columns":[{
{ "type":"ARI",
"ns":"Amp/Agent", "name":"ids"
"nm":"edd.num_macros" }],
}, "description":"This table lists the ARI for every rule that is
{ known to the agent."
"ns":"Amp/Agent", },
"nm":"edd.run_macros" {
}, "name":"tblts",
{ "columns":[{
"ns":"Amp/Agent", "type":"ARI",
"nm":"edd.num_ctrl" "name":"ids"
}, }],
{ "description":"This table lists the ARI for every table template
"ns":"Amp/Agent", that is known to the agent."
"nm":"edd.run_ctrl"
},
{
"ns":"Amp/Agent",
"nm":"var.num_rules"
}
],
"description": "This is all known meta-data, EDD, and VAR
values known by the agent."
} }
], ],
"Rptt": [{
"name": "full_report",
"definition": [{
"ns": "Amp/Agent",
"nm": "mdat.name"
},
{
"ns": "Amp/Agent",
"nm": "mdat.version"
},
{
"ns": "Amp/Agent",
"nm": "edd.num_rpt_tpls"
},
{
"ns": "Amp/Agent",
"nm": "edd.num_tbl_tpls"
},
{
"ns": "Amp/Agent",
"nm": "edd.sent_reports"
},
{
"ns": "Amp/Agent",
"nm": "edd.num_tbr"
},
{
"ns": "Amp/Agent",
"nm": "edd.run_tbr"
},
{
"ns": "Amp/Agent",
"nm": "edd.num_sbr"
},
{
"ns": "Amp/Agent",
"nm": "edd.run_sbr"
},
{
"ns": "Amp/Agent",
"nm": "edd.num_const"
},
{
"ns": "Amp/Agent",
"nm": "edd.num_var"
},
{
"ns": "Amp/Agent",
"nm": "edd.num_macros"
},
{
"ns": "Amp/Agent",
"nm": "edd.run_macros"
},
{
"ns": "Amp/Agent",
"nm": "edd.num_controls"
},
{
"ns": "Amp/Agent",
"nm": "edd.run_controls"
},
{
"ns": "Amp/Agent",
"nm": "var.num_rules"
}
],
"description": "This is all known meta-data, EDD, and VAR values
known by the Agent."
}],
"Ctrl": [ "Ctrl": [
{ {
"name": "list_adms",
"description": "This control causes the Agent to produce a
report entry detailing the name of each ADM
supported by the Agent."
},
{
"name": "add_var", "name": "add_var",
"parmspec": [ "parmspec": [{
{"type":"ARI", "name":"id"}, "type": "ARI",
{"type":"EXPR", "name":"def"}, "name": "id"
{"type":"BYTE", "name":"type"}, },
{"type":"BYTE", "name":"flag"} {
], "type": "EXPR",
"name": "def"
},
{
"type": "BYTE",
"name": "type"
}
],
"description": "This control configures a new variable "description": "This control configures a new variable
definition on the Agent." definition on the Agent."
}, },
{ {
"name": "del_var", "name": "del_var",
"parmspec": [ "parmspec": [{
{"type":"AC", "name":"ids"} "type": "AC",
], "name": "ids"
}],
"description": "This control removes one or more variable "description": "This control removes one or more variable
definitions from the Agent." definitions from the Agent."
}, },
{ {
"name": "list_var",
"description": "This control produces a listing of every
variable identifier(ARI) known to the Agent."
},
{
"name": "desc_var",
"parmspec": [
{"type":"AC", "name":"ids"}
],
"description": "This control produces a detailed description
of one or more variable identifier(ARI)s known
to the Agent."
},
{
"name": "add_rptt", "name": "add_rptt",
"parmspec": [ "parmspec": [{
{"type":"ARI", "name":"id"}, "type": "ARI",
{"type":"AC", "name":"template"} "name": "id"
], },
{
"type": "AC",
"name": "template"
}
],
"description": "This control configures a new report template "description": "This control configures a new report template
definition on the Agent." definition on the Agent."
}, },
{ {
"name": "del_rptt", "name": "del_rptt",
"parmspec": [ "parmspec": [{
{"type":"AC", "name":"ids"} "type": "AC",
], "name": "ids"
"description": "This control removes one or more report }],
template definitions from the Agent." "description": "This control removes one or more report template
}, definitions from the Agent."
{
"name": "list_rptt",
"description": "This control produces a listing of every
report template identifier(ARI) known to
the Agent."
}, },
{ {
"name": "desc_rptt", "name": "desc_rptt",
"parmspec": [ "parmspec": [{
{"type":"AC", "name":"ids"} "type": "AC",
], "name": "ids"
"description": "This control produces a detailed description }],
of one or more report template identifier(ARI) "description": "This control produces a detailed description of
one or more report template identifier(ARI)
known to the Agent." known to the Agent."
}, },
{ {
"name": "gen_rpts", "name": "gen_rpts",
"parmspec": [ "parmspec": [{
{"type":"AC", "name":"ids"}, "type": "AC",
{"type":"DC", "name":"rxmgrs"} "name": "ids"
], },
{
"type": "TNVC",
"name": "rxmgrs"
}
],
"description": "This control causes the Agent to produce a "description": "This control causes the Agent to produce a
report entry for each identified report report entry for each identified report
templates and send them to one or more templates and send them to one or more
identified managers(ARIs)." identified managers(ARIs)."
},
{
"name":"gen_tbls",
"parmspec":[{
"type":"AC",
"name":"ids"
},
{
"type": "TNVC",
"name": "rxmgrs"
}
],
"description": "This control causes the Agent to produce a
table for each identified table templates and
send them to one or more identified managers."
}, },
{ {
"name": "add_macro", "name": "add_macro",
"parmspec": [ "parmspec": [{
{"type":"STR", "name":"name"}, "type": "STR",
{"type":"ARI", "name":"id"}, "name": "name"
{"type":"AC", "name":"def"} },
], {
"type": "ARI",
"name": "id"
},
{
"type": "AC",
"name": "def"
}
],
"description": "This control configures a new macro definition "description": "This control configures a new macro definition
on the Agent." on the Agent."
}, },
{ {
"name": "del_macro", "name": "del_macro",
"parmspec": [ "parmspec": [{
{"type":"AC", "name":"ids"} "type": "AC",
], "name": "ids"
}],
"description": "This control removes one or more macro "description": "This control removes one or more macro
definitions from the Agent." definitions from the Agent."
}, },
{ {
"name": "list_macro",
"description": "This control produces a listing of every macro
identifier(ARI) known to the Agent."
},
{
"name": "desc_macro", "name": "desc_macro",
"parmspec": [ "parmspec": [{
{"type":"AC", "name":"ids"} "type": "AC",
], "name": "ids"
}],
"description": "This control produces a detailed description "description": "This control produces a detailed description of
of one or more macro identifier(ARI) known to one or more macro identifier(ARI) known to the
the Agent." Agent."
}, },
{ {
"name": "add_tbr", "name": "add_tbr",
"parmspec": [ "parmspec": [{
{"type":"ARI", "name":"id"}, "type": "ARI",
{"type":"TV", "name":"start"}, "name": "id"
{"type":"TV", "name":"period"}, },
{"type":"UVAST", "name":"count"}, {
{"type":"AC", "name":"action"}, "type": "TV",
{"type":"STR", "name":"description"} "name": "start"
},
{
"type": "TV",
"name": "period"
},
{
"type": "UVAST",
"name": "count"
},
{
"type": "AC",
"name": "action"
},
{
"type": "STR",
"name": "description"
}
], ],
"description": "This control configures a new time-based "description": "This control configures a new time-based
rule(TBR) definition on the Agent." rule (TBR) definition on the Agent."
},
{
"name": "del_tbr",
"parmspec": [
{"type":"AC","name":"ids"}
],
"description": "This control removes one or more TBR
definitions from the Agent."
},
{
"name": "list_tbr",
"description": "This control produces a listing of every
TBR identifier (ARI) known to the Agent."
},
{
"name": "desc_tbr",
"parmspec": [
{"type":"AC", "name":"ids"}
],
"description": "This control produces a detailed description
of one or more TRL identifier(ARI)s known to
the Agent."
}, },
{ {
"name": "add_sbr", "name": "add_sbr",
"parmspec": [ "parmspec": [{
{"type":"ARI", "name":"id"}, "type": "ARI",
{"type":"TV", "name":"start"}, "name": "id"
{"type":"EXPR", "name":"state"}, },
{"type":"UVAST", "name":"count"}, {
{"type":"AC", "name":"action"}, "type": "TV",
{"type":"STR", "name":"description"} "name": "start"
},
{
"type": "EXPR",
"name": "state"
},
{
"type": "UVAST",
"name": "max_eval"
},
{
"type": "UVAST",
"name": "count"
},
{
"type": "AC",
"name": "action"
},
{
"type": "STR",
"name": "description"
], }
],
"description": "This control configures a new state-based "description": "This control configures a new state-based
rule(SBR) definition on the Agent." rule (SBR) definition on the Agent."
}, },
{ {
"name": "del_sbr", "name": "del_rule",
"parmspec": [ "parmspec": [{
{"type":"AC", "name":"ids"} "type": "AC",
], "name": "ids"
"description": "This control removes one or more SBR }],
"description": "This control removes one or more rule
definitions from the Agent." definitions from the Agent."
}, },
{ {
"name": "list_sbr", "name": "desc_rule",
"description": "This control produces a listing of every "parmspec": [{
macro identifier(ARI) known to the Agent." "type": "AC",
}, "name": "ids"
{ }],
"name": "desc_sbr",
"parmspec": [
{"type":"AC", "name":"ids"}
],
"description": "This control produces a detailed description "description": "This control produces a detailed description
of one or more SBR identifier(ARI)s known to of one or more rules known to the Agent."
the Agent."
}, },
{ {
"name": "store_var", "name": "store_var",
"parmspec": [ "parmspec": [{
{"type":"AC", "name":"ids"} "type": "ARI",
], "name": "id"
},
{
"type": "EXPR",
"name": "value"
}],
"description": "This control stores variables." "description": "This control stores variables."
}, },
{ {
"name": "reset_counts", "name": "reset_counts",
"description": "This control resets all Agent ADM "description": "This control resets all Agent ADM statistics
statistics reported in the Agent ADM report." reported in the Agent ADM report."
} }
], ],
"Const": [ "Const": [{
{ "name": "amp_epoch",
"name": "amp_epoch", "type": "TS",
"type":"TS", "value": "1504915200",
"value": "2017-09-09T00:00:00Z", "description": "This constant is the time epoch for the Agent."
"description": "This constant is the time epoch for the
Agent."
}
],
"Mac": [ }],
"Mac": [{
"name": "user_desc",
"parmspec": [{
"type": "AC",
"name": "RPTTs"
},
{ {
"name": "user_list", "type": "AC",
"definition": [ "name": "Rules"
{ }],
"ns":"Amp/Agent",
"nm":"ctrl.list_vars"
},
{
"ns":"Amp/Agent",
"nm":"ctrl.list_rpt_tpl"
},
{
"ns":"Amp/Agent",
"nm":"ctrl.list_tbrs"
},
{
"ns":"Amp/Agent",
"nm":"ctrl.list_sbrs"
}
]
"definition": [{
"ns": "Amp/Agent",
"nm": "ctrl.desc_rptt",
"ap": [{
"type": "ParmName",
"value": "RPTTs"
}]
}, },
"description": "This macro lists all of the user defined {
data." "ns": "Amp/Agent",
} "nm": "ctrl.desc_rule",
], "ap": [{
"type": "ParmName",
"value": "Rules"
}]
}
],
"description": "This macro lists all of the user defined data."
}],
"Oper": [ "Oper": [{
{
"name": "plusINT", "name": "plusINT",
"result-type": "INT", "result-type": "INT",
"in-type": ["INT","INT"], "in-type": ["INT", "INT"],
"description": "Int32 addition" "description": "Int32 addition"
}, },
{ {
"name": "plusUINT", "name": "plusUINT",
"result-type": "UINT", "result-type": "UINT",
"in-type": ["UINT","UINT"], "in-type": ["UINT", "UINT"],
"description": "Unsigned Int32 addition" "description": "Unsigned Int32 addition"
}, },
{ {
"name": "plusVAST", "name": "plusVAST",
"result-type": "VAST", "result-type": "VAST",
"in-type": ["VAST","VAST"], "in-type": ["VAST", "VAST"],
"description": "Int64 addition" "description": "Int64 addition"
}, },
{ {
"name": "plusUVAST", "name": "plusUVAST",
"result-type": "UVAST", "result-type": "UVAST",
"in-type": ["UVAST","UVAST"], "in-type": ["UVAST", "UVAST"],
"description": "Unsigned Int64 addition" "description": "Unsigned Int64 addition"
}, },
{ {
"name": "plusREAL32", "name": "plusREAL32",
"result-type": "REAL32", "result-type": "REAL32",
"in-type": ["REAL32","REAL32"], "in-type": ["REAL32", "REAL32"],
"description": "Real32 addition" "description": "Real32 addition"
}, },
{ {
"name": "plusREAL64", "name": "plusREAL64",
"result-type": "REAL64", "result-type": "REAL64",
"in-type": ["REAL64","REAL64"], "in-type": ["REAL64", "REAL64"],
"description": "Real64 addition" "description": "Real64 addition"
}, },
{ {
"name": "minusINT", "name": "minusINT",
"result-type": "INT", "result-type": "INT",
"in-type": ["INT","INT"], "in-type": ["INT", "INT"],
"description": "Int32 subtraction" "description": "Int32 subtraction"
}, },
{ {
"name": "minusUINT", "name": "minusUINT",
"result-type": "UINT", "result-type": "UINT",
"in-type": ["UINT","UINT"], "in-type": ["UINT", "UINT"],
"description": "Unsigned Int32 subtraction" "description": "Unsigned Int32 subtraction"
}, },
{ {
"name": "minusVAST", "name": "minusVAST",
"result-type": "VAST", "result-type": "VAST",
"in-type": ["VAST","VAST"], "in-type": ["VAST", "VAST"],
"description": "Int64 subtraction" "description": "Int64 subtraction"
}, },
{ {
"name": "minusUVAST", "name": "minusUVAST",
"result-type": "UVAST", "result-type": "UVAST",
"in-type": ["UVAST","UVAST"], "in-type": ["UVAST", "UVAST"],
"description": "Unsigned Int64 subtraction" "description": "Unsigned Int64 subtraction"
}, },
{ {
"name": "minusREAL32", "name": "minusREAL32",
"result-type": "REAL32", "result-type": "REAL32",
"in-type": ["REAL32","REAL32"], "in-type": ["REAL32", "REAL32"],
"description": "Real32 subtraction" "description": "Real32 subtraction"
}, },
{ {
"name": "minusREAL64", "name": "minusREAL64",
"result-type": "REAL64", "result-type": "REAL64",
"in-type": ["REAL64","REAL64"], "in-type": ["REAL64", "REAL64"],
"description": "Real64 subtraction" "description": "Real64 subtraction"
}, },
{ {
"name": "multINT", "name": "multINT",
"result-type": "INT", "result-type": "INT",
"in-type": ["INT","INT"], "in-type": ["INT", "INT"],
"description": "Int32 multiplication" "description": "Int32 multiplication"
}, },
{ {
"name": "multUINT", "name": "multUINT",
"result-type": "UINT", "result-type": "UINT",
"in-type": ["UINT","UINT"], "in-type": ["UINT", "UINT"],
"description": "Unsigned Int32 multiplication" "description": "Unsigned Int32 multiplication"
}, },
{ {
"name": "multVAST", "name": "multVAST",
"result-type": "VAST", "result-type": "VAST",
"in-type": ["VAST","VAST"], "in-type": ["VAST", "VAST"],
"description": "Int64 multiplication" "description": "Int64 multiplication"
}, },
{ {
"name": "multUVAST", "name": "multUVAST",
"result-type": "UVAST", "result-type": "UVAST",
"in-type": ["UVAST","UVAST"], "in-type": ["UVAST", "UVAST"],
"description": "Unsigned Int64 multiplication" "description": "Unsigned Int64 multiplication"
}, },
{ {
"name": "multREAL32", "name": "multREAL32",
"result-type": "REAL32", "result-type": "REAL32",
"in-type": ["REAL32","REAL32"], "in-type": ["REAL32", "REAL32"],
"description": "Real32 multiplication" "description": "Real32 multiplication"
}, },
{ {
"name": "multREAL64", "name": "multREAL64",
"result-type": "REAL64", "result-type": "REAL64",
"in-type": ["REAL64","REAL64"], "in-type": ["REAL64", "REAL64"],
"description": "Real64 multiplication" "description": "Real64 multiplication"
}, },
{ {
"name": "divINT", "name": "divINT",
"result-type": "INT", "result-type": "INT",
"in-type": ["INT","INT"], "in-type": ["INT", "INT"],
"description": "Int32 division" "description": "Int32 division"
}, },
{ {
"name": "divUINT", "name": "divUINT",
"result-type": "UINT", "result-type": "UINT",
"in-type": ["UINT","UINT"], "in-type": ["UINT", "UINT"],
"description": "Unsigned Int32 division" "description": "Unsigned Int32 division"
}, },
{ {
"name": "divVAST", "name": "divVAST",
"result-type": "VAST", "result-type": "VAST",
"in-type": ["VAST","VAST"], "in-type": ["VAST", "VAST"],
"description": "Int64 division" "description": "Int64 division"
}, },
{ {
"name": "divUVAST", "name": "divUVAST",
"result-type": "UVAST", "result-type": "UVAST",
"in-type": ["UVAST","UVAST"], "in-type": ["UVAST", "UVAST"],
"description": "Unsigned Int64 division" "description": "Unsigned Int64 division"
}, },
{ {
"name": "divREAL32", "name": "divREAL32",
"result-type": "REAL32", "result-type": "REAL32",
"in-type": ["REAL32","REAL32"], "in-type": ["REAL32", "REAL32"],
"description": "Real32 division" "description": "Real32 division"
}, },
{ {
"name": "divREAL64", "name": "divREAL64",
"result-type": "REAL64", "result-type": "REAL64",
"in-type": ["REAL64","REAL64"], "in-type": ["REAL64", "REAL64"],
"description": "Real64 division" "description": "Real64 division"
}, },
{ {
"name": "modINT", "name": "modINT",
"result-type": "INT", "result-type": "INT",
"in-type": ["INT","INT"], "in-type": ["INT", "INT"],
"description": "Int32 modulus division" "description": "Int32 modulus division"
}, },
{ {
"name": "modUINT", "name": "modUINT",
"result-type": "UINT", "result-type": "UINT",
"in-type": ["UINT","UINT"], "in-type": ["UINT", "UINT"],
"description": "Unsigned Int32 modulus division" "description": "Unsigned Int32 modulus division"
}, },
{ {
"name": "modVAST", "name": "modVAST",
"result-type": "VAST", "result-type": "VAST",
"in-type": ["VAST","VAST"], "in-type": ["VAST", "VAST"],
"description": "Int64 modulus division" "description": "Int64 modulus division"
}, },
{ {
"name": "modUVAST", "name": "modUVAST",
"result-type": "UVAST", "result-type": "UVAST",
"in-type": ["UVAST","UVAST"], "in-type": ["UVAST", "UVAST"],
"description": "Unsigned Int64 modulus division" "description": "Unsigned Int64 modulus division"
}, },
{ {
"name": "modREAL32", "name": "modREAL32",
"result-type": "REAL32", "result-type": "REAL32",
"in-type": ["REAL32","REAL32"], "in-type": ["REAL32", "REAL32"],
"description": "Real32 modulus division" "description": "Real32 modulus division"
}, },
{ {
"name": "modREAL64", "name": "modREAL64",
"result-type": "REAL64", "result-type": "REAL64",
"in-type": ["REAL64","REAL64"], "in-type": ["REAL64", "REAL64"],
"description": "Real64 modulus division" "description": "Real64 modulus division"
}, },
{ {
"name": "expINT", "name": "expINT",
"result-type": "INT", "result-type": "INT",
"in-type": ["INT","INT"], "in-type": ["INT", "INT"],
"description": "Int32 exponentiation" "description": "Int32 exponentiation"
}, },
{ {
"name": "expUINT", "name": "expUINT",
"result-type": "UINT", "result-type": "UINT",
"in-type": ["UINT","UINT"], "in-type": ["UINT", "UINT"],
"description": "Unsigned int32 exponentiation" "description": "Unsigned int32 exponentiation"
}, },
{ {
"name": "expVAST", "name": "expVAST",
"result-type": "VAST", "result-type": "VAST",
"in-type": ["VAST","VAST"], "in-type": ["VAST", "VAST"],
"description": "Int64 exponentiation" "description": "Int64 exponentiation"
}, },
{ {
"name": "expUVAST", "name": "expUVAST",
"result-type": "UVAST", "result-type": "UVAST",
"in-type": ["UVAST","UVAST"], "in-type": ["UVAST", "UVAST"],
"description": "Unsigned Int64 exponentiation" "description": "Unsigned Int64 exponentiation"
}, },
{ {
"name": "expREAL32", "name": "expREAL32",
"result-type": "REAL32", "result-type": "REAL32",
"in-type": ["REAL32","REAL32"], "in-type": ["REAL32", "REAL32"],
"description": "Real32 exponentiation" "description": "Real32 exponentiation"
}, },
{ {
"name": "expREAL64", "name": "expREAL64",
"result-type": "REAL64", "result-type": "REAL64",
"in-type": ["REAL64","REAL64"], "in-type": ["REAL64", "REAL64"],
"description": "Real64 exponentiation" "description": "Real64 exponentiation"
}, },
{ {
"name": "bitAND", "name": "bitAND",
"result-type": "BYTESTR", "result-type": "UVAST",
"in-type": ["BYTESTR","BYTESTR"], "in-type": ["UVAST", "UVAST"],
"description": "Bitwise and" "description": "Bitwise and"
}, },
{ {
"name": "bitOR", "name": "bitOR",
"result-type": "BYTESTR", "result-type": "UVAST",
"in-type": ["BYTESTR","BYTESTR"], "in-type": ["UVAST", "UVAST"],
"description": "Bitwise or" "description": "Bitwise or"
}, },
{ {
"name": "bitXOR", "name": "bitXOR",
"result-type": "BYTESTR", "result-type": "UVAST",
"in-type": ["BYTESTR","BYTESTR"], "in-type": ["UVAST", "UVAST"],
"description": "Bitwise xor" "description": "Bitwise xor"
}, },
{ {
"name": "bitNOT", "name": "bitNOT",
"result-type": "BYTESTR", "result-type": "UVAST",
"in-type": ["BYTESTR"], "in-type": ["UVAST"],
"description": "Bitwise not" "description": "Bitwise not"
}, },
{ {
"name": "logAND", "name": "logAND",
"result-type": "BOOL", "result-type": "BOOL",
"in-type": ["BOOL","BOOL"], "in-type": ["BOOL", "BOOL"],
"description": "Logical and" "description": "Logical and"
}, },
{ {
"name": "logOR", "name": "logOR",
"result-type": "BOOL", "result-type": "BOOL",
"in-type": ["BOOL","BOOL"], "in-type": ["BOOL", "BOOL"],
"description": "Logical or" "description": "Logical or"
}, },
{ {
"name": "logNOT", "name": "logNOT",
"result-type": "BOOL", "result-type": "BOOL",
"in-type": ["BOOL"], "in-type": ["BOOL"],
"description": "Logical not" "description": "Logical not"
}, },
{ {
"name": "abs", "name": "abs",
"result-type": "INT", "result-type": "UVAST",
"in-type": ["UINT"], "in-type": ["VAST"],
"description": "absolute value" "description": "absolute value"
}, },
{ {
"name": "lessTHAN", "name": "lessThan",
"result-type": "BOOL", "result-type": "BOOL",
"in-type": ["INT","INT"], "in-type": ["UNK", "UNK"],
"description": "Less than" "description": "<"
}, },
{ {
"name": "greaterTHAN", "name": "greaterThan",
"result-type": "BOOL", "result-type": "BOOL",
"in-type": ["INT","INT"], "in-type": ["UNK", "UNK"],
"description": "Greater than" "description": ">"
}, },
{ {
"name": "lessEQUAL", "name": "lessEqual",
"result-type": "BOOL", "result-type": "BOOL",
"in-type": ["INT","INT"], "in-type": ["UNK", "UNK"],
"description": "Less than or equal to" "description": "<="
}, },
{ {
"name": "greaterEQUAL", "name": "greaterEqual",
"result-type": "BOOL", "result-type": "BOOL",
"in-type": ["INT","INT"], "in-type": ["UNK", "UNK"],
"description": "Greater than or equal to" "description": ">="
}, },
{ {
"name": "notEQUAL", "name": "notEqual",
"result-type": "BOOL", "result-type": "BOOL",
"in-type": ["INT","INT"], "in-type": ["UNK", "UNK"],
"description": "Not equal" "description": "!="
}, },
{ {
"name": "EQUAL", "name": "Equal",
"result-type": "BOOL", "result-type": "BOOL",
"in-type": ["INT","INT"], "in-type": ["UNK", "UNK"],
"description": "Equal to" "description": "=="
}, },
{ {
"name": "bitShiftLeft", "name": "bitShiftLeft",
"result-type": "BYTESTR", "result-type": "UVAST",
"in-type": ["BYTESTR","BYTESTR"], "in-type": ["UVAST", "UVAST"],
"description": "Bitwise left shift" "description": "<<"
}, },
{ {
"name": "bitShiftRight", "name": "bitShiftRight",
"result-type": "BYTESTR", "result-type": "UVAST",
"in-type": ["BYTESTR","BYTESTR"], "in-type": ["UVAST", "UVAST"],
"description": "Bitwise right shift" "description": ">>"
}, },
{ {
"name": "STOR", "name": "STOR",
"result-type":"BYTESTR", "result-type": "UNK",
"in-type": ["BYTESTR","BYTESTR"], "in-type": ["UNK", "UNK"],
"description": "Store value of parm 2 in parm 1" "description": "Store value of parm 2 in parm 1"
} }
] ]
} }
5. IANA Considerations 5. IANA Considerations
This document defines a moderated Namespace: "Amp/Agent" with the ADM This document defines a moderated Namespace: "Amp/Agent" with the ADM
enumeration of 0. enumeration of 0.
6. References 6. References
6.1. Informative References 6.1. Informative References
 End of changes. 116 change blocks. 
361 lines changed or deleted 459 lines changed or added

This html diff was produced by rfcdiff 1.47. The latest version is available from http://tools.ietf.org/tools/rfcdiff/