Skip to content

Commit

Permalink
fixed dnn mapping (#326)
Browse files Browse the repository at this point in the history
dnn mapping was taking network instance iso din name
  • Loading branch information
henderiw authored Jun 29, 2023
1 parent 983f92f commit 1d5a6bc
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion krm-functions/nfdeploy-fn/common/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func (f *NfDeployFn[T, PT]) DnnUpdate(o *fn.KubeObject) error {
}

dnn := nephiodeployv1alpha1.DataNetwork{
Name: &dnnReq.Spec.NetworkInstance.Name,
Name: &dnnReq.Name,
Pool: pools,
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ items:
networkInstances:
- name: vpc-internet
dataNetworks:
- name: vpc-internet
- name: internet
pool:
- prefix: 10.0.0.3/24
interfaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ items:
- n4
- name: vpc-internet
dataNetworks:
- name: vpc-internet
- name: internet
pool:
- prefix: 10.0.0.3/24
interfaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ items:
- n4
- name: vpc-internet
dataNetworks:
- name: vpc-internet
- name: internet
pool:
- prefix: 172.0.0.0/8
interfaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ items:
- n4
- name: vpc-internet
dataNetworks:
- name: vpc-internet
- name: internet
pool:
- prefix: 172.0.0.0/8
interfaces:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ items:
- n4
- name: vpc-internet
dataNetworks:
- name: vpc-internet
- name: internet
pool:
- prefix: 172.0.0.0/8
interfaces:
Expand Down

0 comments on commit 1d5a6bc

Please sign in to comment.