Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Using Macros

    This section lists and describes some common macros that are available to all users.

    CentOS Server

    Name: CENTOS_6_3

    Category: Application Server

    VM Units: 1

    RAM: 2 GB

    CPU: 1

    Permission: All

    Description: CentOS 32-bit and 64-bit images.

    Usage:

    #include "common.defs"
    
    config "config" {
    
    vm "centos01" {
        hostname "centos01" ;
    
        CENTOS_6_3
        interface "em0" { EXTERNAL; };
    };
    PRIVATE_BRIDGES
    
    };
    

    Junos Space

    Name: SPACE_LATEST

    Category:Juniper Networks-supported

    VM Units: 1

    RAM: 8 GB

    CPU: 1

    Permission: All

    Description: Latest qualified Junos Space image. This currently maps to SPACE_12_3P_8.

    Usage:

    #include "common.defs"
    
    config "config" {
    
    	SPACE_LATEST
    
    	vm "CTS0"{
    		hostname "CTS0";
    		CENTOS_5_3
    
    		interface "em0" { EXTERNAL; };
    	};
    
    	vm "VJX0"{
    		hostname "VJX0";
    		VJX_LATEST
    
    		interface "em0" { EXTERNAL; };	/* ge-0/0/0 */
    
    		install "ENV(HOME)/active/configset/VJX0.conf" "/root/junos.conf";
    	};
    
    	PRIVATE_BRIDGES
    
    };
    

    Mu Studio Performance

    Name: MU_STUDIO_LATEST

    Category: Partner

    VM Units: 1

    RAM: 2 GB

    CPU: 1

    Permission: All

    Description: Latest qualified Mu Studio image.

    Usage:

    #include "common.defs"
    
    config "config" {
    
    vm "MUS0" {
        hostname "MUS0" ;
    
        MU_STUDIO_LATEST
    };
    PRIVATE_BRIDGES
    
    };
    

    Mu Test Engine

    Name: MU_TESTENGINE_LATEST

    Category: Partner

    VM Units: 1

    RAM: 2 GB

    CPU: 1

    Permission: All

    Description: Latest qualified Test Engine image.

    Usage:

    #include "common.defs"
    
    config "config" {
    
    		vm "MUT0"{
    		hostname "MUT0";
    		MU_TESTENGINE_LATEST
    
    		interface "em2" { bridge "private0"; macaddr MU_ENGINE_MAC1; };
    		interface "em3" { bridge "private1"; macaddr MU_ENGINE_MAC2; };
    	};
    
    	vm "VJX0"{
    		hostname "VJX0";
    		VJX_LATEST
    
    		interface "em0" { EXTERNAL; };	/* ge-0/0/0 */
    		interface "em1" { bridge "private0"; };	/* ge-0/0/1 */
    
    		install "ENV(HOME)/active/configset/VJX0.conf" "/root/junos.conf";
    	};
    
    	vm "VJX1"{
    		hostname "VJX1";
    		VJX_LATEST
    
    		interface "em0" { EXTERNAL; };	/* ge-0/0/0 */
    		interface "em1" { bridge "private1"; };	/* ge-0/0/1 */
    
    		install "ENV(HOME)/active/configset/VJX1.conf" "/root/junos.conf";
    	};
    
    	PRIVATE_BRIDGES
    
    };

    VJX

    Name: VJX1000_LATEST, VJX_LATEST

    Category: Juniper Networks-supported

    VM Units: 1

    RAM: 2 GB

    CPU: 1

    Permission: All

    Description: J-Series Router based on Junos12.3 CentOS Virtual Machine configurable up to 64 Ethernet Interfaces.

    Usage:

    #include "common.defs"
    
    config "config" {
    
        vm "P1" {
            hostname "P1";
            VJX_LATEST
            interface "em0" { EXTERNAL; };	     /* ge-0/0/0 – Management interface to P2 */
            interface "em1" { bridge "private1"; }; /* ge-0/0/1  - P1 connected to P2 */
            interface "em2" { bridge "private2"; }; /* ge-0/0/2 */
            interface "em3" { bridge "private3"; }; /* ge-0/0/3 */
            interface "em4" { bridge "private4"; }; /* ge-0/0/4 */
            interface "em5" { bridge "private5"; }; /* ge-0/0/5 */
    
            install "ENV(HOME)/active/configset/P1.conf" "/root/junos.conf";
        };
    
        vm "P2" {
            hostname "P2";
            VJX1000_LATEST
            interface "em0" { EXTERNAL; };	     /* ge-0/0/0  - Management interface to P2 */
            interface "em1" { bridge "private1"; }; /* ge-0/0/1  – P2 connected to P1 */
    
            install "ENV(HOME)/active/configset/P2.conf" "/root/junos.conf";
        };
    
        PRIVATE_BRIDGES
    };
    

    VMX

    Name: VMX_LATEST

    Category: Experimental

    VM Units: 2

    RAM: 4 GB

    CPU: 1

    Permission: All

    Description: Latest qualified VMX image.

    Usage:

    #include "common.defs"
    
    config "config" {
    
          VMX_EXP(VMX0, VMX0_cosim, private_VMX0)
                
                interface "em2" { bridge "private0"; };   /* ge-0/0/1 */
                interface "em3" { bridge "private1"; };   /* ge-0/0/2 */
                interface "em4" { bridge "private2"; };   /* ge-0/0/3 */
    
                install "ENV(HOME)/active/configset/VMX0.conf" "/root/junos.conf";
          };
    
          vm "VJX0"{
                hostname "VJX0";
                VJX_LATEST
    
                interface "em0" { EXTERNAL; };      /* ge-0/0/0 */
                interface "em1" { bridge "private0"; };   /* ge-0/0/1 */
                interface "em2" { bridge "private2"; };   /* ge-0/0/2 */
    
                install "ENV(HOME)/active/configset/VJX0.conf" "/root/junos.conf";
          };
    
          VMX_EXP(VMX1, VMX1_cosim, private_VMX1)
                
                interface "em2" { bridge "private1"; };   /* ge-0/0/1 */
                interface "em3" { bridge "private2"; };   /* ge-0/0/2 */
                interface "em4" { bridge "private0"; };   /* ge-0/0/3 */
    
                install "ENV(HOME)/active/configset/VMX1.conf" "/root/junos.conf";
          };
    
          PRIVATE_BRIDGES
    
    };
    

    VPTX

    Name: VPTX_LATEST, VPTX_EXP

    Category: Experimental

    VM Units: 2

    RAM: 2 GB

    CPU:1

    Permission: All

    Description: Latest qualified VPTX image.

    Usage:

    #include "common.defs"
    
    config "config" {
    
    	vm "VPTX0"{
    		hostname "VPTX0";
    		VPTX_LATEST
    
    		interface "em0" { EXTERNAL; };
    		interface "em1" { bridge "private0"; };
    	};
    
    	vm "VPTX1"{
    		hostname "VPTX1";
    		VPTX_LATEST
    
    		interface "em0" { EXTERNAL; };
    		interface "em1" { bridge "private1"; };
    	};
    
    	vm "VJX0"{
    		hostname "VJX0";
    		VJX_LATEST
    
    		interface "em0" { EXTERNAL; };	/* ge-0/0/0 */
    		interface "em1" { bridge "private0"; };	/* ge-0/0/1 */
    		interface "em2" { bridge "private1"; };	/* ge-0/0/2 */
    
    		install "ENV(HOME)/active/configset/VJX0.conf" "/root/junos.conf";
    	};
    
    	PRIVATE_BRIDGES
    
    };
    

    VSRX

    Name:VSRX_LATEST, VSRX_LATEST_EXP, VSRX_EXP

    Category: Experimental

    VM Units: 1

    RAM: 2 GB

    CPU: 1

    Permission: All

    Description: Latest qualified VSRX image.

    Usage:

    #include "common.defs"
    
    config "config" {
    
    	vm "VSRX0"{
    		hostname "VSRX0";
    		VSRX_LATEST
    
    		interface "em0" { EXTERNAL; };
    		interface "em1" { bridge "private0"; };
    	};
    
    	vm "VJX0"{
    		hostname "VJX0";
    		VJX_LATEST
    
    		interface "em0" { EXTERNAL; };	/* ge-0/0/0 */
    		interface "em1" { bridge "private0"; };	/* ge-0/0/1 */
    		interface "em2" { bridge "private1"; };	/* ge-0/0/2 */
    		interface "em3" { bridge "private2"; };	/* ge-0/0/3 */
    
    		install "ENV(HOME)/active/configset/VJX0.conf" "/root/junos.conf";
    	};
    
    	vm "VSRX1"{
    		hostname "VSRX1";
    		VSRX_LATEST
    
    		interface "em0" { EXTERNAL; };
    		interface "em1" { bridge "private1"; };
    	};
    
    	vm "VSRX2"{
    		hostname "VSRX2";
    		VSRX_LATEST
    
    		interface "em0" { EXTERNAL; };
    		interface "em1" { bridge "private2"; };
    	};
    
    	PRIVATE_BRIDGES
    
    };
    

    WANDL

    Name: WANDL_LATEST

    Category: Partner

    VM Units: 1

    RAM: 4 GB

    CPU:1

    Permission: All

    Description: Latest qualified WANDL image.

    Usage:

    #include "common.defs"
    
    config "config" {
    
    	WANDL_LATEST
    
    	PRIVATE_BRIDGES
    
    };

    Modified: 2015-07-15