Skip to main content

DCon Protobuf

DCon.proto

path DCon.proto

package network_control


Messages

AddBridgeReply

The response status for AddBridge

NameTypeDescription
statusstring

AddBridgeRequest

Message containing the request to add two devices to a bridge

NameTypeDescription
device_id_srcbytesThe source device ID encoded as an UUID (128 bit)
device_id_dstbytesThe destination device ID encoded as an UUID (128 bit)

AddDeviceReply

The response status for AddDevice

NameTypeDescription
statusstring

AddDeviceRequest

Message containing the request to add a device to a logical network segment

NameTypeDescription
device_idbytesThe device ID encoded as an UUID (128 bit)
segment_idbytesThe segment ID encoded as an UUID (128 bit)

AddNatReply

The response status for AddNat

NameTypeDescription
statusstring

AddNatRequest

Message containing the request to add NAT to a device

NameTypeDescription
device_idbytesThe device ID encoded as an UUID (128 bit)

BindDescriptorReply

The response to bind a descriptor to a device

NameTypeDescription
statusstring

BindDescriptorRequest

The request to bind a descriptor to a device

NameTypeDescription
device_idbytesThe device ID encoded as an UUID (128 bit)
descriptorstringThe descriptor string (YANG or JSON)

CreateSegmentReply

The response containing the created segment message ID

NameTypeDescription
segment_idbytesThe segment ID encoded as an UUID (128 bit)

CreateSegmentRequest

Message containing the request to create a network segment

NameTypeDescription
paramsstringThe network segment parameters

RemoveBridgeReply

The response status for RemoveBridge

NameTypeDescription
statusstring

RemoveBridgeRequest

Message containing the request to remove two devices from a bridge

NameTypeDescription
device_id_srcbytesThe source device ID encoded as an UUID (128 bit)
device_id_dstbytesThe destination device ID encoded as an UUID (128 bit)

RemoveDeviceReply

The response status for RemoveDevice

NameTypeDescription
statusstring

RemoveDeviceRequest

Message containing the request to remove a device from a logical network segment

NameTypeDescription
device_idbytesThe device ID encoded as an UUID (128 bit)
segment_idbytesThe segment ID encoded as an UUID (128 bit)

RemoveNatReply

The response status for RemoveNat

NameTypeDescription
statusstring

RemoveNatRequest

Message containing the request to remove NAT for a device

NameTypeDescription
device_idbytesThe device ID encoded as an UUID (128 bit)

RemoveSegmentReply

The response status for RemoveSegment

NameTypeDescription
statusstring

RemoveSegmentRequest

Message containing the request to remove a network segment

NameTypeDescription
segment_idbytesThe segment ID encoded as an UUID (128 bit)

Services

NetworkController

The network controller service definition.

CreateSegment

MethodCreateSegment
RequestCreateSegmentRequest
ResponseCreateSegmentReply
DescriptionCreates a network segment

RemoveSegment

MethodRemoveSegment
RequestRemoveSegmentRequest
ResponseRemoveSegmentReply
DescriptionRemoves a network segment

AddDevice

MethodAddDevice
RequestAddDeviceRequest
ResponseAddDeviceReply
DescriptionAdds a device to a logical network segment

RemoveDevice

MethodRemoveDevice
RequestRemoveDeviceRequest
ResponseRemoveDeviceReply
DescriptionRemoves a device from a logical network segment

AddNat

MethodAddNat
RequestAddNatRequest
ResponseAddNatReply
DescriptionAdds NAT to a device

RemoveNat

MethodRemoveNat
RequestRemoveNatRequest
ResponseRemoveNatReply
DescriptionRemoves NAT from a device

AddBridge

MethodAddBridge
RequestAddBridgeRequest
ResponseAddBridgeReply
DescriptionAdds two devices to a bridge

RemoveBridge

MethodRemoveBridge
RequestRemoveBridgeRequest
ResponseRemoveBridgeReply
DescriptionRemoves two devices from a bridge

BindDescriptor

MethodBindDescriptor
RequestBindDescriptorRequest
ResponseBindDescriptorReply
DescriptionBind a descriptor to a device