CN116886550A - In-band network telemetry arrangement method and device in micro-service scene - Google Patents
In-band network telemetry arrangement method and device in micro-service scene Download PDFInfo
- Publication number
- CN116886550A CN116886550A CN202310929074.2A CN202310929074A CN116886550A CN 116886550 A CN116886550 A CN 116886550A CN 202310929074 A CN202310929074 A CN 202310929074A CN 116886550 A CN116886550 A CN 116886550A
- Authority
- CN
- China
- Prior art keywords
- data packet
- telemetry
- telemetry data
- switching node
- programmable switching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000012545 processing Methods 0.000 claims abstract description 22
- 238000012216 screening Methods 0.000 claims abstract description 16
- 238000005259 measurement Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000004458 analytical method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000630 rising effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/14—Arrangements for monitoring or testing data switching networks using software, i.e. software packages
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application relates to an in-band network telemetry arrangement method and device in a micro-service scene, wherein the method comprises the following steps: receiving a telemetry data packet constructed by a network telemetry orchestration node, and forwarding the telemetry data packet to a next programmable switching node of the current programmable switching node; screening out qualified first telemetry data packets; determining according to the relation between a first equipment identification number in the equipment identification number list in the first telemetry data packet and the equipment identification number of the current programmable switching node, transmitting the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired to obtain a second telemetry data packet, or forwarding the first telemetry data packet to a network telemetry arrangement node for data processing; and forwarding the second telemetry data packet to the network telemetry orchestration node for data processing. The application can construct in-band network telemetry strategy aiming at the service call chain full link at one time.
Description
Technical Field
The application relates to the technical field of communication, in particular to an in-band network telemetry arrangement method and device in a micro-service scene.
Background
In the application scenario of the current cloud technology, deployment modes such as micro-service, containerization and the like are widely applied. The cloud computing, the micro-service and other novel services depending on high-performance network infrastructure continuously increase the demands on network delay, available bandwidth or network availability and the like, thereby providing higher requirements on the performance of a network measurement scheme.
In recent years, new devices such as programmable switches and intelligent network cards are rising and developing, the network programmability is greatly improved, and the improvements greatly expand the design space of network measurement schemes. In-band network telemetry brings new directions to network measurement technology by virtue of the characteristics of real-time performance, accuracy, no need of control plane participation and the like. In-band network monitoring completes network state acquisition by sequentially inserting metadata (measurement metadata) into data packets through a path intermediate switching node, and in-band measurement can realize finer granularity measurement on network topology, network performance and network traffic compared with a traditional network measurement scheme. In a specific application scenario, specific network traffic often needs to be collected to monitor abnormal traffic that may occur, and fault location, fault elimination, etc. may be performed based on the monitored traffic. Meanwhile, for the enterprise user specific service analysis scene, the traffic with service related attributes of the designated network access port needs to be collected.
In the micro-service scenario, when the number of service calls in the service call chain is greater than 2, the existing in-band network telemetry method can only detect the service call relationships in the service call chain one by one, and cannot detect the whole service call chain at one time.
Disclosure of Invention
In view of this, it is necessary to provide an in-band network telemetry arrangement method and device in a micro-service scenario, so as to achieve the purpose of one-time complete construction of an in-band network telemetry policy for a full link of a service call chain.
In order to achieve the above object, the present application provides an in-band network telemetry orchestration method under a micro-service scenario, including:
receiving a telemetry data packet constructed by a network telemetry arrangement node, and forwarding the telemetry data packet to a next programmable switching node of a current programmable switching node, wherein the telemetry data packet is obtained by writing IP information of a current micro service and equipment identification information of the current programmable switching node into a custom telemetry data packet constructed by the network telemetry arrangement node;
screening out the telemetry data packets meeting the first preset condition to obtain first telemetry data packets;
determining according to the relation between a first equipment identification number in the equipment identification number list in the first telemetry data packet and the equipment identification number of the current programmable switching node, transmitting the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired to obtain a second telemetry data packet, or forwarding the first telemetry data packet to a network telemetry arrangement node for data processing;
and forwarding the second telemetry data packet to a network telemetry orchestration node for data processing.
In some possible implementations, the telemetry data packet includes: IP header information, number of device identification numbers, service instance IP list, device identification number list, in-band network telemetry data, and payload information.
In some possible implementations, the screening the telemetry data packet that meets the first preset condition to obtain a first telemetry data packet includes:
screening a second telemetry data packet with an IP protocol number being a preset protocol number from the telemetry data packet;
updating in-band telemetry data in the second telemetry data packet to obtain a first telemetry data packet.
In some possible implementations, the determining, according to the relationship between the first equipment identifier in the equipment identifier list in the first telemetry data packet and the equipment identifier of the current programmable switching node, sends the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired to obtain a second telemetry data packet includes:
and when the first equipment identification number in the equipment identification number list in the first telemetry data packet is determined to be unequal to the equipment identification number of the current programmable switching node, transmitting the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired, and obtaining a second telemetry data packet.
In some possible implementations, the determining, according to the relationship between the first equipment identifier in the equipment identifier list in the first telemetry data packet and the equipment identifier of the current programmable switching node, sends the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired to obtain a second telemetry data packet includes:
when the first equipment identification number in the equipment identification number list in the first telemetry data packet is determined to be equal to the current programmable switching node equipment identification number, and when the number of the equipment identification numbers in the equipment identification number list in the first telemetry data packet is greater than 1, taking a second IP in the service instance IP list in the first telemetry data packet as a target IP in the IP header information in the first telemetry data packet;
deleting a second IP in a service instance IP list in the first telemetry data packet and a first equipment identification number in an equipment identification number list, and subtracting 1 from the number of the equipment identification numbers in the first telemetry data packet;
and sending the first telemetry data packet to the next hop of the current programmable switching node until all the micro services and all the information of the programmable switching node are acquired to obtain a second telemetry data packet.
In some possible implementations, the determining according to the relation between the first device identifier in the list of device identifiers in the first telemetry data packet and the device identifier of the current programmable switching node forwards the first telemetry data packet to a network telemetry orchestration node for data processing includes:
when the first equipment identification number in the equipment identification number list in the first telemetry data packet is determined to be equal to the equipment identification number of the current programmable switching node, and the number of the equipment identification numbers in the equipment identification number list in the first telemetry data packet is not more than 1, forwarding the first telemetry data packet to a network telemetry orchestration node for data processing.
In some possible implementations, the programmable switching node is a switch.
On the other hand, the application also provides an in-band network telemetry arrangement device in a micro-service scene, which comprises:
the data receiving module is used for receiving a self-defined telemetry data packet constructed by the network telemetry orchestration node and forwarding the self-defined telemetry data packet to the next programmable switching node of the current programmable switching node, wherein the self-defined telemetry data packet is obtained by writing IP information of the current micro service and equipment identification information of the current programmable switching node into the self-defined telemetry data packet constructed by the network telemetry orchestration node;
the first data judging module is used for screening out the self-defined telemetry data packets meeting the first preset conditions to obtain first telemetry data packets;
the second data judging module is used for determining according to the relation between a first equipment identification number in the equipment identification number list in the first telemetry data packet and the equipment identification number of the current programmable switching node, sending the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired to obtain a second telemetry data packet, or forwarding the first telemetry data packet to a network telemetry arrangement node for data processing;
and the data forwarding module is used for forwarding the second telemetry data packet to a network telemetry arrangement node for data processing.
The beneficial effects of adopting the embodiment are as follows: the application provides an in-band network telemetry arrangement method under a micro-service scene, which is characterized by receiving a telemetry data packet constructed by a network telemetry arrangement node, forwarding the telemetry data packet to a next programmable switching node of a current programmable switching node, screening the telemetry data packet to obtain a first telemetry data packet, determining to directly forward the first telemetry data packet to the network telemetry arrangement node according to the relation between a first equipment identification number in a equipment identification number list in the first telemetry data packet and the equipment identification number of the current programmable switching node, or continuing to forward the first telemetry data packet to the next hop until the information of all micro-services and all programmable switching nodes is acquired to obtain a second telemetry data packet, and forwarding the second telemetry data packet to the network telemetry arrangement node. The application writes the self-defined telemetry data packet through the hierarchical service chain IP information and the programmable switching node equipment identification information, thereby detecting the whole service call chain at one time.
Drawings
FIG. 1 is a flow chart of a method for in-band network telemetry orchestration in a micro-service scenario according to the present application;
FIG. 2 is a schematic diagram of a service grid management node and a programmable switching node call of an in-band network telemetry orchestration method under a micro-service scenario provided by the present application;
FIG. 3 is a schematic diagram of a customized telemetry packet processing flow of an in-band network telemetry arrangement method in a micro-service scenario according to the present application;
fig. 4 is a schematic structural diagram of an in-band network telemetry arrangement device in a micro-service scenario according to an embodiment of the present application.
Detailed Description
The following detailed description of preferred embodiments of the application is made in connection with the accompanying drawings, which form a part hereof, and together with the description of the embodiments of the application, are used to explain the principles of the application and are not intended to limit the scope of the application.
Fig. 1 is a flow chart of an embodiment of an in-band network telemetry arrangement method in a micro-service scenario, as shown in fig. 1, comprising:
s101, receiving a telemetry data packet constructed by a network telemetry arrangement node, and forwarding the telemetry data packet to a next programmable switching node of a current programmable switching node, wherein the telemetry data packet is obtained by writing IP information of a current micro service and equipment identification information of the current programmable switching node into a custom telemetry data packet constructed by the network telemetry arrangement node;
s102, screening out telemetry data packets meeting first preset conditions to obtain first telemetry data packets;
s103, determining according to the relation between a first equipment identification number in the equipment identification number list in the first telemetry data packet and the equipment identification number of the current programmable switching node, transmitting the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired to obtain a second telemetry data packet, or forwarding the first telemetry data packet to a network telemetry arrangement node for data processing;
s104, forwarding the second telemetry data packet to a network telemetry orchestration node for data processing.
Compared with the prior art, the in-band network telemetry arrangement method in the micro-service scene,
and receiving a telemetry data packet constructed by the network telemetry orchestration node, forwarding the telemetry data packet to the next programmable switching node of the current programmable switching node, screening the telemetry data packet to obtain a first telemetry data packet, determining to directly forward the first telemetry data packet to the network telemetry orchestration node according to the relation between a first equipment identification number in a list of equipment identification numbers in the first telemetry data packet and the equipment identification number of the current programmable switching node, or forwarding the first telemetry data packet to the next hop until the information of all micro services and all the programmable switching nodes is acquired to obtain a second telemetry data packet, and forwarding the second telemetry data packet to the network telemetry orchestration node. The application writes the self-defined telemetry data packet through the hierarchical service chain IP information and the programmable switching node equipment identification information, thereby detecting the whole service call chain at one time.
It should be noted that, the execution body of the present embodiment is a programmable switching node.
It should be noted that, the service grid management node is a programmable switching device with in-band network telemetry capability in the data plane, and in this embodiment, the service grid management node is a micro service management device on the micro service. The programmable switching node is a programmable switching device with in-band network telemetry capability in the data plane, and in this embodiment, the programmable switching node is a switch, specifically, may be a P4 switch. The network telemetry orchestration node refers to a device in the control plane that takes care of in-band network telemetry mission planning and analysis of data plane feedback data, and in this embodiment is a server.
In some embodiments of the application, the telemetry data packet comprises: IP header information, number of device identification numbers, service instance IP list, device identification number list, in-band network telemetry data, and payload information. Wherein the number of IPs in the service instance IP list is the same as the number of device identifiers in the device identifier list.
In a specific embodiment of the present application, taking 3 service instances, i.e. service grid management nodes SvcA, svcB, svcC,5 programmable switching nodes SW1, SW2, SW3, SW4, SW5 as an example, svcA is directly connected to SW1, svcB is directly connected to SW3, svcC is directly connected to SW5, SW2 is connected to SW1, SW3, SW4 is connected to SW3, SW5, as shown in fig. 2, which is a schematic diagram of a call between a service grid management node and a programmable switching node in an in-band network telemetry arrangement method in a micro service scenario provided by the present application, and as shown in fig. 2, when there is a call chain SvcA- > SvcB- > SvcC, the service instance IP list is the IP of SvcA, the IP of SvcB, the IP of SvcC, and the programmable switching node device identifier list connected to the service instance is the SWID of SW1, SWID of SW 3. In-band network telemetry data in the custom telemetry data packet adopts a method consistent with the existing in-band network telemetry, when in-band network telemetry source end, the in-band network telemetry is initialized, metadata of switching nodes are added, and metadata of the switching nodes are added every time a programmable switching node passes.
In some embodiments of the present application, the screening the telemetry data packet satisfying the first preset condition to obtain a first telemetry data packet includes:
screening a second telemetry data packet with an IP protocol number being a preset protocol number from the telemetry data packet;
updating in-band telemetry data in the second telemetry data packet to obtain a first telemetry data packet.
In some embodiments of the present application, the determining, according to the relationship between the first equipment identifier in the equipment identifier list in the first telemetry data packet and the equipment identifier of the current programmable switching node, sends the first telemetry data packet to the next hop of the current programmable switching node until all the micro services and all the information of the programmable switching node are acquired to obtain the second telemetry data packet includes:
and when the first equipment identification number in the equipment identification number list in the first telemetry data packet is determined to be unequal to the equipment identification number of the current programmable switching node, transmitting the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired, and obtaining a second telemetry data packet.
In some embodiments of the present application, the determining, according to the relationship between the first equipment identifier in the equipment identifier list in the first telemetry data packet and the equipment identifier of the current programmable switching node, sends the first telemetry data packet to the next hop of the current programmable switching node until all the micro services and all the information of the programmable switching node are acquired to obtain the second telemetry data packet includes:
when the first equipment identification number in the equipment identification number list in the first telemetry data packet is determined to be equal to the current programmable switching node equipment identification number, and when the number of the equipment identification numbers in the equipment identification number list in the first telemetry data packet is greater than 1, taking a second IP in the service instance IP list in the first telemetry data packet as a target IP in the IP header information in the first telemetry data packet;
deleting a second IP in a service instance IP list in the first telemetry data packet and a first equipment identification number in an equipment identification number list, and subtracting 1 from the number of the equipment identification numbers in the first telemetry data packet;
and sending the first telemetry data packet to the next hop of the current programmable switching node until all the micro services and all the information of the programmable switching node are acquired to obtain a second telemetry data packet.
In some embodiments of the present application, the determining according to the relationship between the first device identifier in the list of device identifiers in the first telemetry data packet and the device identifier of the current programmable switching node forwards the first telemetry data packet to the network telemetry orchestration node for data processing, including:
when the first equipment identification number in the equipment identification number list in the first telemetry data packet is determined to be equal to the equipment identification number of the current programmable switching node, and the number of the equipment identification numbers in the equipment identification number list in the first telemetry data packet is not more than 1, forwarding the first telemetry data packet to a network telemetry orchestration node for data processing.
In some embodiments of the application, the programmable switching node is a switch.
In a specific embodiment of the present application, fig. 3 is a schematic diagram of a customized telemetry packet processing flow of an in-band network telemetry scheduling method under a micro-service scenario provided by the present application:
the first step: identifying a self-defined telemetry data packet with the IP protocol number of 200, initializing in-band network telemetry information, and adding metadata of a switching node to obtain a first telemetry data packet;
and a second step of: the first telemetry packet is further processed in three ways:
case 1: when the equipment identification number list in the first telemetry data packet, namely the first SWID in the SWID list, is equal to the local SWID and the equipment identification number is greater than 1, filling the second IP in the service instance IP list into the destination IP of the first telemetry data packet, deleting the second IP in the service instance IP list, deleting the first SWID in the SWID list, subtracting one from the equipment identification number, and forwarding according to a routing table/switching table.
Case 2: when the first SWID in the SWID list in the first telemetry packet is not equal to the local SWID, forwarding is performed according to the routing table/switching table.
Case 3: when the first SWID in the SWID list in the first telemetry packet is equal to the local SWID and the device identification number is equal to 1, then in-band network telemetry information is aggregated and reported to the network telemetry orchestration node.
As shown in fig. 4, the embodiment of the present application further provides an in-band network telemetry arrangement device in a micro service scenario, and an in-band network telemetry arrangement device 400 in the micro service scenario includes:
a data receiving module 401, configured to receive a custom telemetry packet constructed by a network telemetry orchestration node, and forward the custom telemetry packet to a next programmable switching node of a current programmable switching node, where the custom telemetry packet is obtained by writing, by the network telemetry orchestration node, IP information of a current micro service and device identification information of the current programmable switching node into the custom telemetry packet constructed by the network telemetry orchestration node;
a first data judging module 402, configured to screen out the custom telemetry data packet satisfying the first preset condition to obtain a first telemetry data packet;
a second data judging module 403, configured to determine, according to a relationship between a first equipment identifier in the equipment identifier list in the first telemetry data packet and a current programmable switching node equipment identifier, send the first telemetry data packet to a next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired to obtain a second telemetry data packet, or forward the first telemetry data packet to a network telemetry orchestration node for data processing;
and the data forwarding module 404 is configured to forward the second telemetry data packet to a network telemetry orchestration node for data processing.
Those skilled in the art will appreciate that all or part of the flow of the methods of the embodiments described above may be accomplished by way of a computer program to instruct associated hardware, where the program may be stored on a computer readable storage medium. Wherein the computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory, etc.
The present application is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present application are intended to be included in the scope of the present application.
Claims (10)
1. An in-band network telemetry orchestration method under a micro-service scene, comprising:
receiving a telemetry data packet constructed by a network telemetry arrangement node, and forwarding the telemetry data packet to a next programmable switching node of a current programmable switching node, wherein the telemetry data packet is obtained by writing IP information of a current micro service and equipment identification information of the current programmable switching node into a custom telemetry data packet constructed by the network telemetry arrangement node;
screening out the telemetry data packets meeting the first preset condition to obtain first telemetry data packets;
determining according to the relation between a first equipment identification number in the equipment identification number list in the first telemetry data packet and the equipment identification number of the current programmable switching node, transmitting the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired to obtain a second telemetry data packet, or forwarding the first telemetry data packet to a network telemetry arrangement node for data processing;
and forwarding the second telemetry data packet to a network telemetry orchestration node for data processing.
2. The in-band network telemetry orchestration method in a micro-service scenario of claim 1, wherein the telemetry data packet comprises: IP header information, number of device identification numbers, service instance IP list, device identification number list, in-band network telemetry data, and payload information.
3. The method for in-band network telemetry orchestration under a micro-service scenario according to claim 2, wherein screening out telemetry packets satisfying a first preset condition to obtain first telemetry packets comprises:
screening a second telemetry data packet with an IP protocol number being a preset protocol number from the telemetry data packet;
updating in-band telemetry data in the second telemetry data packet to obtain a first telemetry data packet.
4. The method for in-band network telemetry orchestration in a micro-service scenario according to claim 1, wherein determining, according to a relationship between a first device identification number in a list of device identification numbers in the first telemetry data packet and a current programmable switching node device identification number, sending the first telemetry data packet to a next hop of the current programmable switching node until all micro-services and all programmable switching node information are acquired to obtain a second telemetry data packet, includes:
and when the first equipment identification number in the equipment identification number list in the first telemetry data packet is determined to be unequal to the equipment identification number of the current programmable switching node, transmitting the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired, and obtaining a second telemetry data packet.
5. The method for in-band network telemetry orchestration in a micro-service scenario according to claim 1, wherein determining, according to a relationship between a first device identification number in a list of device identification numbers in the first telemetry data packet and a current programmable switching node device identification number, sending the first telemetry data packet to a next hop of the current programmable switching node until all micro-services and all programmable switching node information are acquired to obtain a second telemetry data packet, includes:
when the first equipment identification number in the equipment identification number list in the first telemetry data packet is determined to be equal to the current programmable switching node equipment identification number, and when the number of the equipment identification numbers in the equipment identification number list in the first telemetry data packet is greater than 1, taking a second IP in the service instance IP list in the first telemetry data packet as a target IP in the IP header information in the first telemetry data packet;
deleting a second IP in a service instance IP list in the first telemetry data packet and a first equipment identification number in an equipment identification number list, and subtracting 1 from the number of the equipment identification numbers in the first telemetry data packet;
and sending the first telemetry data packet to the next hop of the current programmable switching node until all the micro services and all the information of the programmable switching node are acquired to obtain a second telemetry data packet.
6. The method for in-band network telemetry orchestration in a micro-service scenario according to claim 1, wherein the determining according to the relationship between the first device identification number in the list of device identification numbers in the first telemetry data packet and the current programmable switching node device identification number, forwarding the first telemetry data packet to a network telemetry orchestration node for data processing, includes:
when the first equipment identification number in the equipment identification number list in the first telemetry data packet is determined to be equal to the equipment identification number of the current programmable switching node, and the number of the equipment identification numbers in the equipment identification number list in the first telemetry data packet is not more than 1, forwarding the first telemetry data packet to a network telemetry orchestration node for data processing.
7. The method of in-band network telemetry orchestration in a micro-service scenario of claim 1, wherein the programmable switching node is a switch.
8. An in-band network telemetry orchestration device for a microservice scenario, comprising:
the data receiving module is used for receiving a self-defined telemetry data packet constructed by the network telemetry orchestration node and forwarding the self-defined telemetry data packet to the next programmable switching node of the current programmable switching node, wherein the self-defined telemetry data packet is obtained by writing IP information of the current micro service and equipment identification information of the current programmable switching node into the self-defined telemetry data packet constructed by the network telemetry orchestration node;
the first data judging module is used for screening out the self-defined telemetry data packets meeting the first preset conditions to obtain first telemetry data packets;
the second data judging module is used for determining according to the relation between a first equipment identification number in the equipment identification number list in the first telemetry data packet and the equipment identification number of the current programmable switching node, sending the first telemetry data packet to the next hop of the current programmable switching node until all micro services and all information of the programmable switching node are acquired to obtain a second telemetry data packet, or forwarding the first telemetry data packet to a network telemetry arrangement node for data processing;
and the data forwarding module is used for forwarding the second telemetry data packet to a network telemetry arrangement node for data processing.
9. The in-band network telemetry orchestration device in a micro-service scenario of claim 8, wherein the telemetry data packet comprises: IP header information, number of device identification numbers, service instance IP list, device identification number list, in-band network telemetry data, and payload information.
10. The in-band network telemetry orchestration device according to claim 9, wherein the screening out telemetry packets meeting a first predetermined condition to obtain first telemetry packets comprises:
screening a second telemetry data packet with an IP protocol number being a preset protocol number from the telemetry data packet;
updating in-band telemetry data in the second telemetry data packet to obtain a first telemetry data packet.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310929074.2A CN116886550A (en) | 2023-07-26 | 2023-07-26 | In-band network telemetry arrangement method and device in micro-service scene |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310929074.2A CN116886550A (en) | 2023-07-26 | 2023-07-26 | In-band network telemetry arrangement method and device in micro-service scene |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116886550A true CN116886550A (en) | 2023-10-13 |
Family
ID=88262874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310929074.2A Pending CN116886550A (en) | 2023-07-26 | 2023-07-26 | In-band network telemetry arrangement method and device in micro-service scene |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116886550A (en) |
-
2023
- 2023-07-26 CN CN202310929074.2A patent/CN116886550A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9288162B2 (en) | Adaptive infrastructure for distributed virtual switch | |
US10412625B1 (en) | Systems and methods for tracking and calculating network usage in a network with multiple user plane functions | |
US9577906B2 (en) | Scalable performance monitoring using dynamic flow sampling | |
US10243862B2 (en) | Systems and methods for sampling packets in a network flow | |
US6930984B1 (en) | Network-device control system and apparatus | |
US8224626B2 (en) | Quality degradation point estimating system and quality degradation point estimating method | |
CN112039796B (en) | Data packet transmission method and device, storage medium and electronic equipment | |
US20190182104A1 (en) | Method and device for processing communication path | |
US11336545B2 (en) | Network device measurements employing white boxes | |
JP2014168283A (en) | Communication system, network monitoring device, and network monitoring method | |
CN115348637A (en) | Network topology structure optimization method and device, storage medium and electronic equipment | |
CN118018472A (en) | Data transmission processing method and device, storage medium and electronic device | |
US9356876B1 (en) | System and method for classifying and managing applications over compressed or encrypted traffic | |
US20150026333A1 (en) | Network system, network management apparatus and application management apparatus | |
CN110784339A (en) | LACP message overtime fault detection method and device, and electronic equipment | |
EP4285231A1 (en) | System and method for network and computation performance probing for edge computing | |
CN110784375B (en) | Network data monitoring method and device, electronic equipment and storage medium | |
EP3270542B1 (en) | Management apparatus, network management method, and storage medium storing program | |
CN116886550A (en) | In-band network telemetry arrangement method and device in micro-service scene | |
CN115277504A (en) | Network traffic monitoring method, device and system | |
CN102986196B (en) | The node being distributed on communication structure accesses network using the topology server selected with multiple criteria | |
WO2018177003A1 (en) | Charging method, and related device and system | |
CN113949651A (en) | Network transmission method, device, equipment, storage medium and program product | |
CN114827055B (en) | Data mirroring method and device, electronic equipment and switch cluster | |
KR101724922B1 (en) | Apparatus and Method for controlling middleboxs |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |