models

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 17, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DataCocsnInterfacesCocsnInterfacesInterfaceItems0OperStatusUp captures enum value "up"
	DataCocsnInterfacesCocsnInterfacesInterfaceItems0OperStatusUp string = "up"

	// DataCocsnInterfacesCocsnInterfacesInterfaceItems0OperStatusDown captures enum value "down"
	DataCocsnInterfacesCocsnInterfacesInterfaceItems0OperStatusDown string = "down"
)
View Source
const (

	// DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0OperStatusUp captures enum value "up"
	DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0OperStatusUp string = "up"

	// DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0OperStatusDown captures enum value "down"
	DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0OperStatusDown string = "down"
)
View Source
const (

	// DataCocsnInterfacesInterfaceInterfaceNameOperStatusCocsnOperStatusUp captures enum value "up"
	DataCocsnInterfacesInterfaceInterfaceNameOperStatusCocsnOperStatusUp string = "up"

	// DataCocsnInterfacesInterfaceInterfaceNameOperStatusCocsnOperStatusDown captures enum value "down"
	DataCocsnInterfacesInterfaceInterfaceNameOperStatusCocsnOperStatusDown string = "down"
)
View Source
const (

	// DataCocsnInterfacesPostCocsnInterfaceItems0OperStatusUp captures enum value "up"
	DataCocsnInterfacesPostCocsnInterfaceItems0OperStatusUp string = "up"

	// DataCocsnInterfacesPostCocsnInterfaceItems0OperStatusDown captures enum value "down"
	DataCocsnInterfacesPostCocsnInterfaceItems0OperStatusDown string = "down"
)
View Source
const (

	// DataPostCocsnInterfacesInterfaceItems0OperStatusUp captures enum value "up"
	DataPostCocsnInterfacesInterfaceItems0OperStatusUp string = "up"

	// DataPostCocsnInterfacesInterfaceItems0OperStatusDown captures enum value "down"
	DataPostCocsnInterfacesInterfaceItems0OperStatusDown string = "down"
)
View Source
const (

	// DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0OperStatusUp captures enum value "up"
	DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0OperStatusUp string = "up"

	// DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0OperStatusDown captures enum value "down"
	DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0OperStatusDown string = "down"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {

	// This resource represents the combined configuration and state data resources that can be accessed by a client and cannot be created or deleted by the client. See RESTCONF RFC 8040 for further information.
	IetfRestconfData interface{} `json:"ietf-restconf:data,omitempty"`
}

Data data

swagger:model data

func (*Data) MarshalBinary

func (m *Data) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Data) UnmarshalBinary

func (m *Data) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Data) Validate

func (m *Data) Validate(formats strfmt.Registry) error

Validate validates this data

type DataCocsnInterfaces

type DataCocsnInterfaces struct {

	// cocsn interfaces
	CocsnInterfaces *DataCocsnInterfacesCocsnInterfaces `json:"cocsn:interfaces,omitempty"`
}

DataCocsnInterfaces data cocsn interfaces

swagger:model data_cocsn_interfaces

func (*DataCocsnInterfaces) MarshalBinary

func (m *DataCocsnInterfaces) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnInterfaces) UnmarshalBinary

func (m *DataCocsnInterfaces) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnInterfaces) Validate

func (m *DataCocsnInterfaces) Validate(formats strfmt.Registry) error

Validate validates this data cocsn interfaces

type DataCocsnInterfacesCocsnInterfaces

type DataCocsnInterfacesCocsnInterfaces struct {

	// (list)
	Interface []*DataCocsnInterfacesCocsnInterfacesInterfaceItems0 `json:"interface"`
}

DataCocsnInterfacesCocsnInterfaces (non-presence)

swagger:model DataCocsnInterfacesCocsnInterfaces

func (*DataCocsnInterfacesCocsnInterfaces) MarshalBinary

func (m *DataCocsnInterfacesCocsnInterfaces) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnInterfacesCocsnInterfaces) UnmarshalBinary

func (m *DataCocsnInterfacesCocsnInterfaces) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesCocsnInterfaces) Validate

Validate validates this data cocsn interfaces cocsn interfaces

type DataCocsnInterfacesCocsnInterfacesInterfaceItems0

