syntax = "proto3"; package onprem.user.v1; option go_package="gitlab.com/on-prem-net/protocol/onprem/user/v1;userproto"; import "onprem/user/v1/redfish_ip.proto"; message RedfishEthernetInterface { enum Type { Physical = 0; Virtual = 1; } message DHCPv4 { optional bool dhcp_enabled = 1; optional string fallback_address = 2; optional bool use_dns_servers = 3; optional bool use_domain_name = 4; optional bool use_gateway = 5; optional bool use_ntp_servers = 6; optional bool use_static_routes = 7; } message DHCPv6 { optional string operating_mode = 1; optional bool use_dns_servers = 2; optional bool use_domain_name = 3; optional bool use_ntp_servers = 4; optional bool use_rapid_commit = 5; } message VLAN { optional bool tagged = 1; optional bool vlan_enable = 2; optional uint32 vlan_id = 3; // TODO lookup proper type optional uint32 vlan_priority = 4; // TODO lookup proper type } message StatelessAddressAutoConfig { optional bool ipv4_auto_config_enabled = 1; optional bool ipv6_auto_config_enabled = 2; } optional bool auto_neg = 1; optional DHCPv4 dhcp_v4 = 2; optional DHCPv6 dhcp_v6 = 3; optional Type ethernet_interface_type = 4; optional string fqdn = 5; optional bool full_duplex = 6; optional string host_name = 7; repeated IPv4Address ipv4_addresses = 8; repeated IPv4Address ipv4_static_addresses = 9; repeated IPv6Address ipv6_addresses = 10; repeated IPv6AddressPolicy ipv6_address_policy_table = 11; optional string ipv6_default_gateway = 12; repeated IPv6StaticAddress ipv6_static_addresses = 13; repeated IPv6GatewayStaticAddress ipv6_static_default_gateways = 14; optional string link_status = 15; optional string mac_address = 16; optional uint32 max_ipv6_static_addresses = 17; optional uint32 mtu_size = 18; // TODO lookup proper type repeated string name_servers = 19; optional string permanent_mac_address = 20; optional uint64 speed_mbps = 21; optional StatelessAddressAutoConfig stateless_address_auto_config = 22; repeated string static_name_servers = 23; // TODO Status = 24; optional string team_mode = 25; optional string uefi_device_path = 26; optional VLAN vlan = 27; }