Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev configpod logs #47

Merged
merged 2 commits into from
Oct 19, 2021
Merged

Dev configpod logs #47

merged 2 commits into from
Oct 19, 2021

Conversation

vthiruveedula
Copy link
Contributor

No description provided.

@vthiruveedula vthiruveedula changed the base branch from master to onf-release3.0.5 October 16, 2021 17:22
proto/server/1 Outdated
@@ -0,0 +1,1073 @@
// SPDX-FileCopyrightText: 2021 Open Networking Foundation <[email protected]>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this file. Looks like temp file.

client.devgroupsConfigClient[configMsg.DevGroupName] = configMsg.DevGroup
} else if configMsg.DevGroupName != "" && configMsg.MsgMethod == configmodels.Delete_op {
lastDevGroup = client.devgroupsConfigClient[configMsg.DevGroupName]
client.clientLog.Infof("Received delete configuration for device Group %v ", configMsg.DevGroupName)
client.clientLog.Debugf("Deleted device Group %v ", configMsg.DevGroupName)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original log content was good. Just changing logging level is good enough.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

client.slicesConfigClient[configMsg.SliceName] = configMsg.Slice
} else if configMsg.SliceName != "" && configMsg.MsgMethod == configmodels.Delete_op {
client.clientLog.Infof("Received delete configuration for slice %v ", configMsg.SliceName)
client.clientLog.Debugf("Deleted slice %v ", configMsg.SliceName)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Original log content is good. Just change logging level.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done


if len(sliceConfig.SiteDeviceGroup) == 0 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you put these changes in other change request ? Will this cause any impact ?

for _, val := range imsis {
deleteConfigHss(client, val)
}
dimsis := getDeletedImsiList(lastDevGroup, devGroup)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

avoid changing this area. There is bug in this code. Keep this pull request only for logs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@vthiruveedula
Copy link
Contributor Author

test container

@@ -670,6 +676,10 @@ func deletedImsis(prev, curr *configmodels.DeviceGroups) (imsis []string) {
return prev.Imsis
}

if prev == nil {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

may be you need to run format on these files

@thakurajayL thakurajayL merged commit bda1b87 into onf-release3.0.5 Oct 19, 2021
@vthiruveedula vthiruveedula deleted the dev-configpod-logs branch October 20, 2021 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants