mirror of
https://github.com/hanzozt/edge-api.git
synced 2026-10-30 14:44:05 +00:00
41 lines
742 B
YAML
41 lines
742 B
YAML
---
|
|
definitions:
|
|
interface:
|
|
description: A resource describing a network interface
|
|
type: object
|
|
required:
|
|
- name
|
|
- hardwareAddress
|
|
- mtu
|
|
- index
|
|
- isUp
|
|
- isRunning
|
|
- isLoopback
|
|
- isBroadcast
|
|
- isMulticast
|
|
properties:
|
|
name:
|
|
type: string
|
|
hardwareAddress:
|
|
type: string
|
|
mtu:
|
|
type: integer
|
|
minimum: 0
|
|
index:
|
|
type: integer
|
|
minimum: 0
|
|
isUp:
|
|
type: boolean
|
|
isRunning:
|
|
type: boolean
|
|
isLoopback:
|
|
type: boolean
|
|
isBroadcast:
|
|
type: boolean
|
|
isMulticast:
|
|
type: boolean
|
|
addresses:
|
|
type: array
|
|
items:
|
|
type: string
|