type DataCocsnInterfacesCocsnInterfacesInterfaceItems0 struct {

	// addresses
	Addresses []string `json:"addresses"`

	// Enable or disable the interface. Example value: true (leaf)
	Enabled bool `json:"enabled,omitempty"`

	// Interface name. Example value: en0 (leaf)
	Name string `json:"name,omitempty"`

	// Describes whether the interface is physically up or down (leaf)
	// Enum: [up down]
	OperStatus *string `json:"oper-status,omitempty"`

	// The interface's address at its protocol sub-layer.  For
	// example, for an 802.x interface, this object normally
	// contains a Media Access Control (MAC) address.  The
	// interface's media-specific modules must define the bit
	// and byte ordering and the format of the value of this
	// object.  For interfaces that do not have such an address
	// (e.g., a serial line), this node is not present. (leaf)
	PhysAddress string `json:"phys-address,omitempty"`
}

DataCocsnInterfacesCocsnInterfacesInterfaceItems0 data cocsn interfaces cocsn interfaces interface items0

swagger:model DataCocsnInterfacesCocsnInterfacesInterfaceItems0

func (*DataCocsnInterfacesCocsnInterfacesInterfaceItems0) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnInterfacesCocsnInterfacesInterfaceItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesCocsnInterfacesInterfaceItems0) Validate

Validate validates this data cocsn interfaces cocsn interfaces interface items0

type DataCocsnInterfacesInterfaceInterfaceName

type DataCocsnInterfacesInterfaceInterfaceName struct {

	// (list)
	CocsnInterface []*DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0 `json:"cocsn:interface"`
}

DataCocsnInterfacesInterfaceInterfaceName data cocsn interfaces interface interface name

swagger:model data_cocsn_interfaces_interface_interface-name

func (*DataCocsnInterfacesInterfaceInterfaceName) MarshalBinary

func (m *DataCocsnInterfacesInterfaceInterfaceName) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceName) UnmarshalBinary

func (m *DataCocsnInterfacesInterfaceInterfaceName) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceName) Validate

Validate validates this data cocsn interfaces interface interface name

type DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID

type DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID struct {

	// cocsn addresses
	CocsnAddresses []string `json:"cocsn:addresses"`
}

DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID data cocsn interfaces interface interface name addresses addresses id

swagger:model data_cocsn_interfaces_interface_interface-name_addresses_addresses-id

func (*DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID) Validate

Validate validates this data cocsn interfaces interface interface name addresses addresses id

type DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0

type DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0 struct {

	// addresses
	Addresses []string `json:"addresses"`

	// Enable or disable the interface. Example value: true (leaf)
	Enabled bool `json:"enabled,omitempty"`

	// Interface name. Example value: en0 (leaf)
	Name string `json:"name,omitempty"`

	// Describes whether the interface is physically up or down (leaf)
	// Enum: [up down]
	OperStatus *string `json:"oper-status,omitempty"`

	// The interface's address at its protocol sub-layer.  For
	// example, for an 802.x interface, this object normally
	// contains a Media Access Control (MAC) address.  The
	// interface's media-specific modules must define the bit
	// and byte ordering and the format of the value of this
	// object.  For interfaces that do not have such an address
	// (e.g., a serial line), this node is not present. (leaf)
	PhysAddress string `json:"phys-address,omitempty"`
}

DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0 data cocsn interfaces interface interface name cocsn interface items0

swagger:model DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0

func (*DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0) Validate

Validate validates this data cocsn interfaces interface interface name cocsn interface items0

type DataCocsnInterfacesInterfaceInterfaceNameEnabled

type DataCocsnInterfacesInterfaceInterfaceNameEnabled struct {

	// Enable or disable the interface. Example value: true (leaf)
	CocsnEnabled bool `json:"cocsn:enabled,omitempty"`
}

DataCocsnInterfacesInterfaceInterfaceNameEnabled data cocsn interfaces interface interface name enabled

swagger:model data_cocsn_interfaces_interface_interface-name_enabled

func (*DataCocsnInterfacesInterfaceInterfaceNameEnabled) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameEnabled) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameEnabled) Validate

Validate validates this data cocsn interfaces interface interface name enabled

type DataCocsnInterfacesInterfaceInterfaceNameName

type DataCocsnInterfacesInterfaceInterfaceNameName struct {

	// Interface name. Example value: en0 (leaf)
	CocsnName string `json:"cocsn:name,omitempty"`
}

