Shad Ansari | 7193ae2 | 2018-08-08 22:23:18 +0000 | [diff] [blame^] | 1 | /* |
| 2 | Copyright (C) 2018 Open Networking Foundation |
| 3 | |
| 4 | This program is free software: you can redistribute it and/or modify |
| 5 | it under the terms of the GNU General Public License as published by |
| 6 | the Free Software Foundation, either version 3 of the License, or |
| 7 | (at your option) any later version. |
| 8 | |
| 9 | This program is distributed in the hope that it will be useful, |
| 10 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 | GNU General Public License for more details. |
| 13 | |
| 14 | You should have received a copy of the GNU General Public License |
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ |
| 17 | |
| 18 | #include <iostream> |
| 19 | #include <memory> |
| 20 | #include <string> |
| 21 | |
| 22 | #include "Queue.h" |
| 23 | #include <iostream> |
| 24 | #include <sstream> |
| 25 | |
| 26 | #include "core.h" |
| 27 | |
| 28 | Status Enable_() { |
| 29 | return Status::OK; |
| 30 | } |
| 31 | |
| 32 | Status Disable_() { |
| 33 | return Status::OK; |
| 34 | } |
| 35 | |
| 36 | Status Reenable_() { |
| 37 | return Status::OK; |
| 38 | } |
| 39 | |
| 40 | Status EnablePonIf_(uint32_t intf_id) { |
| 41 | return Status::OK; |
| 42 | } |
| 43 | |
| 44 | Status DisableUplinkIf_(uint32_t intf_id) { |
| 45 | return Status::OK; |
| 46 | } |
| 47 | |
| 48 | Status EnableUplinkIf_(uint32_t intf_id) { |
| 49 | return Status::OK; |
| 50 | } |
| 51 | |
| 52 | Status DisablePonIf_(uint32_t intf_id) { |
| 53 | return Status::OK; |
| 54 | } |
| 55 | |
| 56 | Status ActivateOnu_(uint32_t intf_id, uint32_t onu_id, |
| 57 | const char *vendor_id, const char *vendor_specific, uint32_t pir) { |
| 58 | return Status::OK; |
| 59 | } |
| 60 | |
| 61 | Status DeactivateOnu_(uint32_t intf_id, uint32_t onu_id, |
| 62 | const char *vendor_id, const char *vendor_specific) { |
| 63 | return Status::OK; |
| 64 | } |
| 65 | |
| 66 | Status DeleteOnu_(uint32_t intf_id, uint32_t onu_id, |
| 67 | const char *vendor_id, const char *vendor_specific) { |
| 68 | return Status::OK;; |
| 69 | } |
| 70 | |
| 71 | Status OmciMsgOut_(uint32_t intf_id, uint32_t onu_id, const std::string pkt) { |
| 72 | return Status::OK; |
| 73 | } |
| 74 | |
| 75 | Status OnuPacketOut_(uint32_t intf_id, uint32_t onu_id, const std::string pkt) { |
| 76 | return Status::OK; |
| 77 | } |
| 78 | |
| 79 | Status UplinkPacketOut_(uint32_t intf_id, const std::string pkt) { |
| 80 | return Status::OK; |
| 81 | } |
| 82 | |
| 83 | Status FlowAdd_(uint32_t onu_id, |
| 84 | uint32_t flow_id, const std::string flow_type, |
| 85 | uint32_t access_intf_id, uint32_t network_intf_id, |
| 86 | uint32_t gemport_id, uint32_t priority_value, |
| 87 | const ::openolt::Classifier& classifier, |
| 88 | const ::openolt::Action& action) { |
| 89 | return Status::OK; |
| 90 | } |
| 91 | |
| 92 | Status SchedAdd_(int intf_id, int onu_id, int agg_port_id) { |
| 93 | return Status::OK; |
| 94 | } |
| 95 | |
| 96 | Status SchedRemove_(int intf_id, int onu_id, int agg_port_id) { |
| 97 | return Status::OK; |
| 98 | } |