commented some thoughts...
This commit is contained in:
parent
2ad156086a
commit
02ea3a4a7e
|
@ -61,7 +61,7 @@ mapping:
|
||||||
sequence:
|
sequence:
|
||||||
- type: map
|
- type: map
|
||||||
mapping:
|
mapping:
|
||||||
"extension":
|
"extension": &extension
|
||||||
type: map
|
type: map
|
||||||
mapping:
|
mapping:
|
||||||
"name":
|
"name":
|
||||||
|
@ -71,7 +71,7 @@ mapping:
|
||||||
type: str
|
type: str
|
||||||
"referenceid": #reference id used in protocol definition or extension itself
|
"referenceid": #reference id used in protocol definition or extension itself
|
||||||
type: int
|
type: int
|
||||||
required: yes
|
required: yes #really? maybe not...
|
||||||
"before": # standard is after the normal protocol structure, but could be used for vlan in ethernet for example.
|
"before": # standard is after the normal protocol structure, but could be used for vlan in ethernet for example.
|
||||||
type: str
|
type: str
|
||||||
"after":
|
"after":
|
||||||
|
@ -95,3 +95,25 @@ mapping:
|
||||||
"desc": # description
|
"desc": # description
|
||||||
type: str
|
type: str
|
||||||
required: yes
|
required: yes
|
||||||
|
# constraints
|
||||||
|
|
||||||
|
# even possible?
|
||||||
|
# how to implement?
|
||||||
|
|
||||||
|
#maybe like this:
|
||||||
|
# "constraint":
|
||||||
|
# type: map
|
||||||
|
# mapping:
|
||||||
|
# "name":
|
||||||
|
# type: str
|
||||||
|
# "type": # hmm, maybe better in triggers with "function": ?
|
||||||
|
# enum: [ crc, ...? ]
|
||||||
|
# "triggers":
|
||||||
|
# type: seq
|
||||||
|
# ....
|
||||||
|
# "actions":
|
||||||
|
# type: seq
|
||||||
|
# sequence:
|
||||||
|
# - type: map
|
||||||
|
# mapping:
|
||||||
|
# "extension": *extension
|
Reference in New Issue