blob: 13f95f1b439dad3551a1ec1e2125088e54500cca [file] [log] [blame]
Keita NISHIMOTO26dab092018-07-06 09:52:45 +09001/*
2 * Copyright 2018-present Open Networking Foundation
3
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7
8 * http://www.apache.org/licenses/LICENSE-2.0
9
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
Keita NISHIMOTOd771cd12018-06-07 08:37:24 +090017package main
18
19import (
Matteo Scandolo4549d3f2018-10-19 12:48:20 -070020 "gerrit.opencord.org/voltha-bbsim/core"
Keita NISHIMOTO9708e042018-10-27 09:24:44 +090021 "log"
Keita NISHIMOTOd771cd12018-06-07 08:37:24 +090022)
23
Keita NISHIMOTO9708e042018-10-27 09:24:44 +090024
25
Keita NISHIMOTO3b8b9c02018-10-09 09:40:01 +090026func printBanner() {
Keita NISHIMOTOd771cd12018-06-07 08:37:24 +090027 log.Println(" ________ _______ ________ ")
28 log.Println(" / ____ | / ____ | / ______/ __ ")
29 log.Println(" / /____/ / / /____/ / / /_____ /_/ ")
30 log.Println(" / _____ | / _____ | /______ | __ __________ ")
31 log.Println(" / /____/ / / /____/ / _______/ / / / / __ __ / ")
32 log.Println("/________/ /________/ /________/ /_/ /_/ /_/ /_/ ")
33}
34
Keita NISHIMOTOd771cd12018-06-07 08:37:24 +090035func main() {
Keita NISHIMOTO3b8b9c02018-10-09 09:40:01 +090036 // CLI Shows up
Keita NISHIMOTOd771cd12018-06-07 08:37:24 +090037 printBanner()
Keita NISHIMOTO9708e042018-10-27 09:24:44 +090038 opt := core.GetOptions()
Keita NISHIMOTO3b8b9c02018-10-09 09:40:01 +090039
Keita NISHIMOTO9708e042018-10-27 09:24:44 +090040 mediator := core.NewMediator(opt)
41 mediator.Start()
Keita NISHIMOTOd771cd12018-06-07 08:37:24 +090042}