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";

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

message Configuration {
    string ip = 1;
    int64 prefixLength = 2;
}

message Port {
    string id = 1;
    string name = 2;
    Configuration configuration = 3;
    conflict.Metadata metadata = 4;
}
