components/openstack/horizon/files/overrides.py
author Niall Power <niall.power@oracle.com>
Tue, 20 Jan 2015 14:02:18 -0800
changeset 3652 7e731a1b0b39
parent 2074 d2f9b776557a
child 3998 5bd484384122
permissions -rw-r--r--
PSARC/2014/377 noVNC - A browser based VNC client 19557488 The noVNC client should be added to Userland 20202461 Websockify is broken on SPARC because of unnecessary byte swapping 20202582 Solaris zones nova compute driver needs console access support
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     1
# Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     2
#
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     3
#    Licensed under the Apache License, Version 2.0 (the "License"); you may
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     4
#    not use this file except in compliance with the License. You may obtain
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     5
#    a copy of the License at
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     6
#
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     7
#         http://www.apache.org/licenses/LICENSE-2.0
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     8
#
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
     9
#    Unless required by applicable law or agreed to in writing, software
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    10
#    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    11
#    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    12
#    License for the specific language governing permissions and limitations
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    13
#    under the License.
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    14
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    15
"""
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    16
Solaris-specific customizations for Horizon
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    17
"""
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    18
1970
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    19
from openstack_dashboard.dashboards.admin.instances import tables \
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    20
    as admin_tables
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    21
from openstack_dashboard.dashboards.admin.networks.forms import CreateNetwork
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    22
from openstack_dashboard.dashboards.admin.networks.ports.forms import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    23
    CreatePort
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    24
from openstack_dashboard.dashboards.admin.networks.ports.tables import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    25
    DeletePort, PortsTable
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    26
from openstack_dashboard.dashboards.admin.networks.subnets.tables import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    27
    DeleteSubnet, SubnetsTable
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    28
from openstack_dashboard.dashboards.admin.networks.tables import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    29
    DeleteNetwork, NetworksTable
1944
56ac2df1785b PSARC/2014/207 OpenStack Glance Update to Havana
Drew Fisher <drew.fisher@oracle.com>
parents: 1820
diff changeset
    30
from openstack_dashboard.dashboards.project.access_and_security.tabs import \
56ac2df1785b PSARC/2014/207 OpenStack Glance Update to Havana
Drew Fisher <drew.fisher@oracle.com>
parents: 1820
diff changeset
    31
    AccessAndSecurityTabs, APIAccessTab, FloatingIPsTab, KeypairsTab
1989
ae222899e270 19061438 checkboxes related with 'create volume from Image' in the Horizon don't work
Strony <strony.zhang@oracle.com>
parents: 1970
diff changeset
    32
from \
ae222899e270 19061438 checkboxes related with 'create volume from Image' in the Horizon don't work
Strony <strony.zhang@oracle.com>
parents: 1970
diff changeset
    33
    openstack_dashboard.dashboards.project.images_and_snapshots.images.tables \
ae222899e270 19061438 checkboxes related with 'create volume from Image' in the Horizon don't work
Strony <strony.zhang@oracle.com>
parents: 1970
diff changeset
    34
    import EditImage, DeleteImage, ImagesTable, LaunchImage
1970
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    35
from openstack_dashboard.dashboards.project.instances import tables \
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    36
    as project_tables
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    37
from openstack_dashboard.dashboards.project.instances.tabs import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    38
    InstanceDetailTabs, LogTab, OverviewTab
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    39
from openstack_dashboard.dashboards.project.instances.workflows import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    40
    create_instance
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    41
from openstack_dashboard.dashboards.project.instances.workflows import \
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    42
    update_instance
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    43
from openstack_dashboard.dashboards.project.networks.ports.tables import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    44
    PortsTable as projectPortsTable
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    45
from openstack_dashboard.dashboards.project.networks.subnets.tables import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    46
    DeleteSubnet as projectDeleteSubnet
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    47
from openstack_dashboard.dashboards.project.networks.subnets.tables import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    48
    SubnetsTable as projectSubnetsTable
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    49
from openstack_dashboard.dashboards.project.networks.tables import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    50
    CreateSubnet as projectCreateSubnet
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    51
from openstack_dashboard.dashboards.project.networks.tables import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    52
    DeleteNetwork as projectDeleteNetwork
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    53
from openstack_dashboard.dashboards.project.networks.tables import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    54
    NetworksTable as projectNetworksTable
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    55
from openstack_dashboard.dashboards.project.networks.workflows import \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    56
    CreateNetworkInfoAction, CreateSubnetDetailAction, CreateSubnetInfoAction
