1
0
Fork 0
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:
Steffen Vogel 2022-04-04 20:39:17 +02:00
parent 83107cbbe0
commit 14483da3f9
2 changed files with 81 additions and 2 deletions

View 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

View file

@ -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