US-12625718-B2 - Method for creating network service NS and related apparatus
Abstract
Embodiments of this application disclose a method for creating a network service NS and a related apparatus. The method includes: A management device sends a network service descriptor NSD query request to a network functions virtualization orchestrator NFVO, and then receives information about an NSD from the NFVO. Because the information about the NSD includes information about a network service deployment flavour, the management device may determine an instantiation parameter based on the information about the network service deployment flavour, to request the NFVO to create an NS instance, and a staff does not need to input the instantiation parameter by using the NFVO. In this way, operation complexity of deploying the NS instance by using the management device is reduced, and an error caused by manually inputting the instantiation parameter is avoided.
Inventors
- Yiwen LIN
Assignees
- HUAWEI TECHNOLOGIES CO., LTD.
Dates
- Publication Date
- 20260512
- Application Date
- 20230831
- Priority Date
- 20210304
Claims (20)
- 1 . A method for creating a network service (NS), comprising: sending, by a management device, a network service descriptor (NSD) query request to a network functions virtualization orchestrator (NFVO), wherein the NSD query request is used to request information about an NSD from the NFVO; receiving, by the management device, the information about the NSD sent by the NFVO, wherein the information about the NSD comprises information about a network service deployment flavour (NSDF) indicating a deployment flavour of a user for a network service, wherein the information about the NSDF comprises an identifier of the NSDF, an identifier of at least one virtualized network function descriptor (VNFD), and/or an identifier of at least one physical network function descriptor (PNFD), wherein the identifier of the at least one VNFD comprises an identifier of a first VNFD; obtaining, by the management device, information about a first virtualized network function (VNF) instance based on the identifier of the first VNFD; and sending, by the management device, an NS instantiation request to the NFVO based on the information about the NSDF, to request the NFVO to create an NS instance related to the NSD, wherein the NS instantiation request comprises the identifier of the NSDF, the identifier of the first VNFD, and the information about the first VNF instance.
- 2 . The method according to claim 1 , wherein the receiving the information about the NSD sent by the NFVO comprises: receiving, by the management device, an NSD information list sent by the NFVO, wherein the NSD information list comprises information about at least one NSD; and the method further comprises: selecting, by the management device, the information about the NSD from the NSD information list.
- 3 . The method according to claim 1 , wherein the information about the NSD comprises information about at least one network service deployment flavour; and the method further comprises: selecting, by the management device, the information about the NSDF from the information about the at least one network service deployment flavour.
- 4 . The method according to claim 1 , wherein the obtaining information about a first VNF instance based on the identifier of the first VNFD comprises: sending, by the management device, a VNF query request to the NFVO, wherein the VNF query request carries the identifier of the first VNFD, and is used to request information about a VNF instance from the NFVO; receiving, by the management device, an information list of the first VNF instance from the NFVO, wherein the information list of the first VNF instance comprises information about at least one VNF instance obtained by instantiating the first VNFD; and determining, by the management device, the information about the first VNF instance from the information list of the first VNF instance.
- 5 . The method according to claim 1 , wherein the identifier of the at least one VNFD comprises an identifier of a second VNFD; and the method further comprises: obtaining, by the management device, information about a virtual private cloud VPC used to deploy a second VNF instance created based on the second VNFD, wherein the NS instantiation request further comprises the identifier of the second VNFD and the information about the VPC.
- 6 . The method according to claim 5 , wherein the obtaining information about a VPC comprises: sending, by the management device, a VPC query request to the NFVO, wherein the VPC query request is used to request the information about the VPC from the NFVO; receiving, by the management device, a VPC list from the NFVO, wherein the VPC list comprises information about at least one VPC; and determining, by the management device, the information about the VPC from the VPC list.
- 7 . The method according to claim 1 , further comprising: obtaining, by the management device, information about a PNF based on the identifier of the at least one PNFD, wherein the NS instantiation request further comprises the identifier of the PNFD and the information about the PNF indicated by the identifier of the PNFD.
- 8 . The method according to claim 7 , wherein the obtaining information about the PNF based on the identifier of the at least one PNFD comprises: sending, by the management device, a PNF query request to an equipment management system (EM), wherein the PNF query request carries the identifier of the PNFD used to request the information about the PNF associated with the PNFD from the NFVO; receiving, by the management device, a PNF list from the EM, wherein the PNF list comprises information about at least one PNF associated with the PNFD; and determining, by the management device, the information about the PNF from the PNF list.
- 9 . The method according to claim 1 , wherein the management device is an operations support system (OSS) and/or a business support system (BSS) or a core network-network slice subnet management function (CN NSSMF).
- 10 . A method for creating a network service (NS), comprising: receiving, by a network functions virtualization orchestrator (NFVO), a network service descriptor (NSD) query request sent by a management device, wherein the NSD query request is used to request information about an NSD from the NFVO; sending, by the NFVO, the information about the NSD to the management device, wherein the information about the NSD comprises information about a network service deployment flavour (NSDF) indicating a deployment flavour of a user for a network service, wherein the information about the NSDF comprises an identifier of the NSDF, an identifier of at least one virtualized network function descriptor (VNFD), and/or an identifier of at least one physical network function descriptor (PNFD), wherein the identifier of the at least one VNFD comprises an identifier of a first VNFD; receiving, by the NFVO, an NS instantiation request sent by the management device based on the information about the NSDF, wherein the NS instantiation request comprises the identifier of the NSDF, the identifier of the first VNFD and information about a first virtualized network function (VNF) instance, wherein the information about the first VNF instance is obtained by the management device based on the identifier of the first VNFD; and creating, by the NFVO, an NS instance related to the NSD based on the NS instantiation request.
- 11 . The method according to claim 10 , wherein the sending the information about the NSD to the management device comprises: sending, by the NFVO, an NSD information list to the management device comprising information about at least one NSD, to enable the management device to determine the information about the NSD from the NSD information list.
- 12 . The method according to claim 10 , wherein the information about the NSD comprises information about at least one network service deployment flavour, to enable the management device to determine the information about the NSDF from the information about the at least one network service deployment flavour.
- 13 . The method according to claim 10 , wherein the identifier of the at least one VNFD comprises an identifier of a first VNFD; and the method further comprises: receiving, by the NFVO, a VNF query request sent by the management device, wherein the VNF query request carries the identifier of the first VNFD, and is used to request information about a VNF instance from the NFVO; and sending, by the NFVO, an information list of a first VNF instance to the management device, wherein the information list of the first VNF instance comprises information about at least one VNF instance obtained by instantiating the first VNFD, wherein the NS instantiation request comprises the identifier of the NSDF, the identifier of the first VNFD, and information about the first VNF instance.
- 14 . The method according to claim 10 , wherein the identifier of the at least one VNFD comprises an identifier of a second VNFD; and the method further comprises: receiving, by the NFVO, a VPC query request sent by the management device, wherein the VPC query request is used to request information about a VPC from the NFVO; and sending, by the NFVO, a VPC list to the management device, wherein the VPC list comprises information about at least one VPC, to enable the management device to determine the information about the VPC from the VPC list, and the VPC is used to deploy a second VNF instance created based on the second VNFD, wherein the NS instantiation request further comprises the identifier of the second VNFD and the information about the VPC.
- 15 . The method according to claim 10 , wherein the NS instantiation request further comprises the identifier of the PNFD and/or information about a PNF indicated by the PNFD.
- 16 . A management device, comprising: a processor, a bus, a transceiver, and a memory coupled to the memory to store instructions, which when executed by the processor, cause the processor to perform operations, the operations comprising: sending, by a management device, a network service descriptor (NSD) query request to a network functions virtualization orchestrator (NFVO), wherein the NSD query request is used to request information about an NSD from the NFVO; receiving, by the management device, the information about the NSD sent by the NFVO, wherein the information about the NSD comprises information about a network service deployment flavour (NSDF) indicating a deployment flavour of a user for a network service, wherein the information about the NSDF comprises an identifier of the NSDF, an identifier of at least one virtualized network function descriptor (VNFD), and/or an identifier of at least one physical network function descriptor (PNFD), wherein the identifier of the at least one VNFD comprises an identifier of a first VNFD; obtaining, by the management device, information about a first virtualized network function (VNF) instance based on the identifier of the first VNFD; and sending, by the management device, an NS instantiation request to the NFVO based on the information about the NSDF, to request the NFVO to create an NS instance related to the NSD, wherein the NS instantiation request comprises the identifier of the NSDF, the identifier of the first VNFD, and the information about the first VNF instance.
- 17 . The device according to claim 16 , wherein the receiving the information about the NSD sent by the NFVO comprises: receiving, by the management device, an NSD information list sent by the NFVO, wherein the NSD information list comprises information about at least one NSD; and the method further comprises: selecting, by the management device, the information about the NSD from the NSD information list.
- 18 . The management device according to claim 16 , wherein the obtaining information about a first VNF instance based on the identifier of the first VNFD comprises: sending, by the management device, a VNF query request to the NFVO, wherein the VNF query request carries the identifier of the first VNFD, and is used to request information about a VNF instance from the NFVO; receiving, by the management device, an information list of the first VNF instance from the NFVO, wherein the information list of the first VNF instance comprises information about at least one VNF instance obtained by instantiating the first VNFD; and determining, by the management device, the information about the first VNF instance from the information list of the first VNF instance.
- 19 . The management device according to claim 16 , wherein the identifier of the at least one VNFD comprises an identifier of a second VNFD; and the method further comprises: obtaining, by the management device, information about a virtual private cloud VPC used to deploy a second VNF instance created based on the second VNFD, wherein the NS instantiation request further comprises the identifier of the second VNFD and the information about the VPC.
- 20 . The management device according to claim 19 , wherein the obtaining information about a VPC comprises: sending, by the management device, a VPC query request to the NFVO, wherein the VPC query request is used to request the information about the VPC from the NFVO; receiving, by the management device, a VPC list from the NFVO, wherein the VPC list comprises information about at least one VPC; and determining, by the management device, the information about the VPC from the VPC list.
Description
CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of International Patent Application No. PCT/CN2021/133873 filed on Nov. 29, 2021, which claims priority to Chinese Patent Application No. 202110239645.0, filed on Mar. 4, 2021. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties. TECHNICAL FIELD This application relates to the field of network function virtualization, and in particular, to a method for creating a network service (NS) and a related apparatus. BACKGROUND In a network function virtualization (NFV) technology, a virtualization technology is used to virtualize a function of a dedicated device in a conventional network into an independent application, and flexibly deploy the application on a unified infrastructure platform constructed based on other standard devices such as computing hardware, storage hardware, and network hardware. A function implemented by using the NFV technology is referred to as a network service (NS). In the conventional technology, to deploy an NS in an NFV system, an operations support system (OSS) and/or a business support system (BSS) need/needs to upload information about a network service descriptor (NSD) to a network functions virtualization orchestrator (NFVO), to enable the NFVO to deploy the NS based on the information about the NSD. However, in the conventional technology, when the NS is deployed through operating on the OSS/BSS, a staff needs to input an instantiation parameter by using the NFVO. Consequently, an operation of deploying the NS by using the OSS/BSS is complex, and an error is easily caused by manually inputting the instantiation parameter. SUMMARY Embodiments of this application provide a method for creating a network service NS and a related apparatus, to query information about an NSD from an NFVO, and request, by using information about a network service deployment flavour in the information about the NSD, the NFVO to create an NS instance. According to a first aspect, a method for creating a network service NS is provided, and the method may be applied to a management device. In the method, the management device sends a network service descriptor NSD query request to a network functions virtualization orchestrator NFVO, and then receives information about an NSD from the NFVO. Because the information about the NSD includes information about a network service deployment flavour, the management device may determine an instantiation parameter based on the information about the network service deployment flavour, to request the NFVO to create an NS instance, and a staff does not need to input the instantiation parameter by using the NFVO. In this way, operation complexity of deploying the NS instance by using the management device is reduced, and an error caused by manually inputting the instantiation parameter is avoided. In an embodiment, the management device receives an NSD information list sent by the NFVO, and the NSD information list includes information about at least one NSD. In this way, the management device may select the information about the NSD from information about at least one NSD in the NSD information list based on an actual requirement. For example, if an NS needed by an OSS/BSS is a next generation mobile core network (EPC) service, the OSS/BSS may search the NSD information list for information about an NSD named related to the EPC service (for example, EPC or the next generation mobile core network service), and then select the information about the NSD. In an embodiment, the information about the NSD includes information about at least one network service deployment flavour. In this way, the management device may select the information about the network service deployment flavour from the information about the at least one network service deployment flavour based on a requirement of a to-be-deployed NS instance. For example, if a main function of the to-be-deployed NS instance is to store data, and information about a network service deployment flavour may implement the data storage function, the OSS/BSS may select the information about the network service deployment flavour. In an embodiment, the information about the network service deployment flavour includes an identifier of the network service deployment flavour NSDF, an identifier of at least one virtualized network function descriptor VNFD, and/or an identifier of at least one physical network function descriptor PNFD. In this way, the management device may obtain, based on the identifier of the NSDF, the identifier of the at least one VNFD, and/or the identifier of the at least one PNFD, the instantiation parameter for deploying the NS instance. In an embodiment, the identifier of the at least one VNFD includes an identifier of a first VNFD. In this way, the management device may obtain information about a first virtualized network function VNF instance based on the identifier of the fi