syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; message IPv4Address { optional string address = 1; optional string address_origin = 2; optional string gateway = 3; optional string subnet_mask = 4; } message IPv6Address { optional string address = 1; optional string address_origin = 2; optional string address_state = 3; optional uint32 prefix_length = 4; } message IPv6AddressPolicy { optional string label = 1; optional uint32 precedence = 2; // TODO lookup proper type optional string prefix = 3; } message IPv6GatewayStaticAddress { string address = 1; optional uint32 prefix_length = 2; } message IPv6StaticAddress { string address = 1; uint32 prefix_length = 2; }