L2 Network

L2 Network corresponds to a L2 Network in the physical network, and has the role of network isolation.

A L2 Network corresponds to a L2 Network in a physical network. Hosts within a L2 Network can communicate at Layer 2 without being forwarded through Layer 3 devices, and a L2 Network can be configured with multiple IP subnets.

A L2 Network defines the boundaries of a L2 Network, and an IP subnet defines the pool of IP addresses that can be assigned within a L2 Network.

L2 Network Source.

  • Synchronization of L2 Network on ZStack and DStack platforms.
  • The L2 Network belonging to the OneCloud platform is created when the cloud management platform control node is initialized and bootstrapped after installation.

Entry: In the cloud management platform click on the top left corner navigation menu, and click “Network/Infrastructure/L2 Network” menu item in the left menu bar that pops up to enter the L2 Network page.

Create L2 Network

This function is used to create OneCloud platform’s L2 Network. The cloud management platform only supports synchronizing the L2 Network of private cloud platform, and does not support new creation.

  1. On the L2 Network page, click the “Create” button at the top of the list to bring up the Create dialog box.
  2. Set the following information.
    • Assigned Domain: Select the domain to which the L2 Network belongs.
    • Proprietary Network: Select the local area as well as the local VDC.
    • Availability Zone: Select the zone to which the L2 Network belongs.
    • Name: Set the name of the L2 Network.
    • Bandwidth: Set the network bandwidth supported by the L2 Network, including 100M, 1G, 2x1G, 10G, 2x10G, 25G, 40G, 100G. The L2 Network bandwidth is mainly for the purpose of network utilization statistics to determine the network load of servers.
  3. Click the “OK” button.

Merge wire

This function is used to merge L2 Network, which currently only supports L2 Network on OneCloud platforms. A L2 Network is an isolated broadcast domain. Merging two and more L2 Network will become one broadcast domain.

Main usage: After managing VMware account, it will create L2 Network on the platform according to VMware’s vSwitch or Distributed vSwitch correspondence, so it may cause the same network on VMware is split into multiple L2 Network, at this time, you need to merge L2 Network and IP subnets according to the actual networking of VMware environment by merging wire function.

  1. Select one or more OneCloud platform’s L2 Network in the L2 Network list, click the “Batch Action” button at the top of the list, and select the drop-down menu “Merge wire” menu item to bring up the Merge wire dialog box.
  2. Support to view the IP subnet and host information under the L2 Network, please select whether to “automatically merge consecutive subnets of network segments under the new L2 Network” according to your requirement.
  3. Click “OK” button to start merging L2 Networks, and the name of the merged L2 Network will be the name of the first selected L2 Network.

Modify Properties

This function is used to adjust the bandwidth and MTU (Maximum Transmission Unit) values of the L2 Network.

  1. On the L2 Network page, click the “Modify Properties” button on the right action bar of L2 Network to bring up the Modify Properties dialog box.
  2. Adjust the bandwidth and MTU values (range: 68 bytes ~ 9216 bytes, usually set to 1500 bytes), and click the “OK” button.

Change Domain

This function is used to change the domain to which the L2 Network belongs.

L2 Network change domain

  1. On the L2 Network page, click the “More” button on the right action bar of the L2 Network, and select the drop-down menu “Change Domain” menu item to bring up the Change Domain dialog box.
  2. Select the domain to which the L2 Network belongs and click the “OK” button.

Batch Change Domain

  1. Check one or more L2 Network in the L2 Network list, click the “Batch Operation” button at the top of the list, and select the drop-down menu “Change Domain” menu item to bring up the Change Domain dialog box.
  2. Select the domain to which the L2 Network belongs to and click the Batch Actionon.

Set up sharing

This function is used to set the sharing scope of the L2 Network.

There are three types of sharing ranges for domain resources.

  • Unshared (private): I.e. domain resources are available only to users in this domain.
  • Domain sharing-part (Multiple Domains sharing): I.e. domain resources can be shared to the specified domain (one or more), and only users under the domain where the domain resources are located and the shared domain can use the domain resources.
  • Domain Share-All (Global share): I.e. domain resources can be shared to all domains, i.e. all users in the system can use the domain resources.