2074
d2f9b776557a 19589672 Integration of fix for Neutron pool reverted some lines in overrides.py
Girish Moodalbail <Girish.Moodalbail@oracle.COM>
parents: 2065
diff changeset
    57
from openstack_dashboard.dashboards.project.stacks.tabs import \
d2f9b776557a 19589672 Integration of fix for Neutron pool reverted some lines in overrides.py
Girish Moodalbail <Girish.Moodalbail@oracle.COM>
parents: 2065
diff changeset
    58
    StackDetailTabs, StackEventsTab, StackOverviewTab, StackResourcesTab
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    59
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    60
# Remove 'PostCreationStep' from Project/Instances/Launch Instance
1970
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    61
create_instance.LaunchInstance.default_steps = (
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    62
    create_instance.SelectProjectUser,
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    63
    create_instance.SetInstanceDetails,
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    64
    create_instance.SetAccessControls,
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    65
    create_instance.SetNetwork
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    66
)
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    67
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    68
# Remove 'UpdateInstanceSecurityGroups' from
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    69
# Project/Instances/Actions/Edit Instance
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    70
update_instance.UpdateInstance.default_steps = (
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    71
    update_instance.UpdateInstanceInfo,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    72
)
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    73
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    74
# Remove 'SecurityGroupsTab' tab from Project/Access & Security
1944
56ac2df1785b PSARC/2014/207 OpenStack Glance Update to Havana
Drew Fisher <drew.fisher@oracle.com>
parents: 1820
diff changeset
    75
AccessAndSecurityTabs.tabs = (KeypairsTab, FloatingIPsTab, APIAccessTab)
56ac2df1785b PSARC/2014/207 OpenStack Glance Update to Havana
Drew Fisher <drew.fisher@oracle.com>
parents: 1820
diff changeset
    76
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
    77
3652
7e731a1b0b39 PSARC/2014/377 noVNC - A browser based VNC client
Niall Power <niall.power@oracle.com>
parents: 2074
diff changeset
    78
# Remove 'ConfirmResize', 'RevertResize', 'TogglePause',
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    79
# 'ToggleSuspend', 'MigrateInstance' actions from Admin/Instances/Actions
1970
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    80
admin_tables.AdminInstancesTable._meta.row_actions = (
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    81
    admin_tables.AdminEditInstance,
3652
7e731a1b0b39 PSARC/2014/377 noVNC - A browser based VNC client
Niall Power <niall.power@oracle.com>
parents: 2074
diff changeset
    82
    project_tables.ConsoleLink,
1970
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    83
    project_tables.LogLink,
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    84
    project_tables.CreateSnapshot,
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    85
    project_tables.SoftRebootInstance,
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    86
    project_tables.RebootInstance,
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    87
    project_tables.TerminateInstance
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    88
)
f37782924749 19056291 A couple of links to zone consoles still exist
Drew Fisher <drew.fisher@oracle.com>
parents: 1944
diff changeset
    89
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    90
# Remove 'ConfirmResize', 'RevertResize', 'EditInstanceSecurityGroups',
3652
7e731a1b0b39 PSARC/2014/377 noVNC - A browser based VNC client
Niall Power <niall.power@oracle.com>
parents: 2074
diff changeset
    91
# 'TogglePause', 'ToggleSuspend', 'ResizeLink', 'RebuildInstance' actions
7e731a1b0b39 PSARC/2014/377 noVNC - A browser based VNC client
Niall Power <niall.power@oracle.com>
parents: 2074
diff changeset
    92
# from Project/Instances/Actions
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    93
project_tables.InstancesTable._meta.row_actions = (
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    94
    project_tables.StartInstance,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    95
    project_tables.CreateSnapshot,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    96
    project_tables.SimpleAssociateIP,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    97
    project_tables.AssociateIP,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    98
    project_tables.SimpleDisassociateIP,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
    99
    project_tables.EditInstance,
3652
7e731a1b0b39 PSARC/2014/377 noVNC - A browser based VNC client
Niall Power <niall.power@oracle.com>
parents: 2074
diff changeset
   100
    project_tables.ConsoleLink,
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   101
    project_tables.LogLink,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   102
    project_tables.SoftRebootInstance,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   103
    project_tables.RebootInstance,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   104
    project_tables.StopInstance,
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   105
    project_tables.TerminateInstance
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   106
)
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   107
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   108
# Disable 'admin_state' and 'shared' checkboxes in
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   109
# Admin/Networks/Create Network
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   110
CreateNetwork.base_fields['admin_state'].widget.attrs['disabled'] = True
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   111
CreateNetwork.base_fields['shared'].widget.attrs['disabled'] = True
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   112
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   113
# Disable 'admin_state' checkbox in
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   114
# Admin/Networks/Network Name/Create Port
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   115
CreatePort.base_fields['admin_state'].widget.attrs['disabled'] = True
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   116
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   117
# Remove 'UpdatePort' action from Admin/Networks/Network Name/Actions
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   118
PortsTable._meta.row_actions = (DeletePort,)
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   119
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   120
# Remove 'UpdateSubnet' action from Admin/Networks/Network Name/Actions
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   121
SubnetsTable._meta.row_actions = (DeleteSubnet,)
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   122
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   123
# Remove the 'EditNetwork' action from Admin/Networks/Actions
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   124
NetworksTable._meta.row_actions = (DeleteNetwork,)
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   125
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   126
# Remove the 'UpdatePort' action from Project/Networks/Name/Ports/Actions
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   127
projectPortsTable._meta.row_actions = ()
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   128
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   129
# Remove the 'UpdateSubnet' action from
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   130
# Project/Networks/Name/Subnets/Actions
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   131
projectSubnetsTable._meta.row_actions = (projectDeleteSubnet,)
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   132
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   133
# Remove the 'EditNetwork' action from Project/Networks/Actions
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   134
projectNetworksTable._meta.row_actions = (projectCreateSubnet,
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   135
                                          projectDeleteNetwork)
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   136
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   137
# Disable 'admin_state' checkboxes in Project/Networks/Create Network/Network
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   138
CreateNetworkInfoAction.base_fields['admin_state'].widget.attrs['disabled'] = \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   139
    True
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   140
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   141
# Disable 'no_gateway' checkboxes in Project/Networks/Create Network/Subnet
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   142
CreateSubnetInfoAction.base_fields['no_gateway'].widget.attrs['disabled'] = \
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   143
    True
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   144
1989
ae222899e270 19061438 checkboxes related with 'create volume from Image' in the Horizon don't work
Strony <strony.zhang@oracle.com>
parents: 1970
diff changeset
   145
# Remove 'CreateVolumeFromImage' checkbox from
ae222899e270 19061438 checkboxes related with 'create volume from Image' in the Horizon don't work
Strony <strony.zhang@oracle.com>
parents: 1970
diff changeset
   146
# Project/Images & Snapshots/Actions
ae222899e270 19061438 checkboxes related with 'create volume from Image' in the Horizon don't work
Strony <strony.zhang@oracle.com>
parents: 1970
diff changeset
   147
ImagesTable._meta.row_actions = (LaunchImage, EditImage, DeleteImage,)
ae222899e270 19061438 checkboxes related with 'create volume from Image' in the Horizon don't work
Strony <strony.zhang@oracle.com>
parents: 1970
diff changeset
   148
2065
1c1b527dcee1 19510667 fix allocation-pool issue while creating neutron subnets
Girish Moodalbail <Girish.Moodalbail@oracle.COM>
parents: 2025
diff changeset
   149
# Change 'host_routes' field to read-only in
1990
c1c6cc703d7a 18686478 kstat warning every minute in nova-compute log on SPARC
david.comay@oracle.com
parents: 1989
diff changeset
   150
# Project/Networks/Create Network/Subnet Detail
1820
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   151
base_fields = CreateSubnetDetailAction.base_fields
f3a6bd7bd4a6 18545343 nova-conductor's method shouldn't try to enable mysql
Drew Fisher <drew.fisher@oracle.com>
parents:
diff changeset
   152
base_fields['host_routes'].widget.attrs['readonly'] = 'readonly'
2074
d2f9b776557a 19589672 Integration of fix for Neutron pool reverted some lines in overrides.py
Girish Moodalbail <Girish.Moodalbail@oracle.COM>
parents: 2065
diff changeset
   153
d2f9b776557a 19589672 Integration of fix for Neutron pool reverted some lines in overrides.py
Girish Moodalbail <Girish.Moodalbail@oracle.COM>
parents: 2065
diff changeset
   154
# Remove 'StackTopologyTab' from Project/Stacks/StackDetailTabs
d2f9b776557a 19589672 Integration of fix for Neutron pool reverted some lines in overrides.py
Girish Moodalbail <Girish.Moodalbail@oracle.COM>
parents: 2065
diff changeset
   155
StackDetailTabs.tabs = (StackOverviewTab, StackResourcesTab, StackEventsTab)