synit/protocols/schemas/network.prs

59 lines
884 B
Plaintext

version 1 .
Interface = <interface
@name string
@index int
@administrativeState AdministrativeState
@operationalState OperationalState
@carrier CarrierState
@linkAddr string> .
AdministrativeState =
/ =unknown
/ =down
/ =up
.
OperationalState =
/ =unknown
/ =down
/ @lowerLayerDown =lower-layer-down
/ =testing
/ =dormant
/ =up
.
CarrierState =
/ @noCarrier =no-carrier
/ =carrier
.
Route = <route
@addressFamily AddressFamily
@destination RouteDestination
@priority int
@typeOfService int
@interfaceName RouteInterface
@gateway Gateway> .
AddressFamily =
/ =ipv4
/ =ipv6
/ @other int
.
RouteDestination =
/ =default
/ @prefix <prefix @net string @bits int>
.
RouteInterface =
/ @name string
/ @none #f
.
Gateway =
/ @addr string
/ @none #f
.