// Copyright 2022-2024 ETSI OSG/SDG TeraFlowSDN (TFS) (https://tfs.etsi.org/)
//
// 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";
package pon_access;

message PonRuleSet {
  string m = 1;                // ncclient session
  string ont_id = 2;           // ID of the ONT to operate on
  string cvlan = 3;            // (if required) ID of the Customer VLAN
  string ethernet_port = 4;    // the Ethernet port of the OLT (e.g., 1/1/x1) or similar
  string svlan = 5;            // Service VLAN to configure
  string profile = 6;          // "be" (Best Effort) or "ef" (Expedited Forwarding)
  string bw = 7;               // optional, bandwidth to set (required if profile == "ef")
  string mask = 8;             // Mask (from original message)
  string vlan = 9;             // VLAN (from original message)
}