blob: c28a624bd697214ea4f1483dc2b54c7708af6f20 [file] [log] [blame]
/*
* Copyright 2017-present Open Networking Foundation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
syntax = "proto3";
option java_package = "org.onosproject.grpc.net.flow.models";
package net.flow;
import "net/flow/FlowEntryEnumsProto.proto";
// Corresponds to org.onosproject.net.flow.DefaultFlowEntry.
message FlowEntryProto {
int64 life = 1;
int64 packets = 2;
int64 bytes = 3;
int64 last_seen = 4;
int32 err_type = 5;
int32 err_code = 6;
net.flow.FlowEntryStateProto state = 7;
net.flow.FlowLiveTypeProto live_type = 8;
}