Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)
Deploy a given cBGP lab to the local Host

src/a/n/ank_le-HEAD/AutoNetkit/internet.py   ank_le(Download)
 
            LOG.info("Deploying to cBGP host %s" % host_alias)   
            cbgp_deploy = ank.deploy.cbgp_deploy.cBGPDeploy( network = self.network )
            cbgp_deploy.deploy()
            if data['verify']:
 
                LOG.info("Collecting data from cBGP host %s" % host_alias)   
                cbgp_deploy = ank.deploy.cbgp_deploy.cBGPDeploy( network = self.network )
                #TODO: get commands from config file
                cbgp_deploy.collect_data(data['collect data commands'])