Revert "Add api call to trigger creation of gnp"

This reverts commit cd344669d3.

Reason for revert: Config out of date alarm is present after install. Code rework is required.

Change-Id: Ic71eeb8b9d95436b1d1999bf3a1d28022a972077
This commit is contained in:
Cole Walker 2021-02-16 20:54:11 +00:00
parent cd344669d3
commit a45569eda4
2 changed files with 2 additions and 8 deletions

View File

@ -16,7 +16,7 @@
# License for the specific language governing permissions and limitations
# under the License.
#
# Copyright (c) 2013-2021 Wind River Systems, Inc.
# Copyright (c) 2013-2018 Wind River Systems, Inc.
#
import os
@ -194,9 +194,6 @@ class InterfaceNetworkController(rest.RestController):
cutils.perform_distributed_cloud_config(pecan.request.dbapi,
interface_id)
if network_type == constants.NETWORK_TYPE_OAM:
pecan.request.rpcapi.update_oam_config(pecan.request.context)
return InterfaceNetwork.convert_with_links(result)
def _get_interface_network_collection(

View File

@ -16,7 +16,7 @@
# License for the specific language governing permissions and limitations
# under the License.
#
# Copyright (c) 2013-2021 Wind River Systems, Inc.
# Copyright (c) 2013-2020 Wind River Systems, Inc.
#
"""Conduct all activity related system inventory.
@ -6175,9 +6175,6 @@ class ConductorManager(service.PeriodicService):
if utils.get_system_mode(self.dbapi) != constants.SYSTEM_MODE_SIMPLEX:
cutils.touch(
self._get_oam_runtime_apply_file(standby_controller=True))
else:
cutils.touch(
self._get_oam_runtime_apply_file(standby_controller=False))
def update_user_config(self, context):
"""Update the user configuration"""