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

Add NiciraRegLoad action #281

Closed
wants to merge 2 commits into from
Closed

Add NiciraRegLoad action #281

wants to merge 2 commits into from

Conversation

yasuhito
Copy link
Member

Refs #264

@yasuhito yasuhito added the api label Nov 11, 2015
@yasuhito yasuhito self-assigned this Nov 11, 2015
@yasuhito yasuhito force-pushed the feature/nicira_reg_load branch from 224fe41 to ed37a9d Compare November 11, 2015 11:19
oxm_klass = Match.const_get(destination.to_s.capitalize)
super(value_internal: value,
n_bits_internal: oxm_klass.new.length * 8 - 1,
destination_internal: ((oxm_klass.superclass.const_get(:OXM_CLASS) << 16) | (oxm_klass.const_get(:OXM_FIELD) << 9) | oxm_klass.new.length))

Choose a reason for hiding this comment

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

Line is too long. [153/80]

@yasuhito yasuhito force-pushed the feature/nicira_reg_load branch from ed37a9d to ad8f74d Compare November 11, 2015 11:53
super(value_internal: value,
offset_internal: options[:offset] || 0,
n_bits_internal: options[:n_bits] ? options[:n_bits] - 1 : oxm_klass.new.length * 8 - 1,
destination_internal: ((oxm_klass.superclass.const_get(:OXM_CLASS) << 16) | (oxm_klass.const_get(:OXM_FIELD) << 9) | oxm_klass.new.length))

Choose a reason for hiding this comment

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

Line is too long. [153/80]

@yasuhito yasuhito added this to the 0.30.0 milestone Nov 11, 2015
@yasuhito yasuhito closed this Nov 11, 2015
@yasuhito yasuhito deleted the feature/nicira_reg_load branch November 11, 2015 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants