def create_network_postcommit(self, context):
        """Provision the network on CVX"""
        network = context.current

        log_context("create_network_postcommit: network", network)

        segments = context.network_segments
        tenant_id = network['project_id']
        self.create_tenant(tenant_id)
        self.create_network(network)
        self.create_segments(segments)
def create_network_postcommit ( self , context ) : network = context . current log_context ( "create_network_postcommit: network" , network ) segments = context . network_segments tenant_id = network [ 'project_id' ] self . create_tenant ( tenant_id ) self . create_network ( network ) self . create_segments ( segments )
Provision the network on CVX