Skip to content

Commit e0513e2

Browse files
committed
rename CIRD to CIDR
1 parent 74172b0 commit e0513e2

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

Diff for: locales/en/plugin__networking-console-plugin.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@
273273
"Percent": "Percent",
274274
"Persistent": "Persistent",
275275
"Phase": "Phase",
276+
"Physical network name": "Physical network name",
276277
"Physical network name. A bridge mapping must be configured on cluster nodes to map between physical network names and Open vSwitch bridges.": "Physical network name. A bridge mapping must be configured on cluster nodes to map between physical network names and Open vSwitch bridges.",
277278
"Please <2>try again</2>.": "Please <2>try again</2>.",
278279
"Pod crash loop back-off": "Pod crash loop back-off",
@@ -355,7 +356,7 @@
355356
"Sources added to this rule will allow traffic to the pods defined above. Sources in this list are combined using a logical OR operation.": "Sources added to this rule will allow traffic to the pods defined above. Sources in this list are combined using a logical OR operation.",
356357
"Status": "Status",
357358
"Subnet": "Subnet",
358-
"Subnet CIRD": "Subnet CIRD",
359+
"Subnet CIDR": "Subnet CIDR",
359360
"Subnets": "Subnets",
360361
"Subnets are used for the pod network across the cluster.": "Subnets are used for the pod network across the cluster.",
361362
"Switch and delete": "Switch and delete",
@@ -367,6 +368,7 @@
367368
"Terminating": "Terminating",
368369
"Termination type": "Termination type",
369370
"The format should match standard CIDR notation (for example, \"10.128.0.0/16\").": "The format should match standard CIDR notation (for example, \"10.128.0.0/16\").",
371+
"The name of the physical network. This attribute must match the value of the spec.desiredState.ovn.bridge-mappings.localnet field of the NodeNetworkConfigurationPolicy object that defines the OVS bridge mapping. ": "The name of the physical network. This attribute must match the value of the spec.desiredState.ovn.bridge-mappings.localnet field of the NodeNetworkConfigurationPolicy object that defines the OVS bridge mapping. ",
370372
"The only allowed value is Persistent. When set, OVN Kubernetes assigned IP addresses will be persisted in an \"ipamclaims.k8s.cni.cncf.io\" object.": "The only allowed value is Persistent. When set, OVN Kubernetes assigned IP addresses will be persisted in an \"ipamclaims.k8s.cni.cncf.io\" object.",
371373
"These IP addresses will be reused by other pods if requested.": "These IP addresses will be reused by other pods if requested.",
372374
"These rules are handled by a routing layer (Ingress Controller) which is updated as the rules are modified. The Ingress controller implementation defines how headers and other metadata are forwarded or manipulated": "These rules are handled by a routing layer (Ingress Controller) which is updated as the rules are modified. The Ingress controller implementation defines how headers and other metadata are forwarded or manipulated",

Diff for: src/utils/components/SubnetCIRDHelperText/SubnetCIRDHelperText.tsx renamed to src/utils/components/SubnetCIDRHelperText/SubnetCIDRHelperText.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { useNetworkingTranslation } from '@utils/hooks/useNetworkingTranslation'
44

55
import FormGroupHelperText from '../FormGroupHelperText/FormGroupHelperText';
66

7-
const SubnetCIRDHelperText: FC = () => {
7+
const SubnetCIDRHelperText: FC = () => {
88
const { t } = useNetworkingTranslation();
99

1010
return (
@@ -16,4 +16,4 @@ const SubnetCIRDHelperText: FC = () => {
1616
);
1717
};
1818

19-
export default SubnetCIRDHelperText;
19+
export default SubnetCIDRHelperText;

Diff for: src/views/createprojectmodal/components/NetworkTab.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const NetworkTab: FC = () => {
7070

7171
{networkType === NETWORK_TYPE.UDN && (
7272
<>
73-
<FormGroup fieldId="input-name" isRequired label={t('Subnet CIRD')}>
73+
<FormGroup fieldId="input-name" isRequired label={t('Subnet CIDR')}>
7474
<Controller
7575
control={control}
7676
name="udn.spec.layer2.subnets"

Diff for: src/views/udns/list/components/SubnetsInput.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React, { FC } from 'react';
22
import { FieldPath, useFormContext, useWatch } from 'react-hook-form';
33

44
import { FormGroup, TextInput } from '@patternfly/react-core';
5-
import SubnetCIRDHelperText from '@utils/components/SubnetCIRDHelperText/SubnetCIRDHelperText';
5+
import SubnetCIDRHelperText from '@utils/components/SubnetCIDRHelperText/SubnetCIDRHelperText';
66
import { useNetworkingTranslation } from '@utils/hooks/useNetworkingTranslation';
77
import {
88
UserDefinedNetworkLayer3Subnet,
@@ -33,7 +33,7 @@ const SubnetsInput: FC<SubnetsInputProps> = ({ isClusterUDN }) => {
3333
: subnets?.join(',');
3434

3535
return (
36-
<FormGroup fieldId="input-udn-subnet" isRequired label={t('Subnet CIRD')}>
36+
<FormGroup fieldId="input-udn-subnet" isRequired label={t('Subnet CIDR')}>
3737
<TextInput
3838
autoFocus
3939
data-test="input-udn-subnet"
@@ -54,7 +54,7 @@ const SubnetsInput: FC<SubnetsInputProps> = ({ isClusterUDN }) => {
5454
type="text"
5555
value={subnetsText}
5656
/>
57-
<SubnetCIRDHelperText />
57+
<SubnetCIDRHelperText />
5858
</FormGroup>
5959
);
6060
};

0 commit comments

Comments
 (0)