
We decided to deprecated NovaDocker driver in the team meeting [1]. Therefore, we moved the driver to the contrib folder. NovaDocker was an experimental driver that attempts to leverage Nova to provide networking to containers. However, as kuryr integration implemented, this driver is not needed anymore. [1] http://eavesdrop.openstack.org/meetings/zun/2017/ zun.2017-07-11-03.00.log.html Change-Id: I770fe13a004dc56ad20fe8eca545f05c4504e48e
23 lines
781 B
Python
23 lines
781 B
Python
# Copyright (c) 2014 Docker, Inc.
|
|
# All Rights Reserved.
|
|
#
|
|
# 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.
|
|
|
|
from nova import utils
|
|
|
|
|
|
def sys_uptime():
|
|
"""Returns the host uptime."""
|
|
out, err = utils.execute('env', 'LANG=C', 'uptime')
|
|
return out
|