mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
iec61850: add OpenAPI spec for sampled values node-type
This commit is contained in:
parent
83107cbbe0
commit
14483da3f9
2 changed files with 81 additions and 2 deletions
27
doc/openapi/components/schemas/config/iec61850_signal.yaml
Normal file
27
doc/openapi/components/schemas/config/iec61850_signal.yaml
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
|
||||
type: object
|
||||
properties:
|
||||
iec_type:
|
||||
type: string
|
||||
enum:
|
||||
- boolean
|
||||
- int8
|
||||
- int16
|
||||
- int32
|
||||
- int64
|
||||
- int8u
|
||||
- int16u
|
||||
- int32u
|
||||
- int64u
|
||||
- float32
|
||||
- float64
|
||||
- enumerated
|
||||
- coded_enum
|
||||
- octet_string
|
||||
- visible_string
|
||||
- objectname
|
||||
- objectreference
|
||||
- timestamp
|
||||
- entrytime
|
||||
- bitstring
|
|
@ -3,8 +3,60 @@
|
|||
|
||||
allOf:
|
||||
- type: object
|
||||
required:
|
||||
- interface
|
||||
properties:
|
||||
format:
|
||||
$ref: ../format_spec.yaml
|
||||
in:
|
||||
type: object
|
||||
properties:
|
||||
signals:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../iec61850_signal.yaml
|
||||
|
||||
out:
|
||||
type: object
|
||||
properties:
|
||||
required:
|
||||
- signals
|
||||
- svid
|
||||
signals:
|
||||
type: array
|
||||
items:
|
||||
$ref: ../iec61850_signal.yaml
|
||||
|
||||
svid:
|
||||
type: string
|
||||
|
||||
confrev:
|
||||
type: integer
|
||||
|
||||
smpmod:
|
||||
type: string
|
||||
enum:
|
||||
- per_nominal_period
|
||||
- samples_per_second
|
||||
- seconds_per_sample
|
||||
|
||||
smprate:
|
||||
type: integer
|
||||
|
||||
vlan_id:
|
||||
type: integer
|
||||
|
||||
vlan_priority:
|
||||
type: integer
|
||||
|
||||
|
||||
|
||||
interface:
|
||||
type: string
|
||||
description: Name of network interface to/from which this node will publish/subscribe for SV frames.
|
||||
|
||||
app_id:
|
||||
type: integer
|
||||
|
||||
dst_address:
|
||||
type: string
|
||||
|
||||
- $ref: ../node.yaml
|
||||
|
|
Loading…
Add table
Reference in a new issue