blob: 0e208b088927150474d3f4fad5efd680d9e94d05 [file] [log] [blame]
You Wang0c2b3662018-10-01 16:56:17 -07001# Copyright 2017-present Open Networking Foundation
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15*** Settings ***
16Documentation Library of functions related to OLT
17Library SSHLibrary
18Library Collections
19Library String
20Library OperatingSystem
21Library RequestsLibrary
22Library utils/utils.py
23Library restApi.py
24
25*** Keywords ***
26Openolt is Up
You Wang88e1d852018-10-05 11:44:19 -070027 [Arguments] ${ip} ${user} ${pass} ${prompt}=~#
You Wang0c2b3662018-10-01 16:56:17 -070028 [Documentation] Verify that openolt process is started and ready to connect to voltha
You Wang88e1d852018-10-05 11:44:19 -070029 Check Remote File Contents True /var/log/openolt.log oper_state: up ${ip} ${user} ${pass} prompt=${prompt}