commented some thoughts...

This commit is contained in:
Marcel 2015-01-04 17:33:34 +01:00
parent 2ad156086a
commit 02ea3a4a7e
1 changed files with 24 additions and 2 deletions

View File

@ -61,7 +61,7 @@ mapping:
sequence:
- type: map
mapping:
"extension":
"extension": &extension
type: map
mapping:
"name":
@ -71,7 +71,7 @@ mapping:
type: str
"referenceid": #reference id used in protocol definition or extension itself
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.
type: str
"after":
@ -95,3 +95,25 @@ mapping:
"desc": # description
type: str
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