DataCocsnInterfacesInterfaceInterfaceNameName data cocsn interfaces interface interface name name

swagger:model data_cocsn_interfaces_interface_interface-name_name

func (*DataCocsnInterfacesInterfaceInterfaceNameName) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameName) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameName) Validate

Validate validates this data cocsn interfaces interface interface name name

type DataCocsnInterfacesInterfaceInterfaceNameOperStatus

type DataCocsnInterfacesInterfaceInterfaceNameOperStatus struct {

	// Describes whether the interface is physically up or down (leaf)
	// Enum: [up down]
	CocsnOperStatus *string `json:"cocsn:oper-status,omitempty"`
}

DataCocsnInterfacesInterfaceInterfaceNameOperStatus data cocsn interfaces interface interface name oper status

swagger:model data_cocsn_interfaces_interface_interface-name_oper-status

func (*DataCocsnInterfacesInterfaceInterfaceNameOperStatus) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameOperStatus) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNameOperStatus) Validate

Validate validates this data cocsn interfaces interface interface name oper status

type DataCocsnInterfacesInterfaceInterfaceNamePhysAddress

type DataCocsnInterfacesInterfaceInterfaceNamePhysAddress struct {

	// The interface's address at its protocol sub-layer.  For
	// example, for an 802.x interface, this object normally
	// contains a Media Access Control (MAC) address.  The
	// interface's media-specific modules must define the bit
	// and byte ordering and the format of the value of this
	// object.  For interfaces that do not have such an address
	// (e.g., a serial line), this node is not present. (leaf)
	CocsnPhysAddress string `json:"cocsn:phys-address,omitempty"`
}

DataCocsnInterfacesInterfaceInterfaceNamePhysAddress data cocsn interfaces interface interface name phys address

swagger:model data_cocsn_interfaces_interface_interface-name_phys-address

func (*DataCocsnInterfacesInterfaceInterfaceNamePhysAddress) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNamePhysAddress) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesInterfaceInterfaceNamePhysAddress) Validate

Validate validates this data cocsn interfaces interface interface name phys address

type DataCocsnInterfacesPost

type DataCocsnInterfacesPost struct {

	// (list)
	CocsnInterface []*DataCocsnInterfacesPostCocsnInterfaceItems0 `json:"cocsn:interface"`
}

DataCocsnInterfacesPost data cocsn interfaces post

swagger:model data_cocsn_interfaces-post

func (*DataCocsnInterfacesPost) MarshalBinary

func (m *DataCocsnInterfacesPost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnInterfacesPost) UnmarshalBinary

func (m *DataCocsnInterfacesPost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesPost) Validate

func (m *DataCocsnInterfacesPost) Validate(formats strfmt.Registry) error

Validate validates this data cocsn interfaces post

type DataCocsnInterfacesPostCocsnInterfaceItems0

type DataCocsnInterfacesPostCocsnInterfaceItems0 struct {

	// addresses
	Addresses []string `json:"addresses"`

	// Enable or disable the interface. Example value: true (leaf)
	Enabled bool `json:"enabled,omitempty"`

	// Interface name. Example value: en0 (leaf)
	Name string `json:"name,omitempty"`

	// Describes whether the interface is physically up or down (leaf)
	// Enum: [up down]
	OperStatus *string `json:"oper-status,omitempty"`

	// The interface's address at its protocol sub-layer.  For
	// example, for an 802.x interface, this object normally
	// contains a Media Access Control (MAC) address.  The
	// interface's media-specific modules must define the bit
	// and byte ordering and the format of the value of this
	// object.  For interfaces that do not have such an address
	// (e.g., a serial line), this node is not present. (leaf)
	PhysAddress string `json:"phys-address,omitempty"`
}

DataCocsnInterfacesPostCocsnInterfaceItems0 data cocsn interfaces post cocsn interface items0

swagger:model DataCocsnInterfacesPostCocsnInterfaceItems0

func (*DataCocsnInterfacesPostCocsnInterfaceItems0) MarshalBinary

func (m *DataCocsnInterfacesPostCocsnInterfaceItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnInterfacesPostCocsnInterfaceItems0) UnmarshalBinary

func (m *DataCocsnInterfacesPostCocsnInterfaceItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnInterfacesPostCocsnInterfaceItems0) Validate

Validate validates this data cocsn interfaces post cocsn interface items0

type DataCocsnRoutes

type DataCocsnRoutes struct {

	// cocsn routes
	CocsnRoutes *DataCocsnRoutesCocsnRoutes `json:"cocsn:routes,omitempty"`
}

DataCocsnRoutes data cocsn routes

swagger:model data_cocsn_routes

func (*DataCocsnRoutes) MarshalBinary

func (m *DataCocsnRoutes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnRoutes) UnmarshalBinary

func (m *DataCocsnRoutes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnRoutes) Validate

func (m *DataCocsnRoutes) Validate(formats strfmt.Registry) error

Validate validates this data cocsn routes

type DataCocsnRoutesCocsnRoutes

type DataCocsnRoutesCocsnRoutes struct {

	// (list)
	Route []*DataCocsnRoutesCocsnRoutesRouteItems0 `json:"route"`
}

DataCocsnRoutesCocsnRoutes (non-presence)

swagger:model DataCocsnRoutesCocsnRoutes

func (*DataCocsnRoutesCocsnRoutes) MarshalBinary

func (m *DataCocsnRoutesCocsnRoutes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnRoutesCocsnRoutes) UnmarshalBinary

func (m *DataCocsnRoutesCocsnRoutes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnRoutesCocsnRoutes) Validate

func (m *DataCocsnRoutesCocsnRoutes) Validate(formats strfmt.Registry) error

Validate validates this data cocsn routes cocsn routes

type DataCocsnRoutesCocsnRoutesRouteItems0

type DataCocsnRoutesCocsnRoutesRouteItems0 struct {

	// Route destination. IP network (leaf)
	Destination string `json:"destination,omitempty"`

	// Expiration timer of the route (leaf)
	Expire string `json:"expire,omitempty"`

	// Flags of the route (leaf)
	Flags string `json:"flags,omitempty"`

	// Route gateway. IP address or host name (leaf)
	Gateway string `json:"gateway,omitempty"`

	// Interface used for the route (leaf)
	Interface string `json:"interface,omitempty"`
}

DataCocsnRoutesCocsnRoutesRouteItems0 data cocsn routes cocsn routes route items0

swagger:model DataCocsnRoutesCocsnRoutesRouteItems0

func (*DataCocsnRoutesCocsnRoutesRouteItems0) MarshalBinary

func (m *DataCocsnRoutesCocsnRoutesRouteItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnRoutesCocsnRoutesRouteItems0) UnmarshalBinary

func (m *DataCocsnRoutesCocsnRoutesRouteItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnRoutesCocsnRoutesRouteItems0) Validate

Validate validates this data cocsn routes cocsn routes route items0

type DataCocsnRoutesPost

type DataCocsnRoutesPost struct {

	// (list)
	CocsnRoute []*DataCocsnRoutesPostCocsnRouteItems0 `json:"cocsn:route"`
}

DataCocsnRoutesPost data cocsn routes post

swagger:model data_cocsn_routes-post

func (*DataCocsnRoutesPost) MarshalBinary

func (m *DataCocsnRoutesPost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnRoutesPost) UnmarshalBinary

func (m *DataCocsnRoutesPost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnRoutesPost) Validate

func (m *DataCocsnRoutesPost) Validate(formats strfmt.Registry) error

Validate validates this data cocsn routes post

type DataCocsnRoutesPostCocsnRouteItems0

type DataCocsnRoutesPostCocsnRouteItems0 struct {

	// Route destination. IP network (leaf)
	Destination string `json:"destination,omitempty"`

	// Expiration timer of the route (leaf)
	Expire string `json:"expire,omitempty"`

	// Flags of the route (leaf)
	Flags string `json:"flags,omitempty"`

	// Route gateway. IP address or host name (leaf)
	Gateway string `json:"gateway,omitempty"`

	// Interface used for the route (leaf)
	Interface string `json:"interface,omitempty"`
}

DataCocsnRoutesPostCocsnRouteItems0 data cocsn routes post cocsn route items0

swagger:model DataCocsnRoutesPostCocsnRouteItems0

func (*DataCocsnRoutesPostCocsnRouteItems0) MarshalBinary

func (m *DataCocsnRoutesPostCocsnRouteItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnRoutesPostCocsnRouteItems0) UnmarshalBinary

