Skip to content

add endpoint oper object #403

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

Merged
merged 2 commits into from
Jun 14, 2016
Merged

add endpoint oper object #403

merged 2 commits into from
Jun 14, 2016

Conversation

jainvipin
Copy link

vendor in newer contivmodel
add oper object for an endpoint (show ip allocation, etc.)

[vagrant@netplugin-node1 netplugin]$ docker run -itd --net=junk --label=app=newapp alpine /bin/sh
efb4e447c3621169ad010558eeda474776ab62f16d41bc148ca8ae79d036fb4d

[vagrant@netplugin-node1 netplugin]$ netctl endpoint inspect efb4e
INFO[0000] Inspecting endpoint: efb4e                   
{
  "Oper": {
    "containerID": "efb4e447c3621169ad010558eeda474776ab62f16d41bc148ca8ae79d036fb4d",
    "homingHost": "netplugin-node1",
    "ipAddress": [
      "10.1.1.3",
      ""
    ],
    "labels": "map[app:newapp]",
    "macAddress": "02:02:0a:01:01:03",
    "name": "8c7e901c72dbe1eb2be496ed3727daf0de6008d88ac083b996784589cf059f2e",
    "network": "junk.default"
  }
}

@shaleman
Copy link
Contributor

LGTM

@shaleman shaleman merged commit f460280 into contiv:master Jun 14, 2016
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