#!/usr/bin/env python3
# Copyright (c) 2009 Arastra, Inc.  All rights reserved.
# Arastra, Inc. Confidential and Proprietary.
from __future__ import absolute_import, division, print_function
import os, Agent, Mlag, resource # pylint: disable=import-self
if os.getuid() != 0:
   exit( "Must be root to run Mlag" ) # pylint: disable=consider-using-sys-exit
resource.setrlimit( resource.RLIMIT_NOFILE, ( 4096, 4096 ) )
container = Agent.AgentContainer( [ Mlag.Mlag ] )
container.runAgents()
