예제 #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
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
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))
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
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
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
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')
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
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
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__)
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
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
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
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
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
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
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
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
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
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
def main():
    utils.vip_main(CAgent, version=__version__)
예제 #55
0
파일: agent.py 프로젝트: carlatpnl/volttron
def main():
    utils.vip_main(DDSAgent)
예제 #56
0
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)