github.com/microsoft/moc@v0.17.1/rpc/cloudagent/network/macpool/moc_cloudagent_macpool.proto (about) 1 // Copyright (c) Microsoft Corporation. 2 // Licensed under the Apache v2.0 license. 3 4 syntax = "proto3"; 5 option go_package = "github.com/microsoft/moc/rpc/cloudagent/network"; 6 package moc.cloudagent.network; 7 8 import "google/protobuf/wrappers.proto"; 9 import "moc_common_common.proto"; 10 11 message MacPoolRequest { 12 repeated MacPool MacPools = 1; 13 Operation OperationType = 2; 14 } 15 16 message MacPoolResponse { 17 repeated MacPool MacPools = 1; 18 google.protobuf.BoolValue Result = 2; 19 string Error = 3; 20 } 21 22 message MacRange { 23 string startMacAddress = 1; 24 string endMacAddress = 2; 25 } 26 27 message MacPool { 28 string name = 1; 29 string id = 2; 30 MacRange range = 3; 31 string locationName = 4; 32 Status status = 6; 33 Tags tags = 7; 34 } 35 36 service MacPoolAgent { 37 rpc Invoke(MacPoolRequest) returns (MacPoolResponse) {} 38 } 39