Search

CN-122001788-A - BGP service orchestration controller test method, system, medium and equipment

CN122001788ACN 122001788 ACN122001788 ACN 122001788ACN-122001788-A

Abstract

The application discloses a test method of a BGP service orchestration controller, which can be applied to various scenes such as various scenes of cloud technology, cloud test, intelligent test and the like. The method comprises the steps of transmitting a test route information table to a target network controlled by a BGP service orchestration controller based on test flow orchestration information, enabling the target network to conduct route scheduling according to the test route information table, sending target task information of a task to be tested in the orchestrated test tasks to the BGP service orchestration controller based on the test flow orchestration information, enabling the BGP service orchestration controller to execute the task to be tested according to the target task information, collecting route transmission conditions in the target network based on the test flow orchestration information after the target task information is sent, determining a test result of the BGP service orchestration controller based on the route transmission conditions, and improving test efficiency when the service orchestration controller is tested.

Inventors

  • FENG JIAXIN

Assignees

  • 腾讯科技(深圳)有限公司

Dates

Publication Date
20260508
Application Date
20241106

Claims (11)

  1. 1. A BGP service orchestration controller testing method is characterized by comprising the following steps: Transmitting a test route information table to a target network controlled by the BGP service arrangement controller based on the test flow arrangement information, so that the target network performs route scheduling according to the test route information table; Transmitting target task information of a task to be tested in the well-organized test tasks to the BGP service orchestration controller based on the test flow orchestration information, so that the BGP service orchestration controller executes the task to be tested according to the target task information; After the target task information is issued, acquiring the routing transmission condition in the target network based on the test flow arrangement information; And determining a test result of the BGP service orchestration controller based on the routing transmission condition.
  2. 2. The method according to claim 1, wherein the method further comprises: acquiring a test case created by related personnel based on a test template; And determining the test flow arrangement information when the BGP business arrangement controller is tested by using the test case, wherein the test flow arrangement information comprises a plurality of test flows for testing the BGP business arrangement controller and test data of each test flow.
  3. 3. The method of claim 2, wherein the test template is a first template or a second template, wherein the first template is a template for testing basic functions of the BGP traffic orchestration controller, and the second template is a template for testing availability of the BGP traffic orchestration controller in a network routing dynamic change scenario.
  4. 4. The method of claim 3, wherein the number of scheduled test tasks is a plurality, and wherein when the test template is the first template, the determining the test result of the BGP traffic scheduling controller based on the routing situation comprises: when the route transfer condition indicates that the task to be tested is successfully executed, determining whether all the scheduled multiple test tasks are issued, if not, taking the next task of the scheduled multiple test tasks as a new task to be tested, and returning to execute the step of issuing target task information of the scheduled test tasks to the BGP service orchestration controller based on the test flow orchestration information until all the scheduled multiple test tasks are issued, and determining the test result of the BGP service orchestration controller based on the execution result of the scheduled multiple test tasks.
  5. 5. The method of claim 3, wherein the number of scheduled test tasks is a plurality, and wherein when the test template is the second template, the determining the test result of the BGP traffic scheduling controller based on the routing situation comprises: When the route transmission condition indicates that the task to be tested is successfully executed, determining whether all the scheduled multiple test tasks are issued, if not, taking the next task of the scheduled multiple test tasks as a new task to be tested, and returning to execute the step of issuing target task information of the task to be tested in the scheduled test tasks to the BGP service orchestration controller based on the test flow orchestration information until all the scheduled multiple test tasks are issued, and transmitting update information of the test route information table to the target network based on the test flow orchestration information; Collecting new route transmission conditions in the target network based on the test flow arrangement information; and determining the test result of the BGP service programming controller based on the execution results of the programmed multiple test tasks and the new route transmission condition.
  6. 6. The method according to claim 1, wherein the method further comprises: Deleting the arranged test tasks in the BGP business arrangement controller and each test route in the target network based on the test flow arrangement information.
  7. 7. A BGP traffic orchestration controller test system, comprising: The BGP controller test service is used for transmitting a test route information table to a BGP route injection module based on test flow arrangement information, transmitting target task information of a task to be tested in the well-arranged test tasks to the BGP service arrangement controller based on the test flow arrangement information, and enabling the BGP service arrangement controller to execute the task to be tested according to the target task information; The BGP route injection module is used for injecting the test route information table into a target network controlled by the BGP service arrangement controller, so that the target network performs route scheduling according to the test route information table; And the BGP route acquisition module is used for acquiring route transmission conditions in the target network based on the test flow arrangement information after the target task information is issued, and feeding back the route transmission conditions to the BGP controller test service so that the BGP controller test service determines a test result of the BGP business arrangement controller based on the route transmission conditions.
  8. 8. A border gateway protocol BGP traffic orchestration controller test device, comprising: The transmission unit is used for transmitting a test route information table to a target network controlled by the BGP service arrangement controller based on the test flow arrangement information, so that the target network carries out route scheduling according to the test route information table; the issuing unit is used for issuing target task information of a task to be tested in the well-arranged test tasks to the BGP service arrangement controller based on the test flow arrangement information, so that the BGP service arrangement controller executes the task to be tested according to the target task information; the acquisition unit is used for acquiring the route transmission condition in the target network based on the test flow arrangement information after the target task information is issued; and the determining unit is used for determining the test result of the BGP business arrangement controller based on the route transfer condition.
  9. 9. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program adapted to be loaded by a processor for performing the steps in the method according to any of claims 1-6.
  10. 10. A computer device, characterized in that it comprises a processor and a memory, in which a computer program is stored, the processor being adapted to perform the steps of the method according to any of claims 1-6 by calling the computer program stored in the memory.
  11. 11. A computer program product comprising computer instructions which, when executed by a processor, implement the steps in the method of any of claims 1-6.

Description

BGP service orchestration controller test method, system, medium and equipment Technical Field The application relates to the technical field of testing, in particular to a BGP service orchestration controller testing method, a BGP service orchestration controller testing system, a BGP service orchestration controller testing medium and BGP service orchestration controller testing equipment. Background BGP (Border Gateway Protocol ) is a protocol for exchanging routing information between ases (Autonomous system, autonomous systems). An AS is a group of routers and networks that share the same routing policies under the control of an organization. BGP is the core routing protocol of the internet, allowing individual networks in the internet to communicate with each other. In BGP networks, routers exchange routing information with other routers using the BGP protocol in order to establish efficient paths between ases. These paths are used to transport data packets from the source network to the destination network. The orchestration of BGP network tasks typically involves the automated scheduling, coordination, and management of complex network tasks in the network, including, for example, route isolation, route whitelisting, line isolation, network plane isolation, probe task delivery, etc. Orchestration may help network administrators to more effectively manage a network, improving network performance, reliability, and security. The test system of the network test task is an important component of the network arrangement system, can ensure that all functions of the controller work according to expectations, can ensure that the network task arrangement controller can meet expected performance and function requirements in actual deployment through comprehensive testing, and can also improve the overall stability and safety of the network. In the related art, the test of the business arrangement controller is realized by manually setting the steps step by step, and the test efficiency of the business arrangement controller is lower. Disclosure of Invention The embodiment of the application provides a test method, a test system, a test medium and test equipment for a BGP service orchestration controller, which can play a role in improving test efficiency when the service orchestration controller is tested. In one aspect, a BGP business orchestration controller testing method is provided, including: Transmitting a test route information table to a target network controlled by the BGP service arrangement controller based on the test flow arrangement information, so that the target network performs route scheduling according to the test route information table; Transmitting target task information of a task to be tested in the well-organized test tasks to the BGP service orchestration controller based on the test flow orchestration information, so that the BGP service orchestration controller executes the task to be tested according to the target task information; After the target task information is issued, acquiring the routing transmission condition in the target network based on the test flow arrangement information; And determining a test result of the BGP service orchestration controller based on the routing transmission condition. In another aspect, a BGP business orchestration controller test system is provided, including: The BGP controller test service is used for transmitting a test route information table to a BGP route injection module based on test flow arrangement information, transmitting target task information of a task to be tested in the well-arranged test tasks to the BGP service arrangement controller based on the test flow arrangement information, and enabling the BGP service arrangement controller to execute the task to be tested according to the target task information; The BGP route injection module is used for injecting the test route information table into a target network controlled by the BGP service arrangement controller, so that the target network performs route scheduling according to the test route information table; And the BGP route acquisition module is used for acquiring route transmission conditions in the target network based on the test flow arrangement information after the target task information is issued, and feeding back the route transmission conditions to the BGP controller test service so that the BGP controller test service determines a test result of the BGP business arrangement controller based on the route transmission conditions. In another aspect, a border gateway protocol BGP traffic orchestration controller testing device is provided, including: The transmission unit is used for transmitting a test route information table to a target network controlled by the BGP service arrangement controller based on the test flow arrangement information, so that the target network carries out route scheduling according to the test route information table; the issuing un