You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

  • For creating flavor using Openstack CLI, refer to SBC SWe Flavor Example.
  • Flavor creation is enabled on OpenStack for admin user. If you are a non-admin user consult an admin user for flavor creation. If you already have an OpenStack Flavor with the same requirements mentioned in Cloud Software Requirements section, you can reuse the existing OpenStack Flavor.

To create an OpenStack flavor:

  1. Create an OpenStack flavor that suits your needs using the Dashboard GUI.

    1. Log on to OpenStack GUI dashboard as admin user.

      OpenStack Log In

    2. On the navigation pane, click Admin > Flavors. Click Create Flavor to define a new flavor.

      Flavors

    3. To create Flavor, specify the following values:
      1. Specify the flavor name.
      2. By default, the ID is auto.
      3. Specify the resource requirements (VCPU, RAM, and Root Disk) by referring the respective EMS, SBC, and PSX requirements, mentioned in Cloud Software Requirements section.
      4. Type or select 0 in Ephemeral Disk (GB) field.
      5. Type or select 0 in Swap Disk (MB) field.
      6. By default, the RX/TX Factor is 1. Change the value if necessary.

      7. Click Create Flavor to create the flavor.

        Creating Flavor

  2. After the flavor is created with specified configuration, the following screen is displayed:

    Flavor Created

Additional Flavor Settings for D-SBC

Execute the following steps for creating D-SBC flavors:

  1. Log on to OpenStack CLI as admin user and execute the following command to enable CPU Pinning for Signaling-SBC:

    nova flavor-create S-SBC-PT auto 61404 80 20
    nova flavor-key S-SBC-PT set hw:mem_page_size=2048
    nova flavor-key S-SBC-PT set hw:numa_nodes=2
    nova flavor-key S-SBC-PT set hw:numa_cpus.0=0-9 hw:numa_mem.0=30702
    nova flavor-key S-SBC-PT set hw:numa_cpus.1=10-19 hw:numa_mem.1=30702
    nova flavor-key S-SBC-PT set hw:cpu_policy=dedicated hw:cpu_thread_policy=isolate
    nova flavor-key S-SBC-PT set hw:cpu-socket=2 hw:cpu_cores=10 hw:cpu_threads=1 hw:cpu_max_sockets=2 hw:cpu_max_cores=10 hw:cpu_max_threads=1
  2. Log on to OpenStack CLI as admin user and execute the following command to enable CPU Pinning for Media-SBC:

    nova flavor-create M-SBC-PT auto 26624 80 10
    nova flavor-key M-SBC-PT set hw:mem_page_size=2048
    nova flavor-key M-SBC-PT set hw:numa_nodes=1
    nova flavor-key M-SBC-PT set hw:numa_cpus.0=0-9 hw:numa_mem.0=26624
    nova flavor-key M-SBC-PT set hw:cpu_policy=dedicated hw:cpu_thread_policy=isolate
    nova flavor-key M-SBC-PT set hw:cpu-socket=1 hw:cpu_cores=10 hw:cpu_threads=1 hw:cpu_max_sockets=1 hw:cpu_max_cores=10 
    hw:cpu_max_threads=1

  • No labels