syntax = "proto3";

package gosdn.topology;

import "google/api/annotations.proto";
import "google/protobuf/descriptor.proto";
import "protoc-gen-openapiv2/options/annotations.proto";

import "gosdn/conflict/conflict.proto";
import "gosdn/topology/node.proto";
import "gosdn/topology/port.proto";

option go_package = "code.fbi.h-da.de/danet/gosdn/api/go/gosdn/topology";

message Link {
    string id = 1;
    string name = 2;
    Node sourceNode = 3;
    Node targetNode = 4;
    Port sourcePort = 5;
    Port targetPort = 6;
    conflict.Metadata metadata = 7;
}
