Skip to content

Commit 57683be

Browse files
committed
Get rid of the references to PodVPPSubnetCIDR in docs & comments
Signed-off-by: Rastislav Szabo <[email protected]>
1 parent 4b246db commit 57683be

File tree

9 files changed

+3
-14
lines changed

9 files changed

+3
-14
lines changed

docs/NETWORKING.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ has a `/24` slice of the `PodSubnetCIDR`. The Node ID is used to address the nod
3333
In case of `PodSubnetCIDR = 10.1.0.0/16`, `PodSubnetOneNodePrefixLen = 24` and `NodeID = 5`,
3434
the resulting POD subnet for the node would be `10.1.5.0/24`.
3535

36-
- **PodVPPSubnetCIDR** (default `10.2.1.0/24`): VPP-internal addresses used to put
37-
the VPP interfaces facing towards the PODs into L3 mode. This IP range will be reused
38-
on each node, thereby it is never externally addressable outside of the node itself.
39-
The only requirement is that this subnet should not collide with any other IPAM subnet.
40-
4136
- **VPPHostSubnetCIDR** (default `172.30.0.0/16`): used for addressing
4237
the interconnect of the VPP with the Linux network stack within the same node.
4338
Since this subnet needs to be unique on each node, the Node ID is used to determine

docs/arm64/MANUAL_INSTALL_CAVIUM.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ are a special case; they share their respective interfaces and IP addresses with
209209
the host. For proxying to work properly it is therefore required for services
210210
with backends running on the host to also **include the node management IP**
211211
within the `--pod-network-cidr` subnet. For example, with the default
212-
`PodSubnetCIDR=10.1.0.0/16` and `PodVPPSubnetCIDR=10.2.1.0/24`, the subnet
212+
`PodSubnetCIDR=10.1.0.0/16`, the subnet
213213
`10.3.0.0/16` could be allocated for the management network and
214214
`--pod-network-cidr` could be defined as `10.0.0.0/8`, so as to include IP
215215
addresses of all pods in all network namespaces:

docs/debugging/BUG_REPORTS.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ or the [corresponding part](https://github.com/contiv/vpp/blob/42b3bfbe873550866
3030
IPAMConfig:
3131
PodSubnetCIDR: 10.1.0.0/16
3232
PodSubnetOneNodePrefixLen: 24
33-
PodVPPSubnetCIDR: 10.2.1.0/24
3433
VPPHostSubnetCIDR: 172.30.0.0/16
3534
VPPHostSubnetOneNodePrefixLen: 24
3635
NodeInterconnectCIDR: 192.168.16.0/24

docs/setup/MANUAL_INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ are a special case; they share their respective interfaces and IP addresses with
138138
the host. For proxying to work properly it is therefore required for services
139139
with backends running on the host to also **include the node management IP**
140140
within the `--pod-network-cidr` subnet. For example, with the default
141-
`PodSubnetCIDR=10.1.0.0/16` and `PodVPPSubnetCIDR=10.2.1.0/24`, the subnet
141+
`PodSubnetCIDR=10.1.0.0/16`, the subnet
142142
`10.3.0.0/16` could be allocated for the management network and
143143
`--pod-network-cidr` could be defined as `10.0.0.0/8`, so as to include IP
144144
addresses of all pods in all network namespaces:

k8s/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ manually or using the [helm options](contiv-vpp/README.md#configuration):
6767

6868
* IPAM (section `ipamConfig`)
6969
- `podSubnetCIDR`: subnet used for all pods across all nodes
70-
- `podVPPSubnetCIDR`: subnet CIDR for VPP-side POD addresses
7170
- `podSubnetOneNodePrefixLen`: subnet prefix length used for all pods of 1 k8s node
7271
(pod network = pod subnet for one k8s node);
7372
- `vppHostSubnetCIDR`: subnet used in each node for VPP-to-host connectivity;

k8s/contiv-vpp/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ Parameter | Description | Default
7979
`contiv.disableNATVirtualReassembly` | Disable NAT virtual reassembly (drop fragmented packets) | `False`
8080
`contiv.ipamConfig.podSubnetCIDR` | Pod subnet CIDR | `10.1.0.0/16`
8181
`contiv.ipamConfig.podSubnetOneNodePrefixLen` | Pod network prefix length | `24`
82-
`contiv.ipamConfig.podVPPSubnetCIDR` | Subnet CIDR for VPP-side POD addresses | `10.2.1.0/24`
8382
`contiv.ipamConfig.vppHostSubnetCIDR` | VPP host subnet CIDR | `172.30.0.0/16`
8483
`contiv.ipamConfig.vppHostSubnetOneNodePrefixLen` | VPP host network prefix length | `24`
8584
`contiv.ipamConfig.vxlanCIDR` | VXLAN CIDR | `192.168.30.0/24`

plugins/crd/validator/l2/l2_validator.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -654,8 +654,6 @@ func (v *Validator) ValidatePodInfo() {
654654
continue
655655
}
656656

657-
// Get Contiv's view of the VPP's pod-facing tap interface subnet CIDR
658-
// on this node (PodVPPSubnetCIDR)
659657
if vppNode.NodeIPam == nil {
660658
errCnt++
661659
v.Log.Infof("No IPAM data for node %s", vppNode.Name)

plugins/ipnet/ipnet_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ var (
125125
IPAMConfig: contivconf.IPAMConfig{
126126
PodSubnetCIDR: "10.1.0.0/16",
127127
PodSubnetOneNodePrefixLen: 24,
128-
PodVPPSubnetCIDR: "10.2.1.0/24",
129128
VPPHostSubnetCIDR: "172.30.0.0/16",
130129
VPPHostSubnetOneNodePrefixLen: 24,
131130
NodeInterconnectCIDR: "192.168.16.0/24",

scripts/contiv-network-report.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ do
294294
if echo "$n" | grep -q "tap"
295295
then
296296
# Compare just the 3rd digit of the IP address for now;
297-
# Assumes /16 PodSubnetCIDR and /24 PodVPPSubnetCIDR
297+
# Assumes /16 PodSubnetCIDR
298298
POD_ID=$( echo "$POD_IP" | awk -F. '{print $4}' )
299299
TAP_ID=$( echo "${IF_IP[$n]}" | awk -F/ '{print $1}' |awk -F. '{print $4}' )
300300
if [ "$POD_ID" == "$TAP_ID" ]

0 commit comments

Comments
 (0)