#!/usr/share/venvs/netq-agent/bin/python
#
# Copyright (c) 2017-2021 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# LicenseRef-NvidiaProprietary
#
# NVIDIA CORPORATION, its affiliates and licensors retain all intellectual
# property and proprietary rights in and to this material, related
# documentation and any modifications thereto. Any use, reproduction,
# disclosure or distribution of this material and related documentation
# without an express license agreement from NVIDIA CORPORATION or
# its affiliates is strictly prohibited
#

import sys
import traceback
import syslog

from netq_lib.common import utils
from netq_agent.cmd import agent

if __name__ == '__main__':
    try:
        sys.exit(agent.main())
    except Exception as ex:  # pylint: disable=broad-except
        logger = utils.get_logger('netq-agent', None)
        logger.exception(ex)
        sys.exit(1)
