Skip to content

Commit 443c6c9

Browse files
committed
update ovn eip dnat snat api
Signed-off-by: bobz965 <[email protected]>
1 parent 4d4ae7e commit 443c6c9

File tree

2 files changed

+25
-9
lines changed

2 files changed

+25
-9
lines changed

docs/reference/kube-ovn-api.en.md

+13-5
Original file line numberDiff line numberDiff line change
@@ -552,16 +552,20 @@ For detailed configuration information of SwitchLBRule, you can refer to [Custom
552552
| Property Name | Type | Description |
553553
| --- | --- | --- |
554554
| externalSubnet | String | OvnEip's subnet name |
555-
| v4ip | String | OvnEip IP address |
555+
| v4Ip | String | OvnEip IPv4 address |
556+
| v6Ip | String | OvnEip IPv6 address |
556557
| macAddress | String | OvnEip Mac address |
557-
| type | String | OvnEip use type, the value can be `fip`, `snat` or `lrp` |
558+
| type | String | OvnEip use type, the value can be `lrp`, `lsp` or `nat` |
558559

559560
#### OvnEipStatus
560561

561562
| Property Name | Type | Description |
562563
| --- | --- | --- |
563564
| conditions | []OvnEipCondition | OvnEip status change information, refer to the beginning of the documentation for the definition of Condition |
564-
| v4ip | String | The IPv4 ip address used by ovnEip |
565+
| type | String | OvnEip use type, the value can be `lrp`, `lsp` or `nat` |
566+
| nat | String | dnat snat fip |
567+
| v4Ip | String | The IPv4 ip address used by ovnEip |
568+
| v6Ip | String | The IPv4 ip address used by ovnEip |
565569
| macAddress | String | Mac address used by ovnEip |
566570

567571
### OvnFip
@@ -579,7 +583,10 @@ For detailed configuration information of SwitchLBRule, you can refer to [Custom
579583
| Property Name | Type | Description |
580584
| --- | --- | --- |
581585
| ovnEip | String | Name of the bound ovnEip |
586+
| ipType | String | vip crd or ip crd ("" means ip crd) |
582587
| ipName | String | The IP crd name corresponding to the bound Pod |
588+
| vpc | String | The vpc crd name corresponding to the bound Pod |
589+
| V4Ip | String | The IPv4 ip addresss corresponding to vip or the bound Pod |
583590

584591
#### OvnFipStatus
585592

@@ -588,7 +595,6 @@ For detailed configuration information of SwitchLBRule, you can refer to [Custom
588595
| ready | Bool | OvnFip is ready or not |
589596
| v4Eip | String | Name of the ovnEip to which ovnFip is bound |
590597
| v4Ip | String | The ovnEip address currently in use |
591-
| macAddress | String | OvnFip's configured mac address |
592598
| vpc | String | The name of the vpc where ovnFip is located |
593599
| conditions | []OvnFipCondition | OvnFip status change information, refer to the beginning of the document for the definition of Condition |
594600

@@ -607,8 +613,10 @@ For detailed configuration information of SwitchLBRule, you can refer to [Custom
607613
| Property Name | Type | Description |
608614
| --- | --- | --- |
609615
| ovnEip | String | Name of the ovnEip to which ovnSnatRule is bound |
610-
| vpcSubnet | String | The name of the subnet configured by ovnSnatRule |
616+
| vpcSubnet | String | The name of the subnet of the vpc configured by ovnSnatRule |
617+
| vpc | String | The vpc crd name corresponding to the ovnSnatRule bound Pod |
611618
| ipName | String | The IP crd name corresponding to the ovnSnatRule bound Pod |
619+
| v4IpCidr | String | The IPv4 cidr of the vpc subnet |
612620

613621
#### OvnSnatRuleStatus
614622

docs/reference/kube-ovn-api.md

+12-4
Original file line numberDiff line numberDiff line change
@@ -552,16 +552,20 @@ SwitchLBRule 的详细配置信息,可以参考 [自定义 VPC 内部负载均
552552
| 属性名称 | 类型 | 描述 |
553553
| --- | --- | --- |
554554
| externalSubnet | String | OvnEip 所在的子网名称 |
555-
| v4ip | String | OvnEip IP 地址 |
555+
| v4Ip | String | OvnEip IPv4 地址 |
556+
| v6Ip | String | OvnEip IPv6 地址 |
556557
| macAddress | String | OvnEip Mac 地址 |
557-
| type | String | OvnEip 使用类型,取值有 `fip``snat` 或者 `lrp` |
558+
| type | String | OvnEip 使用类型,取值有 `lrp``lsp` 或者 `nat` |
558559

559560
#### OvnEipStatus
560561

561562
| 属性名称 | 类型 | 描述 |
562563
| --- | --- | --- |
563564
| conditions | []OvnEipCondition | 默认 Vpc OvnEip 状态变化信息,具体字段参考文档开头 Condition 定义 |
564-
| v4ip | String | OvnEip 使用的 v4 IP 地址 |
565+
| type | String | OvnEip 使用类型, 可以是 `lrp`, `lsp` or `nat` |
566+
| nat | String | dnat snat fip |
567+
| v4Ip | String | OvnEip 使用的 v4 IP 地址 |
568+
| v6Ip | String | OvnEip 使用的 v6 IP 地址 |
565569
| macAddress | String | OvnEip 使用的 Mac 地址 |
566570

567571
### OvnFip
@@ -579,7 +583,10 @@ SwitchLBRule 的详细配置信息,可以参考 [自定义 VPC 内部负载均
579583
| 属性名称 | 类型 | 描述 |
580584
| --- | --- | --- |
581585
| ovnEip | String | OvnFip 绑定的 OvnEip 名称 |
586+
| ipType | String | vip 或者 ip crd ("" 表示 ip crd) |
582587
| ipName | String | OvnFip 绑定 Pod 对应的 IP crd 名称 |
588+
| vpc | String | Pod 所在的 VPC的名字 |
589+
| V4Ip | String |IP 或者 VIP 的 IPv4 地址 |
583590

584591
#### OvnFipStatus
585592

@@ -588,7 +595,6 @@ SwitchLBRule 的详细配置信息,可以参考 [自定义 VPC 内部负载均
588595
| ready | Bool | OvnFip 是否配置完成 |
589596
| v4Eip | String | OvnFip 绑定的 OvnEip 名称 |
590597
| v4Ip | String | OvnFip 当前使用的 OvnEip 地址 |
591-
| macAddress | String | OvnFip 配置的 Mac 地址 |
592598
| vpc | String | OvnFip 所在的 Vpc 名称 |
593599
| conditions | []OvnFipCondition | OvnFip 状态变化信息,具体字段参考文档开头 Condition 定义 |
594600

@@ -608,7 +614,9 @@ SwitchLBRule 的详细配置信息,可以参考 [自定义 VPC 内部负载均
608614
| --- | --- | --- |
609615
| ovnEip | String | OvnSnatRule 绑定的 OvnEip 名称 |
610616
| vpcSubnet | String | OvnSnatRule 配置的子网名称 |
617+
| vpc | String | Pod 所在的 VPC |
611618
| ipName | String | OvnSnatRule 绑定 Pod 对应的 IP crd 名称 |
619+
| v4IpCidr | String | vpc subnet 的 IPv4 cidr |
612620

613621
#### OvnSnatRuleStatus
614622

0 commit comments

Comments
 (0)