Skip to content

Commit f60bd8c

Browse files
authored
Merge pull request ceph#61822 from rhcs-dashboard/smb-edit-cluster
mgr/dashboard: SMB - Edit Cluster Reviewed-by: Afreen Misbah <[email protected]> Reviewed-by: Pedro Gonzalez Gomez <[email protected]>
2 parents 9fa163d + 6765923 commit f60bd8c

File tree

10 files changed

+628
-420
lines changed

10 files changed

+628
-420
lines changed

src/pybind/mgr/dashboard/controllers/smb.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
"ref": (str, "Reference identifier for the user group resource")
3737
}], "User group settings for user auth mode"),
3838
"custom_dns": ([str], "List of custom DNS server addresses"),
39+
"public_addrs": ([{
40+
"address": (str, "This address will be assigned to one of the host's network devices"),
41+
"destination": (str, "Defines where the system will assign the managed IPs.")
42+
}], "Public Address"),
3943
"placement": ({
4044
"count": (int, "Number of instances to place")
4145
}, "Placement configuration for the resource")

src/pybind/mgr/dashboard/frontend/src/app/app-routing.module.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,11 @@ const routes: Routes = [
460460
component: SmbShareFormComponent,
461461
data: { breadcrumbs: ActionLabels.CREATE }
462462
},
463+
{
464+
path: `${URLVerbs.EDIT}/:cluster_id`,
465+
component: SmbClusterFormComponent,
466+
data: { breadcrumbs: ActionLabels.EDIT }
467+
},
463468
{
464469
path: `ad/${URLVerbs.CREATE}`,
465470
component: SmbJoinAuthFormComponent,

0 commit comments

Comments
 (0)