func (m *DataCocsnRoutesPostCocsnRouteItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnRoutesPostCocsnRouteItems0) Validate

Validate validates this data cocsn routes post cocsn route items0

type DataCocsnRoutesRouteRouteDestination

type DataCocsnRoutesRouteRouteDestination struct {

	// (list)
	CocsnRoute []*DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0 `json:"cocsn:route"`
}

DataCocsnRoutesRouteRouteDestination data cocsn routes route route destination

swagger:model data_cocsn_routes_route_route-destination

func (*DataCocsnRoutesRouteRouteDestination) MarshalBinary

func (m *DataCocsnRoutesRouteRouteDestination) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestination) UnmarshalBinary

func (m *DataCocsnRoutesRouteRouteDestination) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestination) Validate

Validate validates this data cocsn routes route route destination

type DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0

type DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0 struct {

	// Route destination. IP network (leaf)
	Destination string `json:"destination,omitempty"`

	// Expiration timer of the route (leaf)
	Expire string `json:"expire,omitempty"`

	// Flags of the route (leaf)
	Flags string `json:"flags,omitempty"`

	// Route gateway. IP address or host name (leaf)
	Gateway string `json:"gateway,omitempty"`

	// Interface used for the route (leaf)
	Interface string `json:"interface,omitempty"`
}

DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0 data cocsn routes route route destination cocsn route items0

swagger:model DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0

func (*DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0) Validate

Validate validates this data cocsn routes route route destination cocsn route items0

type DataCocsnRoutesRouteRouteDestinationDestination

type DataCocsnRoutesRouteRouteDestinationDestination struct {

	// Route destination. IP network (leaf)
	CocsnDestination string `json:"cocsn:destination,omitempty"`
}

DataCocsnRoutesRouteRouteDestinationDestination data cocsn routes route route destination destination

swagger:model data_cocsn_routes_route_route-destination_destination

func (*DataCocsnRoutesRouteRouteDestinationDestination) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationDestination) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationDestination) Validate

Validate validates this data cocsn routes route route destination destination

type DataCocsnRoutesRouteRouteDestinationExpire

type DataCocsnRoutesRouteRouteDestinationExpire struct {

	// Expiration timer of the route (leaf)
	CocsnExpire string `json:"cocsn:expire,omitempty"`
}

DataCocsnRoutesRouteRouteDestinationExpire data cocsn routes route route destination expire

swagger:model data_cocsn_routes_route_route-destination_expire

func (*DataCocsnRoutesRouteRouteDestinationExpire) MarshalBinary

func (m *DataCocsnRoutesRouteRouteDestinationExpire) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationExpire) UnmarshalBinary

func (m *DataCocsnRoutesRouteRouteDestinationExpire) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationExpire) Validate

Validate validates this data cocsn routes route route destination expire

type DataCocsnRoutesRouteRouteDestinationFlags

type DataCocsnRoutesRouteRouteDestinationFlags struct {

	// Flags of the route (leaf)
	CocsnFlags string `json:"cocsn:flags,omitempty"`
}

DataCocsnRoutesRouteRouteDestinationFlags data cocsn routes route route destination flags

swagger:model data_cocsn_routes_route_route-destination_flags

func (*DataCocsnRoutesRouteRouteDestinationFlags) MarshalBinary

func (m *DataCocsnRoutesRouteRouteDestinationFlags) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationFlags) UnmarshalBinary

func (m *DataCocsnRoutesRouteRouteDestinationFlags) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationFlags) Validate

Validate validates this data cocsn routes route route destination flags

type DataCocsnRoutesRouteRouteDestinationGateway

type DataCocsnRoutesRouteRouteDestinationGateway struct {

	// Route gateway. IP address or host name (leaf)
	CocsnGateway string `json:"cocsn:gateway,omitempty"`
}

DataCocsnRoutesRouteRouteDestinationGateway data cocsn routes route route destination gateway

swagger:model data_cocsn_routes_route_route-destination_gateway

func (*DataCocsnRoutesRouteRouteDestinationGateway) MarshalBinary

func (m *DataCocsnRoutesRouteRouteDestinationGateway) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationGateway) UnmarshalBinary

func (m *DataCocsnRoutesRouteRouteDestinationGateway) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationGateway) Validate

Validate validates this data cocsn routes route route destination gateway

type DataCocsnRoutesRouteRouteDestinationInterface

type DataCocsnRoutesRouteRouteDestinationInterface struct {

	// Interface used for the route (leaf)
	CocsnInterface string `json:"cocsn:interface,omitempty"`
}

DataCocsnRoutesRouteRouteDestinationInterface data cocsn routes route route destination interface

swagger:model data_cocsn_routes_route_route-destination_interface

func (*DataCocsnRoutesRouteRouteDestinationInterface) MarshalBinary

MarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationInterface) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataCocsnRoutesRouteRouteDestinationInterface) Validate

Validate validates this data cocsn routes route route destination interface

type DataPost

type DataPost struct {

	// cocsn interfaces
	CocsnInterfaces *DataPostCocsnInterfaces `json:"cocsn:interfaces,omitempty"`

	// cocsn routes
	CocsnRoutes *DataPostCocsnRoutes `json:"cocsn:routes,omitempty"`
}

DataPost data post

swagger:model data-post

func (*DataPost) MarshalBinary

func (m *DataPost) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataPost) UnmarshalBinary

func (m *DataPost) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataPost) Validate

func (m *DataPost) Validate(formats strfmt.Registry) error

Validate validates this data post

type DataPostCocsnInterfaces

type DataPostCocsnInterfaces struct {

	// (list)
	Interface []*DataPostCocsnInterfacesInterfaceItems0 `json:"interface"`
}

DataPostCocsnInterfaces (non-presence)

swagger:model DataPostCocsnInterfaces

func (*DataPostCocsnInterfaces) MarshalBinary

func (m *DataPostCocsnInterfaces) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataPostCocsnInterfaces) UnmarshalBinary

func (m *DataPostCocsnInterfaces) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataPostCocsnInterfaces) Validate

func (m *DataPostCocsnInterfaces) Validate(formats strfmt.Registry) error

Validate validates this data post cocsn interfaces

type DataPostCocsnInterfacesInterfaceItems0

type DataPostCocsnInterfacesInterfaceItems0 struct {

	// addresses
	Addresses []string `json:"addresses"`

	// Enable or disable the interface. Example value: true (leaf)
	Enabled bool `json:"enabled,omitempty"`

	// Interface name. Example value: en0 (leaf)
	Name string `json:"name,omitempty"`

	// Describes whether the interface is physically up or down (leaf)
	// Enum: [up down]
	OperStatus *string `json:"oper-status,omitempty"`

	// The interface's address at its protocol sub-layer.  For
	// example, for an 802.x interface, this object normally
	// contains a Media Access Control (MAC) address.  The
	// interface's media-specific modules must define the bit
	// and byte ordering and the format of the value of this
	// object.  For interfaces that do not have such an address
	// (e.g., a serial line), this node is not present. (leaf)
	PhysAddress string `json:"phys-address,omitempty"`
}

DataPostCocsnInterfacesInterfaceItems0 data post cocsn interfaces interface items0

swagger:model DataPostCocsnInterfacesInterfaceItems0

func (*DataPostCocsnInterfacesInterfaceItems0) MarshalBinary

func (m *DataPostCocsnInterfacesInterfaceItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataPostCocsnInterfacesInterfaceItems0) UnmarshalBinary

func (m *DataPostCocsnInterfacesInterfaceItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataPostCocsnInterfacesInterfaceItems0) Validate

Validate validates this data post cocsn interfaces interface items0

type DataPostCocsnRoutes

type DataPostCocsnRoutes struct {

	// (list)
	Route []*DataPostCocsnRoutesRouteItems0 `json:"route"`
}

DataPostCocsnRoutes (non-presence)

swagger:model DataPostCocsnRoutes

func (*DataPostCocsnRoutes) MarshalBinary

func (m *DataPostCocsnRoutes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataPostCocsnRoutes) UnmarshalBinary

func (m *DataPostCocsnRoutes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataPostCocsnRoutes) Validate

func (m *DataPostCocsnRoutes) Validate(formats strfmt.Registry) error

Validate validates this data post cocsn routes

type DataPostCocsnRoutesRouteItems0

type DataPostCocsnRoutesRouteItems0 struct {

	// Route destination. IP network (leaf)
	Destination string `json:"destination,omitempty"`

	// Expiration timer of the route (leaf)
	Expire string `json:"expire,omitempty"`

	// Flags of the route (leaf)
	Flags string `json:"flags,omitempty"`

	// Route gateway. IP address or host name (leaf)
	Gateway string `json:"gateway,omitempty"`

	// Interface used for the route (leaf)
	Interface string `json:"interface,omitempty"`
}

DataPostCocsnRoutesRouteItems0 data post cocsn routes route items0

swagger:model DataPostCocsnRoutesRouteItems0

func (*DataPostCocsnRoutesRouteItems0) MarshalBinary

func (m *DataPostCocsnRoutesRouteItems0) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataPostCocsnRoutesRouteItems0) UnmarshalBinary

func (m *DataPostCocsnRoutesRouteItems0) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataPostCocsnRoutesRouteItems0) Validate

func (m *DataPostCocsnRoutesRouteItems0) Validate(formats strfmt.Registry) error

Validate validates this data post cocsn routes route items0

type DataPutPatch

type DataPutPatch struct {

	// ietf restconf data
	IetfRestconfData *DataPutPatchIetfRestconfData `json:"ietf-restconf:data,omitempty"`
}

DataPutPatch data put patch

swagger:model data-put-patch

func (*DataPutPatch) MarshalBinary

func (m *DataPutPatch) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataPutPatch) UnmarshalBinary

func (m *DataPutPatch) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataPutPatch) Validate

func (m *DataPutPatch) Validate(formats strfmt.Registry) error

Validate validates this data put patch

type DataPutPatchIetfRestconfData

type DataPutPatchIetfRestconfData struct {

	// cocsn interfaces
	CocsnInterfaces *DataPutPatchIetfRestconfDataCocsnInterfaces `json:"cocsn:interfaces,omitempty"`

	// cocsn routes
	CocsnRoutes *DataPutPatchIetfRestconfDataCocsnRoutes `json:"cocsn:routes,omitempty"`
}

DataPutPatchIetfRestconfData This YANG module represents the CoCSN API

swagger:model DataPutPatchIetfRestconfData

func (*DataPutPatchIetfRestconfData) MarshalBinary

func (m *DataPutPatchIetfRestconfData) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataPutPatchIetfRestconfData) UnmarshalBinary

func (m *DataPutPatchIetfRestconfData) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataPutPatchIetfRestconfData) Validate

func (m *DataPutPatchIetfRestconfData) Validate(formats strfmt.Registry) error

Validate validates this data put patch ietf restconf data

type DataPutPatchIetfRestconfDataCocsnInterfaces

type DataPutPatchIetfRestconfDataCocsnInterfaces struct {

	// (list)
	Interface []*DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0 `json:"interface"`
}

DataPutPatchIetfRestconfDataCocsnInterfaces (non-presence)

swagger:model DataPutPatchIetfRestconfDataCocsnInterfaces

func (*DataPutPatchIetfRestconfDataCocsnInterfaces) MarshalBinary

func (m *DataPutPatchIetfRestconfDataCocsnInterfaces) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataPutPatchIetfRestconfDataCocsnInterfaces) UnmarshalBinary

func (m *DataPutPatchIetfRestconfDataCocsnInterfaces) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataPutPatchIetfRestconfDataCocsnInterfaces) Validate

Validate validates this data put patch ietf restconf data cocsn interfaces

type DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0

type DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0 struct {

	// addresses
	Addresses []string `json:"addresses"`

	// Enable or disable the interface. Example value: true (leaf)
	Enabled bool `json:"enabled,omitempty"`

	// Interface name. Example value: en0 (leaf)
	Name string `json:"name,omitempty"`

	// Describes whether the interface is physically up or down (leaf)
	// Enum: [up down]
	OperStatus *string `json:"oper-status,omitempty"`

	// The interface's address at its protocol sub-layer.  For
	// example, for an 802.x interface, this object normally
	// contains a Media Access Control (MAC) address.  The
	// interface's media-specific modules must define the bit
	// and byte ordering and the format of the value of this
	// object.  For interfaces that do not have such an address
	// (e.g., a serial line), this node is not present. (leaf)
	PhysAddress string `json:"phys-address,omitempty"`
}

DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0 data put patch ietf restconf data cocsn interfaces interface items0

swagger:model DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0

func (*DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0) MarshalBinary

MarshalBinary interface implementation

