Abstract:
The present embodiments provide a method for managing a hardware resource, a method for querying a location of a hardware resource, and a related apparatus. The method for managing a hardware resource includes receiving, by a virtualized infrastructure manager (VIM), a hardware resource allocation request message sent by a VNF management entity, where the hardware resource allocation request message is used to request the VIM to allocate a hardware resource to a virtual machine that runs a VNFC, and the hardware resource allocation request message includes location information of the hardware resource that the virtual machine requests to allocate. The method also includes allocating, by the VIM, the hardware resource at a corresponding location to the virtual machine according to the location information of the hardware resource.
Abstract:
A security policy deployment method and apparatus are provided, and the method includes: when a lifecycle state of a virtualized network function VNF changes, generating, by a management network element, a security policy of the VNF, where the security policy of the VNF is used to perform access control on the VNF; and sending, by the management network element, the security policy of the VNF to a control device. The management network element is a network element configured to perform lifecycle management on the VNF. By using the method or apparatus provided in embodiments of this application, the security policy of the VNF can be adjusted in time when the lifecycle state of the VNF changes, thereby greatly reducing a possibility that a bug occurs in the security policy of the VNF because the VNF changes.
Abstract:
The present embodiments provide a method for managing a hardware resource, a method for querying a location of a hardware resource, and a related apparatus. The method for managing a hardware resource includes receiving, by a virtualized infrastructure manager (VIM), a hardware resource allocation request message sent by a VNF management entity, where the hardware resource allocation request message is used to request the VIM to allocate a hardware resource to a virtual machine that runs a VNFC, and the hardware resource allocation request message includes location information of the hardware resource that the virtual machine requests to allocate. The method also includes allocating, by the VIM, the hardware resource at a corresponding location to the virtual machine according to the location information of the hardware resource.
Abstract:
The present invention provides a flow control method and a device. The method includes: obtaining, by a gateway, a data packet of a user; determining N value-added services required by the data packet, where N is an integer greater than or equal to 1; modifying a first IP address in the data packet to an Mth IP address in an address sequence, where the first IP address is an IP address of a network server, M is a positive integer greater than or equal to 1, the address sequence is an IP address set allocated by the gateway to the user, and a correspondence exists between an address in the address sequence and a value-added service; sending a modified data packet to a value-added service server corresponding to the Mth IP address.
Abstract:
The present invention relates to a method, a system, a gateway, and a server for canceling redirection. When balances of a user are insufficient, a gateway (GW) receives a redirection policy delivered by a policy and charging rules function (PCRF) and redirects the user to a recharging page of a server; after recharging is finished, the server sends a recharging success packet to the GW, and the GW instructs the PCRF to cancel the redirection policy. In this way, after the recharging succeeds, the server directly sends the recharging success packet to the GW, and the GW can immediately instruct the PCRF to cancel the redirection policy after receiving the packet. Therefore, no delay problem of a billing system exists, thereby avoiding that the user is repeatedly redirected to the recharging page of the server during a delay time and enhancing user experience.