Skip to content

Commit

Permalink
Merge pull request #1431 from imiller0/fix-mac-addr
Browse files Browse the repository at this point in the history
OCPBUGS-8238: ztp: Remove incorrect macAddress field
  • Loading branch information
openshift-merge-robot committed Mar 9, 2023
2 parents 47d734b + 14d0926 commit 9baa81a
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 21 deletions.
1 change: 0 additions & 1 deletion ztp/gitops-subscriptions/argocd/SNOExpansion.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,6 @@ EOF
- name: eno1
type: ethernet
state: up
macAddress: "<MAC of the machine network interface>"
ipv4:
enabled: false
ipv6:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ spec:
- name: eno1
type: ethernet
state: up
macAddress: "AA:BB:CC:DD:EE:11"
ipv4:
enabled: false
ipv6:
Expand Down Expand Up @@ -97,7 +96,6 @@ spec:
- name: eno1
type: ethernet
state: up
macAddress: "AA:BB:CC:DD:EE:22"
ipv4:
enabled: false
ipv6:
Expand Down Expand Up @@ -135,7 +133,6 @@ spec:
- name: eno1
type: ethernet
state: up
macAddress: "AA:BB:CC:DD:EE:33"
ipv4:
enabled: false
ipv6:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ spec:
- name: eno1
type: ethernet
state: up
macAddress: "AA:BB:CC:DD:EE:11"
ipv4:
enabled: false
ipv6:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ spec:
- name: eno1
type: ethernet
state: up
macAddress: "AA:BB:CC:DD:EE:11"
ipv4:
enabled: false
ipv6:
Expand Down Expand Up @@ -97,7 +96,6 @@ spec:
- name: eno1
type: ethernet
state: up
macAddress: "AA:BB:CC:DD:EE:22"
ipv4:
enabled: false
ipv6:
Expand Down Expand Up @@ -135,7 +133,6 @@ spec:
- name: eno1
type: ethernet
state: up
macAddress: "AA:BB:CC:DD:EE:33"
ipv4:
enabled: false
ipv6:
Expand Down Expand Up @@ -173,7 +170,6 @@ spec:
- name: eno1
type: ethernet
state: up
macAddress: "AA:BB:CC:DD:EE:44"
ipv4:
enabled: false
ipv6:
Expand Down Expand Up @@ -211,7 +207,6 @@ spec:
- name: eno1
type: ethernet
state: up
macAddress: "AA:BB:CC:DD:EE:55"
ipv4:
enabled: false
ipv6:
Expand Down
3 changes: 1 addition & 2 deletions ztp/ran-crd/site-config-cr-ex.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ spec:
- name: eth1
macAddress: 02:00:00:80:12:15
config:
# Example for the nmstate config. The interface names & macAddresses must match the defined interfaces above.
# Example for the nmstate config. The interface names must match the defined interfaces above.
interfaces:
- name: eno1
macAddress: 00:00:00:01:20:30
type: ethernet
ipv4:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ spec:
config:
interfaces:
- name: eno1
macAddress: "00:00:00:01:20:30"
type: ethernet
ipv4:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ spec:
config:
interfaces:
- name: eno1
macAddress: "00:00:00:01:20:30"
type: ethernet
ipv4:
enabled: true
Expand Down Expand Up @@ -144,7 +143,6 @@ spec:
config:
interfaces:
- name: eno1
macAddress: "00:00:00:01:20:30"
type: ethernet
ipv4:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ spec:
config:
interfaces:
- name: eno1
macAddress: "00:00:00:01:20:30"
type: ethernet
ipv6:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ spec:
config:
interfaces:
- name: eno1
macAddress: "00:00:00:01:20:30"
type: ethernet
ipv6:
enabled: true
Expand Down Expand Up @@ -99,7 +98,6 @@ spec:
config:
interfaces:
- name: eno1
macAddress: "00:00:00:01:20:40"
type: ethernet
ipv6:
enabled: true
Expand Down
2 changes: 0 additions & 2 deletions ztp/siteconfig-generator/siteConfig/siteConfigBuilder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ spec:
config:
interfaces:
- name: eno1
macAddress: "00:00:00:01:20:30"
type: ethernet
ipv4:
enabled: true
Expand Down Expand Up @@ -135,7 +134,6 @@ spec:
config:
interfaces:
- name: eno1
macAddress: "00:00:00:01:20:30"
type: ethernet
ipv4:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ spec:
- ipv4:
dhcp: false
enabled: true
macAddress: "00:00:00:01:20:30"
name: eno1
type: ethernet
interfaces:
Expand Down

0 comments on commit 9baa81a

Please sign in to comment.