{"action":"created","issue":{"url":"https://api.github.com/repos/RackHD/on-http/issues/43","labels_url":"https://api.github.com/repos/RackHD/on-http/issues/43/labels{/name}","comments_url":"https://api.github.com/repos/RackHD/on-http/issues/43/comments","events_url":"https://api.github.com/repos/RackHD/on-http/issues/43/events","html_url":"https://github.com/RackHD/on-http/pull/43","id":116401048,"number":43,"title":"VEY-230: Add switch configurationa nd vmnic configuration to esx-ks","user":{"login":"zyoung51","id":13998687,"avatar_url":"https://avatars.githubusercontent.com/u/13998687?v=3","gravatar_id":"","url":"https://api.github.com/users/zyoung51","html_url":"https://github.com/zyoung51","followers_url":"https://api.github.com/users/zyoung51/followers","following_url":"https://api.github.com/users/zyoung51/following{/other_user}","gists_url":"https://api.github.com/users/zyoung51/gists{/gist_id}","starred_url":"https://api.github.com/users/zyoung51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyoung51/subscriptions","organizations_url":"https://api.github.com/users/zyoung51/orgs","repos_url":"https://api.github.com/users/zyoung51/repos","events_url":"https://api.github.com/users/zyoung51/events{/privacy}","received_events_url":"https://api.github.com/users/zyoung51/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-11T19:09:44Z","updated_at":"2015-11-12T02:55:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/RackHD/on-http/pulls/43","html_url":"https://github.com/RackHD/on-http/pull/43","diff_url":"https://github.com/RackHD/on-http/pull/43.diff","patch_url":"https://github.com/RackHD/on-http/pull/43.patch"},"body":"- Defining a 'vmnic#' device name in networkDevices will select which vmnic is\r\n  bound to vSwitch0 during initial install.\r\n- 'esxSwitchName' parameter can be specified in networkDevices objects to\r\n  control which vSwitch the port group is bound to.  This example would put\r\n  the pg-name portgroup on vSwitch1 and put vmk# in the pg-name portgroup with\r\n  the proper IP settings:\r\n        {\r\n        \"device\": \"pg-name\",\r\n        \"esxSwitchName\": \"vSwitch1\",\r\n        \"ipv4\": {\r\n            \"netmask\": \"255.255.255.0\",\r\n            \"ipAddr\": \"172.31.128.10\",\r\n            \"gateway\": \"172.31.128.1\"\r\n          }\r\n      }\r\n- 'switchDevices' parameter is added to create vswitches and control what uplinks\r\n  are on the switch.  if 'uplink' is not specified, then the switch is created with\r\n  no uplinks (internal switch)\r\n\r\n  This would create vSwitch1 with vmnic1 as an uplink, and create \"internal name\" with no uplinks:\r\n     \"switchDevices\" : [{ \"switchName\": \"vSwitch1\", \"uplinks\": [ \"vmnic1\" ] }, { \"switchName\": \"internal name\" }],\r\n\r\n- 'postInstallCommands' parameter is added to run additional commands during the post-installation\r\n  step of the workflow.\r\n\r\n  For example, to create a specific vmk50 on portgroup vmnic0 using dhcp:\r\n  \"postInstallCommands\": [ \"esxcli network ip interface add -i vmk50 -p vmnic0\", \"esxcli network ip interface ipv4 set -i vmk50 -t dhcp\" ]"},"comment":{"url":"https://api.github.com/repos/RackHD/on-http/issues/comments/155982823","html_url":"https://github.com/RackHD/on-http/pull/43#issuecomment-155982823","issue_url":"https://api.github.com/repos/RackHD/on-http/issues/43","id":155982823,"user":{"login":"anhou","id":14013330,"avatar_url":"https://avatars.githubusercontent.com/u/14013330?v=3","gravatar_id":"","url":"https://api.github.com/users/anhou","html_url":"https://github.com/anhou","followers_url":"https://api.github.com/users/anhou/followers","following_url":"https://api.github.com/users/anhou/following{/other_user}","gists_url":"https://api.github.com/users/anhou/gists{/gist_id}","starred_url":"https://api.github.com/users/anhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anhou/subscriptions","organizations_url":"https://api.github.com/users/anhou/orgs","repos_url":"https://api.github.com/users/anhou/repos","events_url":"https://api.github.com/users/anhou/events{/privacy}","received_events_url":"https://api.github.com/users/anhou/received_events","type":"User","site_admin":false},"created_at":"2015-11-12T02:55:56Z","updated_at":"2015-11-12T02:55:56Z","body":":+1:  after fix messange typo 'configurationa nd', although we all understand it :)"}}