L2 Network setting sharing

  1. On the L2 Network page, click the “More” button on the right column of the L2 Network, and select the drop-down menu item “Set up sharing” to bring up the Set up sharing dialog box.
  2. Configure the following parameters.
    • When the sharing scope is selected as “No Sharing”, the sharing scope of domain resources is private and only users of this domain can use it.
    • When Shared Range is selected as “Domain Shared”, you need to select the domain to be shared.
      • When the domain is selected as one or more domains, the shared scope of the domain resource is Domain Shared-Partial, and only users in the domain where the domain resource is located and under the shared domain can use the domain resource.
      • When the domain selects All, i.e. the sharing scope of the domain resource is Domain Share-All, all users in the system can use the domain resource.
  3. Click the “OK” button to complete the operation.

Batch Setting Sharing.

  1. Select one or more L2 Network in the L2 Network list, click the**_“Batch Operation”_** button at the top of the list, and select the drop-down menu **_“Set up sharing”_** menu item to bring up the Set up sharing dialog box.
  2. Configure the following parameters.Batch Action
    • When the sharing range is selected as “No Sharing”, the sharing range of domain resources is private and only users of this domain can use it.
    • When Shared Range is selected as “Domain Shared”, you need to select the domain to be shared.
      • When the domain is selected as one or more domains, the shared scope of the domain resource is Domain Shared-Partial, and only users in the domain where the domain resource is located and under the shared domain can use the domain resource.
      • When the domain selects All, i.e. the sharing scope of the domain resource is Domain Share-All, all users in the system can use the domain resource.
  3. Click the “OK” button to complete the operation.

Delete

This function is used to delete the L2 Network. It supports single or batch deletion of L2 Network, and deletion is not supported when the number of networks under L2 Network is not 0.

Delete

  1. On the L2 Network page, click the “Delete” button on the right column of the L2 Network to bring up the operation confirmation dialog.
  2. Click the “OK” button to complete the operation.

Batch Delete

  1. Select one or more L2 Network in the L2 Network list and click the “Delete” button at the top of the list to bring up the operation confirmation dialog box.
  2. Click the “OK” button to complete the operation.

View L2 Network Details

This function is used to view the L2 Network details.

  1. On the L2 Network page, click the L2 Network Name item to enter the L2 Network Details page.
  2. The menu item at the top of the details page supports the management operations for the L2 Network.
  3. View the Cloud ID, ID, name, status, domain, project, shared range, platform, bandwidth, proprietary network, IP subnet, region, zone, cloud account, created at, updated at, and notes for the L2 Network.

View IP subnets under L2 Network

This function is used to view the IP subnet information under the L2 Network.

  1. On the L2 Network details page, click the “IP Subnet” tab to enter the IP subnet page.
  2. View the IP subnet information of the specified L2 Network and support the management operation of it.

View baremetal hosts information

This function is used to view the information of the physical machines under the L2 Network.

  1. On the L2 Network details page, click the Baremetal Hosts tab to enter the Baremetal Hosts page.
  2. View the information of the baremetal hosts under the specified L2 Network, including name, enable, status, IP, specification, SN, assignment, and IPMI information.

View host information

This function is used to view the information of the hosts under the L2 Network.

  1. On the L2 Network details page, click the “Host” tab to enter the Host page.
  2. View the host information under the specified L2 Network, including name, enable, status, IP, service, #VM (number of servers), CPU, memory, storage, SN, IPMI, initial account, and type information.

View resource statistics

This function is used to view the resource statistics information under the L2 Network.

  1. On the L2 Network details page, click the Resource Statistics tab to enter the Resource Statistics page.
  2. The total number of CPU, memory, disk, private IP, used and utilization information of all hosts under the L2 Network, the number of enabled and unenabled hosts, the total number of virtual hosts and the number of virtual hosts in running, shutdown, trash, and other states, and the number of used and unused transmissions devices are shown in the form of a ring chart.

View operation log information

This function is used to view the log information of the operations related to the L2 Network.

  1. On the L2 Network details page, click the Operation Log tab to enter the Operation Log page.
    • Load More Logs: In the Operation Logs page, the list shows 20 operation logs by default. To view more operation logs, click the “Load More” button to get more logs.
    • View Log Details: Click the “View” button on the right column of the operation log to view the log details. Copy details are supported.
    • View logs of specified time period: If you want to view the operation logs of a certain time period, set the specific date in the start date and end date at the top right of the list to query the log information of the specified time period.
    • Export logs: Currently, only the logs displayed on this page are supported to be exported. Click the upper-right corner of icon, set the export data column in the pop-up export data dialog, and click the “OK” button to export the logs.