(Optional) Creating a VS Logical Resource Template
Context
The physical system (PS) administrator can create a logical resource template to assign logical resources to VSs. A logical resource template defines multiple logical resource items and their specifications. The PS can use a logical resource template to assign multiple logical resource items to a VS at a time, allowing for flexible VS resource management.
Procedure
- Run system-view
The system view is displayed.
- Run admin
The admin view is displayed.
- Run resource-template template-name
A logical resource template is created and the logical resource template view is displayed.
A maximum of 64 logical resource templates can be created.
- Add resource items to the logical resource template and set their specifications.
Run resource { u4route | m4route | u6route | m6route | vlan | vpn-instance } upper-limit resource-limit
The specifications of the routing entry, VLAN, or VPN instance are configured.
Run resource { cpu weight weight | memory ratio-threshold memory-ratio-threshold | disk ratio-threshold disk-ratio-threshold }
The maximum CPU usage, storage space, and memory usage are set.
- Run resource mcast enable
Multicast is enabled.
- Run commit
The configuration is committed.