Adding the Extreme XOS virtual machine to VIRL

    Summary:
    Before starting, you will need to get a copy of the Virtualized version of Extreme XOS virtual machine; Please do not asked for the XOS VMDK image you will need to source this from https://xkit.extremenetworks.com/app/v/extremexosvm120
    Use your Extreme eSupport userid and password to download from xkit.extremenetworks.com.

    Solution:
    To add the Extreme XOS image into VIRL follow the steps.
    1) Login to your User Workspace Management and select Subtypes from the menu.
    2) Click the Import button located on the top right-hand side and paste in the following config.
    {
    "dynamic-subtypes": [
    {
    "hw_vcpus": 1,
    "plugin_desc": "Extreme XOS reference platform",
    "cli_serial": 1,
    "plugin_name": "ExtremeOS",
    "gui_visible": true,
    "interface_range": 16,
    "interface_pattern": "ethernet{0}",
    "hw_disk_bus": "ide",
    "baseline_flavor": "",
    "hw_vm_extra": "",
    "hw_ram": 512,
    "gui_icon": "switch",
    "interface_first": 1,
    "config_file": "/primary.cfg",
    "config_disk_type": "disk",
    "interface_management": "Mgmt",
    "baseline_image": "",
    "plugin_base": "generic"
    }
    ]
    }
    Then click Import. This will ADD the new subtype to your existing list.
    3) Now select Images from the menu and then click Add
    Select the ExtremeOS subtype and enter 15.3(2) for Name/Version and Release , under Source select Local image file and click Browse and select your Extreme XOS vmdk image file and click Create. After a few minutes you should see a message saying the Image " ExtremeOS -15.3(2)" has been created successfully.

    4) Open VM Maestro and click File -> Preferences -> Node Subtypes and click the Fetch from Server button, then Apply and OK

    5) Open a new topology and drag the ExtremeOS node from the Palette.

    6) Click on the Extreme XOS node/object and make sure you have a VM Image assigned as below, your number will be different.

    7) Start the Simulation and login to the device using the Console port.
    If you are presented with the "(pending-AAA) login:", wait a few minutes till this message comes up “Authentication Service (AAA) on the master node is now available for login”. Just hit enter again and you will get "login:" at the prompt.
    The default username for XOS VM is admin, with no password set . After the first successful login you will be asked to answer several configuration questions.

    You now need to configure basic management access.
    Because the VIRL management IP address is assigned at runtime, we have to configure our management port on the Extreme XOS to MATCH the one assigned by VIRL at run time if we what to use telnet from the menu.

    at the prompt type:
    configure Mgmt ipaddress IPaddress/mask
    save

    for example I haved used:
    configure Mgmt ipaddress 172.16.1.52/24
    save

    Once this has been done, test the OOB connectivity from XOS CLI using a ping command. Make sure to source the ping from Virtual-Router Mgmt since MGMT interface is mapped to this VR by default.

    You should be able to access the device using your Telnet client over the flat network. SSH is not supported by default by XOS. To enable ssh, we must first download and install the separate Extreme Networks SSH software module (ssh.xmod)