コード例 #1
0
ファイル: agent.py プロジェクト: rlutes/volttron
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    # utils.vip_main(platform_agent)
    utils.vip_main(VolttronCentralPlatform, identity=VOLTTRON_CENTRAL_PLATFORM)
コード例 #2
0
ファイル: historian.py プロジェクト: carlatpnl/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(SMAPHistorianAgent)
    except Exception as e:
        _log.error(e)
        _log.exception('unhandled exception')
コード例 #3
0
ファイル: agent.py プロジェクト: schandrika/volttron
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    utils.vip_main(VolttronCentralAgent, identity=VOLTTRON_CENTRAL,
                   version=__version__)
コード例 #4
0
def main():
    """" Main entry point for the agent."""
    try:
        utils.vip_main(weather_agent, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #5
0
ファイル: agent.py プロジェクト: cbs-iiith/volttron
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    # utils.vip_main(platform_agent)
    utils.vip_main(VolttronCentralPlatform)
コード例 #6
0
ファイル: agent.py プロジェクト: rlutes/volttron
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(EmailerAgent, identity="platform.emailer")
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #7
0
ファイル: agent.py プロジェクト: VOLTTRON/volttron
def main():
    """" Main entry point for the agent."""
    try:
        utils.vip_main(weather_agent, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #8
0
ファイル: agent.py プロジェクト: VOLTTRON/volttron
def main(argv=sys.argv):
    """
    Main method called by the platform.
    """
    utils.vip_main(file_watch_publisher,
                   identity='platform.filewatchpublisher',
                   version=__version__)
コード例 #9
0
ファイル: agent.py プロジェクト: cbs-iiith/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(volttronbridge)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
コード例 #10
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(ILCAgent)
    except Exception as exception:
        _log.exception("unhandled exception")
        _log.error(repr(exception))
コード例 #11
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(HEMS_agent)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
コード例 #12
0
ファイル: agent.py プロジェクト: tarvajeh13/volttron
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(historian, identity="nullhistorian")
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #13
0
ファイル: historian.py プロジェクト: tpktang/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #14
0
ファイル: agent.py プロジェクト: Kisensum/volttron
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(historian, identity="nullhistorian")
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #15
0
ファイル: agent.py プロジェクト: cbs-iiith/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(smartstripgc)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
コード例 #16
0
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    # utils.vip_main(platform_agent)
    utils.vip_main(VolttronCentralPlatform)
コード例 #17
0
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.setup_logging()
    try:
        utils.vip_main(hello_agent)
    except Exception:
        _log.exception('unhandled exception')
コード例 #18
0
ファイル: agent.py プロジェクト: carlatpnl/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(schedule_example)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
コード例 #19
0
ファイル: agent.py プロジェクト: sriharikapu/enerkey_os
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(energybillappagent, version=__version__)

    except Exception as e:
        _log.exception('unhandled exception')
コード例 #20
0
def main():
    """Main method called by the aip."""
    try:
        utils.vip_main(ProactiveDiagnostics, version=__version__)
    except Exception as exception:
        LOG.exception("unhandled exception")
        LOG.error(repr(exception))
コード例 #21
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #22
0
ファイル: agent.py プロジェクト: schandrika/volttron
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #23
0
def main(argv=sys.argv):
    '''Main method called by the aip.'''
    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #24
0
ファイル: agent.py プロジェクト: carlatpnl/volttron
def main(argv=sys.argv):
    '''Main method called by the aip.'''
    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #25
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(schedule_example, version=__version__)
    except Exception as e:
        print e
        _log.exception('unhandled exception')
コード例 #26
0
ファイル: simpleforwarder.py プロジェクト: Kisensum/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(simpleforwarder, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #27
0
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(TransactiveIlcCoordinator)
    except Exception as exception:
        _log.exception("unhandled exception")
        _log.error(repr(exception))
コード例 #28
0
def main():
    """Main method called to start the agent."""
    from gevent import monkey

    monkey.patch_all()
    utils.vip_main(Invertertelnetagent,
                   version=__version__)
コード例 #29
0
def main(argv=sys.argv):
    """Main method called by the app."""
    try:
        utils.vip_main(AirsideAgent)
    except Exception as exception:
        _log.exception("unhandled exception")
        _log.error(repr(exception))
コード例 #30
0
ファイル: historian.py プロジェクト: damienpicard/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(SMAPHistorianAgent)
    except Exception as e:
        _log.error(e)
        _log.exception('unhandled exception')
コード例 #31
0
ファイル: agent.py プロジェクト: Kisensum/volttron
def main(argv=sys.argv):
    """Main method called by the aip."""
    try:
        utils.vip_main(EmailerAgent, identity="platform.emailer",
                       version = __version__)
    except Exception as e:
        _log.exception('unhandled exception')
コード例 #32
0
def main(argv=sys.argv):
    """
    Main method called to start the agent.
    """
    utils.vip_main(bacnet_proxy_agent,
                   identity="platform.bacnet_proxy",
                   version=__version__)
コード例 #33
0
def main():
    """Main method called to start the agent."""

    try:
        utils.vip_main(load_me, version=__version__)
    except Exception as exception:
        _log.exception("unhandled exception")
        _log.error(repr(exception))
コード例 #34
0
ファイル: agent.py プロジェクト: yizenrg/volttron
def main(argv=sys.argv):
    """ Main method called by the eggsecutable.
    :param argv:
    :return:
    """
    utils.vip_main(VolttronCentralAgent,
                   identity=VOLTTRON_CENTRAL,
                   version=__version__)
コード例 #35
0
ファイル: agent.py プロジェクト: tarvajeh13/volttron
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""

    try:
        utils.vip_main(PrometheusScrapeAgent, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #36
0
ファイル: agent.py プロジェクト: Kisensum/volttron
def main(argv=sys.argv):
    """Main method called by the eggsecutable."""

    try:
        utils.vip_main(WebSocketAgent, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #37
0
def main():
    """Main method called to start the agent."""

    try:
        utils.vip_main(Discover, version=__version__)

    except Exception as e:
        _log.exception('Unhandle Exception')
コード例 #38
0
ファイル: agent.py プロジェクト: tpktang/volttron
def main(argv=sys.argv):
    """
    Main method called by the eggsecutable.
    """
    try:
        utils.vip_main(external_data_agent)
    except Exception as e:
        _log.exception('unhandled exception')
コード例 #39
0
ファイル: historian.py プロジェクト: Kisensum/volttron
def main(argv=sys.argv):
    """Main method called by the eggsecutable.
    @param argv:
    """
    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #40
0
ファイル: historian.py プロジェクト: VOLTTRON/volttron
def main(argv=sys.argv):
    """Main method called by the eggsecutable.
    @param argv:
    """
    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #41
0
ファイル: historian.py プロジェクト: VOLTTRON/volttron
def main(argv=sys.argv):
    """
    Main entry point for the agent.
    """

    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #42
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(historian)
        #utils.default_main(historian,
        #                   description='Historian agent that saves a history to a sqlite db.',
        #                   argv=argv,
        #                   no_pub_sub_socket=True)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #43
0
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    from gevent import monkey

    monkey.patch_all()
    try:
        utils.vip_main(ListenerAgent, version=__version__)


    except Exception as e:
        _log.exception('unhandled exception')
コード例 #44
0
ファイル: historian.py プロジェクト: FraunhoferCSE/volttron
def main(argv=sys.argv):
    '''Main method called by the eggsecutable.'''
    try:
        utils.vip_main(historian)
        #utils.default_main(historian,
        #                   description='Historian agent that saves a history to a sqlite db.',
        #                   argv=argv,
        #                   no_pub_sub_socket=True)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #45
0
ファイル: historian.py プロジェクト: rlutes/volttron
def main(argv=sys.argv):
    """ Main entry point for the agent.

    :param argv:
    :return:
    """

    try:
        utils.vip_main(historian)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #46
0
ファイル: historian.py プロジェクト: craig8/volttron
def main(argv=sys.argv):
    """ Main entry point for the agent.

    :param argv:
    :return:
    """

    try:
        utils.vip_main(historian, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #47
0
def main(argv=sys.argv):
    """ Main entry point for the agent.

    :param argv:
    :return:
    """

    try:
        utils.vip_main(tagging_service, version=__version__)
    except Exception as e:
        print(e)
        _log.exception('unhandled exception')
コード例 #48
0
ファイル: agent.py プロジェクト: Kisensum/volttron
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.vip_main(kafka_agent, identity='KafkaAgent',
                   version=__version__)
コード例 #49
0
def main(argv=sys.argv):
    """Main method called to start the agent."""
    utils.vip_main(simulation_driver_agent, identity='simulation.driver', version=__version__)
コード例 #50
0
ファイル: agent.py プロジェクト: schandrika/volttron
def main(argv=sys.argv):
    utils.vip_main(historian)
コード例 #51
0
def main(argv=sys.argv):
    """ Main method."""
    utils.vip_main(driven_agent)
コード例 #52
0
def main(argv=sys.argv):
    '''Main method called by the platform.'''
    utils.vip_main(HASSAgent,version=__version__)
コード例 #53
0
ファイル: agent.py プロジェクト: Kisensum/volttron
def main():
    """Start the agent."""
    utils.vip_main(mesa_test_agent, identity='mesa_test_agent', version=__version__)
コード例 #54
0
ファイル: agent.py プロジェクト: schandrika/volttron
def main():
    utils.vip_main(CAgent, version=__version__)
コード例 #55
0
ファイル: agent.py プロジェクト: carlatpnl/volttron
def main():
    utils.vip_main(DDSAgent)
コード例 #56
0
ファイル: agent.py プロジェクト: FraunhoferCSE/volttron
def main(argv=sys.argv):
    '''Main method called to start the agent.'''
    utils.vip_main(actuator_agent)
コード例 #57
0
ファイル: agent.py プロジェクト: VOLTTRON/volttron
def main():
    """Main method called to start the agent."""
    utils.vip_main(mesa_agent, identity='mesaagent', version=__version__)
コード例 #58
0
ファイル: agent.py プロジェクト: Kisensum/volttron
def main():
    """Main method called to start the agent."""
    utils.vip_main(meter_agent, version=__version__)
コード例 #59
0
ファイル: agent.py プロジェクト: Kisensum/volttron
def main(argv=sys.argv):
    try:
        utils.vip_main(WeatherAgent)
    except Exception as e:
            _log.exception(e)