func (*DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0) Validate

Validate validates this data put patch ietf restconf data cocsn interfaces interface items0

type DataPutPatchIetfRestconfDataCocsnRoutes

type DataPutPatchIetfRestconfDataCocsnRoutes struct {

	// (list)
	Route []*DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0 `json:"route"`
}

DataPutPatchIetfRestconfDataCocsnRoutes (non-presence)

swagger:model DataPutPatchIetfRestconfDataCocsnRoutes

func (*DataPutPatchIetfRestconfDataCocsnRoutes) MarshalBinary

func (m *DataPutPatchIetfRestconfDataCocsnRoutes) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DataPutPatchIetfRestconfDataCocsnRoutes) UnmarshalBinary

func (m *DataPutPatchIetfRestconfDataCocsnRoutes) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DataPutPatchIetfRestconfDataCocsnRoutes) Validate

Validate validates this data put patch ietf restconf data cocsn routes

type DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0

type DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0 struct {

	// Route destination. IP network (leaf)
	Destination string `json:"destination,omitempty"`

	// Expiration timer of the route (leaf)
	Expire string `json:"expire,omitempty"`

	// Flags of the route (leaf)
	Flags string `json:"flags,omitempty"`

	// Route gateway. IP address or host name (leaf)
	Gateway string `json:"gateway,omitempty"`

	// Interface used for the route (leaf)
	Interface string `json:"interface,omitempty"`
}

DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0 data put patch ietf restconf data cocsn routes route items0

swagger:model DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0

func (*DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0) MarshalBinary

MarshalBinary interface implementation

func (*DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0) UnmarshalBinary

UnmarshalBinary interface implementation

func (*DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0) Validate

Validate validates this data put patch ietf restconf data cocsn routes route items0

type Operations

type Operations struct {

	// This resource is a container that provides access to the data-model-specific RPC operations supported by the server. See RESTCONF RFC 8040 for further information.
	IetfRestconfOperations interface{} `json:"ietf-restconf:operations,omitempty"`
}

Operations operations

swagger:model operations

func (*Operations) MarshalBinary

func (m *Operations) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Operations) UnmarshalBinary

func (m *Operations) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Operations) Validate

func (m *Operations) Validate(formats strfmt.Registry) error

Validate validates this operations

type Root

type Root struct {

	// ietf restconf restconf
	IetfRestconfRestconf *RootIetfRestconfRestconf `json:"ietf-restconf:restconf,omitempty"`
}

Root root

swagger:model root

func (*Root) MarshalBinary

func (m *Root) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Root) UnmarshalBinary

func (m *Root) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Root) Validate

func (m *Root) Validate(formats strfmt.Registry) error

Validate validates this root

type RootIetfRestconfRestconf

type RootIetfRestconfRestconf struct {

	// data
	Data interface{} `json:"data,omitempty"`

	// operations
	Operations interface{} `json:"operations,omitempty"`

	// yang library version
	YangLibraryVersion string `json:"yang-library-version,omitempty"`
}

RootIetfRestconfRestconf This is the RESTCONF root resource for the RESTCONF datastore and operation resources. See RESTCONF RFC 8040 for further information.

swagger:model RootIetfRestconfRestconf

func (*RootIetfRestconfRestconf) MarshalBinary

func (m *RootIetfRestconfRestconf) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RootIetfRestconfRestconf) UnmarshalBinary

func (m *RootIetfRestconfRestconf) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RootIetfRestconfRestconf) Validate

func (m *RootIetfRestconfRestconf) Validate(formats strfmt.Registry) error

Validate validates this root ietf restconf restconf

type YangLibraryVersion

type YangLibraryVersion struct {

	// This leaf identifies the revision date of the 'ietf-yang-library' YANG module that is implemented by this server. See RESTCONF RFC 8040 for further information.
	IetfRestconfYangLibraryVersion interface{} `json:"ietf-restconf:yang-library-version,omitempty"`
}

YangLibraryVersion yang library version

swagger:model yang-library-version

func (*YangLibraryVersion) MarshalBinary

func (m *YangLibraryVersion) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*YangLibraryVersion) UnmarshalBinary

func (m *YangLibraryVersion) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*YangLibraryVersion) Validate

func (m *YangLibraryVersion) Validate(formats strfmt.Registry) error

Validate validates this yang library version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL