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

Cleanly allow IP address provided as node id #358

Merged
merged 2 commits into from Nov 12, 2021
Merged

Conversation

krsna1729
Copy link
Member

Remove the TODO of correctly figuring out if node_id passed is FQDN or IPv4 or IPv6
Once figured out cache the result in PFCPConn.nodeID

Signed-off-by: Saikrishna Edupuganti saikrishna.edupuganti@intel.com

@krsna1729 krsna1729 changed the title Cleanly allow node_id passed to IP address Cleanly allow IP address provided as node id Nov 7, 2021
@krsna1729 krsna1729 marked this pull request as ready for review November 7, 2021 12:25
Remove the TODO of correctly figuring out if node_id passed is FQDN or IPv4 or IPv6
Once figured out cache the result in PFCPConn.nodeID

Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>
Move the following into NewPFCPConn

- Updation of conneciton map
- Handling first message
- launch Serve goroutine

Signed-off-by: Saikrishna Edupuganti <saikrishna.edupuganti@intel.com>

go p.Serve()

return p
Copy link
Contributor

Choose a reason for hiding this comment

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

can remove return val.

Copy link
Member Author

Choose a reason for hiding this comment

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

we need this if we are initiating the connection. So we can call send association on this returned value

Copy link
Contributor

@badhrinathpa badhrinathpa left a comment

Choose a reason for hiding this comment

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

+1

@badhrinathpa badhrinathpa merged commit 988efbd into master Nov 12, 2021
@badhrinathpa badhrinathpa deleted the minor-cleanup branch November 12, 2021 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants