Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Headers are being created as class attributes instead of instance attributes #361

Closed
erickvermot opened this issue May 4, 2017 · 2 comments

Comments

@erickvermot
Copy link
Contributor

erickvermot commented May 4, 2017

Messages are being created with its header as a class attribute instead of a instance attribute. This makes all the instances have the same header, and consequently the same XID.

@diraol
Copy link
Contributor

diraol commented May 9, 2017

This may be fixed by the changes that need to be done to solve the issues: #157, #198 and #237
This is a behavior that we have already identified while proposing the solution for #157 and it is meant to be fixed by the refactor that solves this issue.

@beraldoleal beraldoleal modified the milestones: 2017.2b1, 2017.1b3 Jun 19, 2017
@erickvermot
Copy link
Contributor Author

erickvermot commented Jul 18, 2017

master...erickvermot:new_generic_message
fixes this in a simple way.
This also fixes the XID problem still present (despite #224).

If the 'work_or_pass' logic is accepted (a4c1f05), MessageStruct class can become even simpler:
master...erickvermot:new_generic_message_work_or_pass

@diraol diraol changed the title Headers are beeing created as class attributes instead of instance attributes Headers are being created as class attributes instead of instance attributes Aug 1, 2017
diraol added a commit to diraol/python-openflow that referenced this issue Nov 15, 2017
@diraol diraol closed this as completed in 1486700 Nov 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants