Skip to content

Topology Graph - Fleet - Licenses Tab

View as Markdown

WHAT TO EXPECT

In this article, users will learn about the different licensing options available for a cloudSwXtch and how to license the cloudSwXtch.

Licensing Options

There are two ways to license a cloudSwXtch:

  1. Marketplace (Private Offer or PAYG for Trials): Users are charged through the cloud provider for the cloudSwXtch and pay based on usage.
  2. Bring Your Own License (BYOL): With BYOL, there are two options: an individual license file or a cloudSwXtch license bundle.

    1. License File: A license file must be negotiated and requested on a per-cloudSwXtch basis.
    2. cloudSwXtch License Bundle: A license bundle must be negotiated and can handle multiple cloudSwXtches with varying entitlements for an entire fleet of cloudSwXtches.

    To negotiate a license, please contact support@swxtch.io.

How Does cloudSwXtch Prioritize License Types?

The cloudSwXtch takes an intuitive approach to licensing by looking for each type during initialization. It prioritizes the license types as follows:

  1. License File
  2. License Bundle
  3. Marketplace License

Once the cloudSwXtch has exhausted all three methods, it is marked as Not Authorized and will not work. A non-working cloudSwXtch boots, shows the swx-top interface and allows xNIC and swXtchBridge installations, but does not pass traffic.

This page is broken up into the following sections:

Fleet Licenses Tab

To view license information for all swXtches in the Fleet, select Fleet in the Topology Graph toolbar and then select the Licenses tab. The Licenses tab shows the full license details for each swXtch.

Topology Graph with Fleet selected and the Licenses tab open at the bottom, listing two unlicensed swXtches

Fleet Licenses tab listing each swXtch with its license status, licensing, expiry, fingerprint and licensed limits, with the upload and add icons at the end of each row

Use Search visible columns… at the top of the tab to find a particular swXtch, or Advanced filters (funnel icon) for more specific filtering; several filters are combined with AND. Choose columns opens Column Settings, where you can hide or show columns in this tab (Name is required).

Fields

  • Name: The swXtch’s display name.
  • License: Whether the swXtch is licensed.
  • Licensing: The licensing type. A swXtch running on a development license file shows a Development license badge (see Development licenses).
  • License name: The name of the license bundle the swXtch is seated against.
  • Seat (Admin role only): The bundle seat granted to this swXtch.
  • Expires: When the license expires. When the license is close to expiring, a red badge shows the days left (for example, 3d).
  • Fingerprint: The swXtch’s licensing fingerprint, shortened in the table. Click it to copy the full value.
  • Max clients: The maximum client count the license entitles, or Unlimited.
  • Max bridges: The maximum number of swXtchBridges the license entitles.
  • Max Mbps: The maximum bandwidth the license entitles, or Unlimited.
  • Clusters: Whether the license entitles clustering.
  • HA: Whether the license entitles High Availability.
  • Fanout: Whether the license entitles unicast fanout.
  • wXcked Eye: Whether the license entitles the wXcked Eye UI.
  • Major update: Whether the license entitles a major version update.

For a licensed swXtch, the entitlement columns show ✓ or ✖. For a swXtch OMNI has no license details for (for example, an unlicensed swXtch), they show ? rather than “no” — nothing has established that the feature is actually off.

The row actions license a swXtch with a file or with a seat in a bundle. Only a user with admin privileges can license a cloudSwXtch in the Fleet.

License via a File

Administrators can install a license file directly on the swXtch. To get a license file, copy the swXtch’s fingerprint in this tab.

Obtaining a License File

A license file can be obtained by copying the fingerprint.

Fleet Licenses tab with the fingerprint of a swXtch highlighted and its Click to copy tooltip

On AWS, the fingerprint is the VM’s instance ID (for example, i-0056d6bf1ebbb3611). The cloudSwXtch installer also prints it at the end of the installation: “Machine fingerprint (swxtch licensing): ”.

Send the fingerprint to support@swxtch.io, requesting a license file.

Adding the License File to a cloudSwXtch via Topology Graph Fleet

Once swXtch.io sends back the license file, select the upload icon (Install a license file on this swXtch) in the swXtch’s row.

Fleet Licenses tab with the upload icon highlighted and its tooltip: Install a license file on this swXtch

The Install License dialog opens. Either choose the License file (.json) or paste its contents in the box below, then select Install. The dialog shows the fingerprint the swXtch answers to and notes that “A license issued for a different machine will be refused.” The example has the pasted license contents.

Install License dialog with the License file (.json) chooser, the paste box with a license, the fingerprint the swXtch answers to, and the Install button highlighted

Adding the License File directly to a cloudSwXtch VM

If the user does not yet have access to the Topology Graph, the license file can be installed directly on the cloudSwXtch VM instead. After receiving a license file from swXtch.io, upload it to the cloudSwXtch VM.

  1. Upload the license.json file onto the cloudSwXtch VM in the user’s home directory.
  2. Move the license.json file to the /var/opt/swx/swxtch directory using the following command, replacing with the appropriate value:

    sudo mv /home/<user>/license.json /var/opt/swx/swxtch
    
  3. Check that the license has taken effect: the cloudSwXtch picks up the file automatically, and in wXcked Eye the swXtch shows Licensed in the Fleet Licenses tab.

Alternatively, users can create the file with a shell editor, copy the license content to the clipboard, and paste the content into the editor. For example, using nano:

sudo nano /var/opt/swx/swxtch/license.json

If the cloudSwXtch has an old license, or the user wants to replace the current one, remove the current line with CTRL+K and paste the new license.

Save the file with CTRL+X, accept the “Save modified buffer?” prompt with Y, and press Enter at the “File Name to Write: /var/opt/swx/swxtch/license.json” prompt.

NOTE

The cloudSwXtch picks up the new license automatically when the file is saved.

Only license files can be installed manually on the cloudSwXtch VM. Bundles are added to the OMNI through wXcked Eye or with swx-cli; see License Bundles.

License via a Bundle

Administrators can install a license bundle directly in the wXcked Eye user interface.

Obtaining a Bundle File

A license bundle is obtained with the OMNI’s fingerprint. In System Management → Licenses, copy This OMNI’s licensing fingerprint with its copy button, and send it to support@swxtch.io to obtain a license bundle.

System Management Licenses tab with the copy icon next to the OMNI licensing fingerprint highlighted, above the list of license bundles and their seats

Adding the License Bundle to a cloudSwXtch via Topology Graph Fleet

Once the license bundle has been uploaded (in System Management → Licenses), select the + icon (Give this swXtch a seat in a license bundle) in the swXtch’s row.

Topology Graph Fleet view with the Licenses tab open; the add (+) icon of an unlicensed cloudSwXtch is highlighted

The Add to a license bundle dialog opens. Choose a bundle from the Bundle list and select Add. If no bundle can seat the swXtch, the dialog says: “No bundle can seat this swXtch. Upload one, or free a seat, under System Management → Licenses.”

Add to a license bundle dialog with the Bundle list showing a bundle and its free seats, and the Add button highlighted

The cloudSwXtch is now licensed with a bundle.

Fleet Licenses tab with the cloudSwXtch now licensed through OMNI with the chosen bundle, its expiry and licensed limits