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

Documentation: Add conventions doc #352

Merged
merged 3 commits into from
Jan 20, 2017
Merged

Documentation: Add conventions doc #352

merged 3 commits into from
Jan 20, 2017

Conversation

tomdee
Copy link
Member

@tomdee tomdee commented Jan 17, 2017

No description provided.

@tomdee
Copy link
Member Author

tomdee commented Jan 20, 2017

@containernetworking/cni-maintainers I've updated based on our discussions on Wednesday. PTAL.

| Area | Purpose| Spec and Example | Runtime implementations | Plugin Implementations |
| ------ | ------ | ------ | ------ | ------ | ------ |
| labels | Pass`key=value` labels to plugins | <pre>"labels" : [<br /> { "key" : "app", "value" : "myapp" },<br /> { "key" : "env", "value" : "prod" }<br />] </pre> | none | none |
| port mappings | Pass mapping from ports on the host to ports in the container network namespace. | <pre>"port_mappings" : [<br /> { "host_port": 8080, "container_port": 80, "protocol": "tcp" },<br /> { "host_port": 8000, "container_port": 8001, "protocol": "udp" }<br />] </pre> | none | none |
Copy link
Contributor

Choose a reason for hiding this comment

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

"port mappings" is also listed above as a "plugin specific" field. If I recall correctly, the consensus from our meeting this week was that we preferred it live there, and not here. Maybe remove this row from this table?

Copy link
Member Author

@tomdee tomdee Jan 20, 2017

Choose a reason for hiding this comment

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

I though I'd already removed it from this table, oops. I just pushed a change to remove it.

@rosenhouse
Copy link
Contributor

LGTM!

@rosenhouse rosenhouse merged commit 1acc927 into master Jan 20, 2017
@tomdee tomdee deleted the conventions branch March 2, 2017 17:55
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