Skip to content

Propagate changes to virtual-private-cloud-api-ref from PreProd environment - #87

Open
otcbot[bot] wants to merge 3 commits into
mainfrom
propose-api-ref#87
Open

otcbot[bot] wants to merge 3 commits into
mainfrom
propose-api-ref#87

Conversation

@otcbot

@otcbot otcbot Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

This is an automatically created Pull Request for changes to virtual-private-cloud-api-ref to promote changes down the pipeline to Production environment.

The original change can be found under https://gitea.eco.tsi-dev.otc-service.com/docs/virtual-private-cloud/pulls/87.

There were patch conflicts, please review original patch file.

@otcbot otcbot Bot added the documentation Improvements or additions to documentation label Nov 19, 2026
@otcbot

otcbot Bot commented Nov 19, 2026

Copy link
Copy Markdown
Contributor Author

I tried my best, but could not apply the patch as is, therefore I will report you what I could not apply.

BTW, if in the diff you see removed line equal to the added line it may be caused by invisible trailing spaces. This is safe to ignore.

In most cases content of the patch remainder need to be carefully analyzed and necessary changes applied manually.

Following is the patch remainder:

diff a/umn/source/vpc_flow_log/vpc_flow_log_overview.rst b/umn/source/vpc_flow_log/vpc_flow_log_overview.rst	(rejected hunks)
@@ -5,23 +5,85 @@
 VPC Flow Log Overview
 =====================
 
-What Is a VPC Flow Log?
------------------------
+VPC Flow Log
+------------
 
-A VPC flow log records information about the traffic going to and from a VPC. VPC flow logs help you monitor network traffic, analyze network attacks, and determine whether security group and firewall rules require modification.
+VPC flow logs help you collect traffic information about instances in a specified VPC, including inbound and outbound traffic. After creating a flow log, you can view the flow log records in the log group that you configured.
 
-VPC flow logs must be used together with the Log Tank Service (LTS). Before you create a VPC flow log, you need to create a log group and a log stream in LTS. :ref:`Figure 1 <flowlog_0002__fig20742104751616>` shows the process for configuring VPC flow logs.
+Flow logs can help you:
 
-.. _flowlog_0002__fig20742104751616:
+-  Monitor the traffic of security groups and firewalls and optimize their rules.
+-  Monitor the traffic of network instances and analyze network attacks.
+-  Determine the direction of the traffic to and from network interfaces.
 
-.. figure:: /_static/images/en-us_image_0000001865583169.png
-   :alt: **Figure 1** Configuring VPC flow logs
+The collection of flow log data does not affect the throughput or latency of your network. You can create or delete flow logs as required, which does not affect your network performance.
 
-   **Figure 1** Configuring VPC flow logs
+Flow logs collect traffic information by network interface, subnet, and VPC, as shown in :ref:`Figure 1 <flowlog_0002__fig1094402916272>`. The system aggregates flow logs into flow log records within each capture window and then reports them to LTS.
+
+.. _flowlog_0002__fig1094402916272:
+
+.. figure:: /_static/images/en-us_image_0000002816004857.png
+   :alt: **Figure 1** Flow log architecture
+
+   **Figure 1** Flow log architecture
+
+.. _flowlog_0002__section2039010441903:
+
+VPC Flow Log Data
+-----------------
+
+You can create a flow log for a network interface, subnet, or VPC. If you create a flow log for a subnet or a VPC, each network interface in the subnet or VPC is monitored.
+
+The traffic of a monitored network interface is collected and flow log data is generated, including the network interface ID, source address, destination address, source port, destination port, and packet size.
+
+.. table:: **Table 1** VPC flow log field description
+
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | Field                 | Description                                                                                                                                                                                                                                                                                                                                   | Example Value                        |
+   +=======================+===============================================================================================================================================================================================================================================================================================================================================+======================================+
+   | version               | VPC flow log version.                                                                                                                                                                                                                                                                                                                         | 1                                    |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | project-id            | ID of the project that the object monitored by flow log belongs to.                                                                                                                                                                                                                                                                           | 5f67944957444bd6bb4fe3b367de8f3d     |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | interface-id          | ID of the network interface that the flow log data is generated for.                                                                                                                                                                                                                                                                          | 1d515d18-1b36-47dc-a983-bd6512aed4bd |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | srcaddr               | Source address.                                                                                                                                                                                                                                                                                                                               | 192.168.0.154                        |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | dstaddr               | Destination address.                                                                                                                                                                                                                                                                                                                          | 192.168.3.25                         |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | srcport               | Source port.                                                                                                                                                                                                                                                                                                                                  | 38929                                |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | dstport               | Destination port.                                                                                                                                                                                                                                                                                                                             | 53                                   |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | protocol              | Internet Assigned Numbers Authority (IANA) protocol number. For details, see `Assigned Internet Protocol Numbers <https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml>`__.                                                                                                                                               | 17                                   |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | packets               | The number of packets transferred during the capture window.                                                                                                                                                                                                                                                                                  | 1                                    |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | bytes                 | The number of bytes transferred during the capture window.                                                                                                                                                                                                                                                                                    | 96                                   |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | start                 | The time, in Unix seconds, of the start of the capture window.                                                                                                                                                                                                                                                                                | 1548752136                           |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | end                   | The time, in Unix seconds, of the end of the capture window.                                                                                                                                                                                                                                                                                  | 1548752736                           |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | action                | The action associated with the traffic:                                                                                                                                                                                                                                                                                                       | ACCEPT                               |
+   |                       |                                                                                                                                                                                                                                                                                                                                               |                                      |
+   |                       | -  **ACCEPT**: The recorded traffic was allowed by the security groups or firewalls.                                                                                                                                                                                                                                                          |                                      |
+   |                       | -  **REJECT**: The recorded traffic was denied by the security groups or firewalls.                                                                                                                                                                                                                                                           |                                      |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
+   | log-status            | The logging status of the VPC flow log:                                                                                                                                                                                                                                                                                                       | OK                                   |
+   |                       |                                                                                                                                                                                                                                                                                                                                               |                                      |
+   |                       | -  **OK**: Data is logged normally to the chosen destinations.                                                                                                                                                                                                                                                                                |                                      |
+   |                       | -  **NODATA**: There was no traffic to or from the network interface during the capture window.                                                                                                                                                                                                                                               |                                      |
+   |                       | -  **SKIPDATA**: Some flow log records were skipped during the capture window. This may be caused by an internal capacity constraint or an internal error.                                                                                                                                                                                    |                                      |
+   |                       |                                                                                                                                                                                                                                                                                                                                               |                                      |
+   |                       | For example:                                                                                                                                                                                                                                                                                                                                  |                                      |
+   |                       |                                                                                                                                                                                                                                                                                                                                               |                                      |
+   |                       | When **Filter** is set to **Accepted traffic**, if there is accepted traffic, the value of **log-status** is **OK**. If there is no accepted traffic, the value of **log-status** is **NODATA** regardless of whether there is rejected traffic. If some accepted traffic is abnormally skipped, the value of **log-status** is **SKIPDATA**. |                                      |
+   +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+--------------------------------------+
 
 Notes and Constraints
 ---------------------
 
 -  Currently, C3, M3, and S2 ECSs support VPC flow logs.
 -  Each account can have up to 10 VPC flow logs in a region.
--  By default, a maximum of 400,000 flow log records are supported.
+-  By default, up to 400,000 flow log records can be generated for a single network interface in a collection period (10 minutes). Excess records will be discarded.

lhajba
lhajba previously approved these changes Nov 30, 2026
@lhajba lhajba added the gate Merge PR label Nov 30, 2026
@otc-zuul-prod

otc-zuul-prod Bot commented Nov 30, 2026

Copy link
Copy Markdown

Build failed.
https://zuul.eco.tsi-dev.otc-service.com/t/eco2/buildset/f0ece1dc28eb4e32bf71e81d06fd4398

✔️ noop SUCCESS in 0s
❌ otc-tox-docs FAILURE in 4m 00s

@lhajba lhajba removed the gate Merge PR label Nov 30, 2026
lhajba
lhajba previously approved these changes Nov 30, 2026
@lhajba lhajba added the gate Merge PR label Nov 30, 2026
@otc-zuul-prod

otc-zuul-prod Bot commented Nov 30, 2026

Copy link
Copy Markdown

Build failed.
https://zuul.eco.tsi-dev.otc-service.com/t/eco2/buildset/986cc60a455d468eb19d572950596768

✔️ noop SUCCESS in 0s
❌ otc-tox-docs FAILURE in 3m 55s

@lhajba
lhajba force-pushed the propose-api-ref#87 branch from 4a805fc to 94b63ab Compare December 4, 2026 21:19
@lhajba lhajba removed the gate Merge PR label Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants