Documentation ¶
Index ¶
- Constants
- type Data
- type DataCocsnInterfaces
- type DataCocsnInterfacesCocsnInterfaces
- type DataCocsnInterfacesCocsnInterfacesInterfaceItems0
- type DataCocsnInterfacesInterfaceInterfaceName
- type DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID
- func (m *DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID) MarshalBinary() ([]byte, error)
- func (m *DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID) UnmarshalBinary(b []byte) error
- func (m *DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID) Validate(formats strfmt.Registry) error
- type DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0
- func (m *DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0) MarshalBinary() ([]byte, error)
- func (m *DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0) UnmarshalBinary(b []byte) error
- func (m *DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0) Validate(formats strfmt.Registry) error
- type DataCocsnInterfacesInterfaceInterfaceNameEnabled
- type DataCocsnInterfacesInterfaceInterfaceNameName
- type DataCocsnInterfacesInterfaceInterfaceNameOperStatus
- type DataCocsnInterfacesInterfaceInterfaceNamePhysAddress
- type DataCocsnInterfacesPost
- type DataCocsnInterfacesPostCocsnInterfaceItems0
- type DataCocsnRoutes
- type DataCocsnRoutesCocsnRoutes
- type DataCocsnRoutesCocsnRoutesRouteItems0
- type DataCocsnRoutesPost
- type DataCocsnRoutesPostCocsnRouteItems0
- type DataCocsnRoutesRouteRouteDestination
- type DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0
- type DataCocsnRoutesRouteRouteDestinationDestination
- type DataCocsnRoutesRouteRouteDestinationExpire
- type DataCocsnRoutesRouteRouteDestinationFlags
- type DataCocsnRoutesRouteRouteDestinationGateway
- type DataCocsnRoutesRouteRouteDestinationInterface
- type DataPost
- type DataPostCocsnInterfaces
- type DataPostCocsnInterfacesInterfaceItems0
- type DataPostCocsnRoutes
- type DataPostCocsnRoutesRouteItems0
- type DataPutPatch
- type DataPutPatchIetfRestconfData
- type DataPutPatchIetfRestconfDataCocsnInterfaces
- type DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0
- func (m *DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0) MarshalBinary() ([]byte, error)
- func (m *DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0) UnmarshalBinary(b []byte) error
- func (m *DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0) Validate(formats strfmt.Registry) error
- type DataPutPatchIetfRestconfDataCocsnRoutes
- type DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0
- type Operations
- type Root
- type RootIetfRestconfRestconf
- type YangLibraryVersion
Constants ¶
const ( // DataCocsnInterfacesCocsnInterfacesInterfaceItems0OperStatusUp captures enum value "up" DataCocsnInterfacesCocsnInterfacesInterfaceItems0OperStatusUp string = "up" // DataCocsnInterfacesCocsnInterfacesInterfaceItems0OperStatusDown captures enum value "down" DataCocsnInterfacesCocsnInterfacesInterfaceItems0OperStatusDown string = "down" )
const ( // DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0OperStatusUp captures enum value "up" DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0OperStatusUp string = "up" // DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0OperStatusDown captures enum value "down" DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0OperStatusDown string = "down" )
const ( // DataCocsnInterfacesInterfaceInterfaceNameOperStatusCocsnOperStatusUp captures enum value "up" DataCocsnInterfacesInterfaceInterfaceNameOperStatusCocsnOperStatusUp string = "up" // DataCocsnInterfacesInterfaceInterfaceNameOperStatusCocsnOperStatusDown captures enum value "down" DataCocsnInterfacesInterfaceInterfaceNameOperStatusCocsnOperStatusDown string = "down" )
const ( // DataCocsnInterfacesPostCocsnInterfaceItems0OperStatusUp captures enum value "up" DataCocsnInterfacesPostCocsnInterfaceItems0OperStatusUp string = "up" // DataCocsnInterfacesPostCocsnInterfaceItems0OperStatusDown captures enum value "down" DataCocsnInterfacesPostCocsnInterfaceItems0OperStatusDown string = "down" )
const ( // DataPostCocsnInterfacesInterfaceItems0OperStatusUp captures enum value "up" DataPostCocsnInterfacesInterfaceItems0OperStatusUp string = "up" // DataPostCocsnInterfacesInterfaceItems0OperStatusDown captures enum value "down" DataPostCocsnInterfacesInterfaceItems0OperStatusDown string = "down" )
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 ¶
MarshalBinary interface implementation
func (*Data) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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 ¶
func (m *DataCocsnInterfacesCocsnInterfacesInterfaceItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnInterfacesCocsnInterfacesInterfaceItems0) UnmarshalBinary ¶
func (m *DataCocsnInterfacesCocsnInterfacesInterfaceItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID) UnmarshalBinary ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameAddressesAddressesID) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0) UnmarshalBinary ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameCocsnInterfaceItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameEnabled) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnInterfacesInterfaceInterfaceNameEnabled) UnmarshalBinary ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameEnabled) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameName) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnInterfacesInterfaceInterfaceNameName) UnmarshalBinary ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameName) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameOperStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnInterfacesInterfaceInterfaceNameOperStatus) UnmarshalBinary ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNameOperStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNamePhysAddress) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnInterfacesInterfaceInterfaceNamePhysAddress) UnmarshalBinary ¶
func (m *DataCocsnInterfacesInterfaceInterfaceNamePhysAddress) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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
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 ¶
func (m *DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0) UnmarshalBinary ¶
func (m *DataCocsnRoutesRouteRouteDestinationCocsnRouteItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
func (m *DataCocsnRoutesRouteRouteDestinationDestination) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnRoutesRouteRouteDestinationDestination) UnmarshalBinary ¶
func (m *DataCocsnRoutesRouteRouteDestinationDestination) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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
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
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 ¶
func (m *DataCocsnRoutesRouteRouteDestinationInterface) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataCocsnRoutesRouteRouteDestinationInterface) UnmarshalBinary ¶
func (m *DataCocsnRoutesRouteRouteDestinationInterface) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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 ¶
MarshalBinary interface implementation
func (*DataPost) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
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
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
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
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
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
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 ¶
func (m *DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0) UnmarshalBinary ¶
func (m *DataPutPatchIetfRestconfDataCocsnInterfacesInterfaceItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
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 ¶
func (m *DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0) UnmarshalBinary ¶
func (m *DataPutPatchIetfRestconfDataCocsnRoutesRouteItems0) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
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
type Root ¶
type Root struct { // ietf restconf restconf IetfRestconfRestconf *RootIetfRestconfRestconf `json:"ietf-restconf:restconf,omitempty"` }
Root root
swagger:model root
func (*Root) MarshalBinary ¶
MarshalBinary interface implementation
func (*Root) UnmarshalBinary ¶
UnmarshalBinary interface implementation
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
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
Source Files ¶
- data.go
- data_cocsn_interfaces.go
- data_cocsn_interfaces_interface_interface_name.go
- data_cocsn_interfaces_interface_interface_name_addresses_addresses_id.go
- data_cocsn_interfaces_interface_interface_name_enabled.go
- data_cocsn_interfaces_interface_interface_name_name.go
- data_cocsn_interfaces_interface_interface_name_oper_status.go
- data_cocsn_interfaces_interface_interface_name_phys_address.go
- data_cocsn_interfaces_post.go
- data_cocsn_routes.go
- data_cocsn_routes_post.go
- data_cocsn_routes_route_route_destination.go
- data_cocsn_routes_route_route_destination_destination.go
- data_cocsn_routes_route_route_destination_expire.go
- data_cocsn_routes_route_route_destination_flags.go
- data_cocsn_routes_route_route_destination_gateway.go
- data_cocsn_routes_route_route_destination_interface.go
- data_post.go
- data_put_patch.go
- operations.go
- root.go
- yang_library_version.go