{"action":"created","issue":{"url":"https://api.github.com/repos/InfraSIM/infrasim-compute/issues/70","repository_url":"https://api.github.com/repos/InfraSIM/infrasim-compute","labels_url":"https://api.github.com/repos/InfraSIM/infrasim-compute/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/InfraSIM/infrasim-compute/issues/70/comments","events_url":"https://api.github.com/repos/InfraSIM/infrasim-compute/issues/70/events","html_url":"https://github.com/InfraSIM/infrasim-compute/pull/70","id":173762031,"number":70,"title":"Feature/integrate qemu ipmi socat","user":{"login":"turtle-fly","id":3271116,"avatar_url":"https://avatars.githubusercontent.com/u/3271116?v=3","gravatar_id":"","url":"https://api.github.com/users/turtle-fly","html_url":"https://github.com/turtle-fly","followers_url":"https://api.github.com/users/turtle-fly/followers","following_url":"https://api.github.com/users/turtle-fly/following{/other_user}","gists_url":"https://api.github.com/users/turtle-fly/gists{/gist_id}","starred_url":"https://api.github.com/users/turtle-fly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turtle-fly/subscriptions","organizations_url":"https://api.github.com/users/turtle-fly/orgs","repos_url":"https://api.github.com/users/turtle-fly/repos","events_url":"https://api.github.com/users/turtle-fly/events{/privacy}","received_events_url":"https://api.github.com/users/turtle-fly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-08-29T12:22:17Z","updated_at":"2016-08-30T02:30:50Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/InfraSIM/infrasim-compute/pulls/70","html_url":"https://github.com/InfraSIM/infrasim-compute/pull/70","diff_url":"https://github.com/InfraSIM/infrasim-compute/pull/70.diff","patch_url":"https://github.com/InfraSIM/infrasim-compute/pull/70.patch"},"body":"[  ] Enable CBMC\r\n[  ] Update jinja template of vbmc.conf with more customization\r\n[  ] Enable socat\r\n[->] Enable task schedule to start/stop socat, bmc, qemu\r\n[->] Scrub infrasim.yml to avoid duplicated definition\r\n\r\n**Node wise customization**\r\nSupport these attributes defined in yml\r\n\r\n    node_id             # default is 0\r\n    type\r\n    sol_device          # e.g. pty0: ipmi_sim <> socat\r\n    ipmi_console_port   # e.g. 9000: ipmi_sim <> ipmi-console\r\n    bmc_connection_port # e.g. 9002: ipmi_sim <> qemu\r\n    serial_port         # e.g. 9003: socat <> qemu\r\n\r\n    compute:\r\n        numa_control    # True or false to enable numa control\r\n\r\nEnable attributes init in CNode.init()\r\n\r\n**Enable workspace for a specific node: <HOME>/.infrasim/<node_name>**\r\n\r\n    .infrasim/<node_name>    # Root folder\r\n        data                 # Data folder\r\n            infrasim.yml     # Save runtime infrasim.yml\r\n            vbmc.conf        # Render template with data from infrasim.yml\r\n            vbmc.emu         # Emulation data\r\n            bios.bin         # BIOS\r\n        script               # Script folder\r\n            chassiscontrol\r\n            lancontrol\r\n            startcmd\r\n            stopcmd\r\n            resetcmd\r\n        .pty0                # Serial device, created by socat, not here\r\n        .<node_name>-socat   # pid file of socat\r\n        .<node_name>-ipmi    # pid file of ipmi\r\n        .<node_name>-qemu    # pid file of qemu\r\n\r\n**What's done in init_workspace()**\r\n\r\n- Create workspace\r\n- Create log folder\r\n- Create sub folder\r\n- Save infrasim.yml\r\n- Render vbmc.conf, render scripts\r\n- Move emulation data, update identifiers, e.g. S/N\r\n- Move bios.bin\r\n\r\n**Fixed minor bugs**\r\n1. NotImplemented should be NotImplementedError\r\n2. Join numa control with qemu commandline should use list\r\n3. Remove socat option \"fork\" to avoid socat's fork when qemu\r\nis trying to connect, or user shall see multiple socat process\r\n"},"comment":{"url":"https://api.github.com/repos/InfraSIM/infrasim-compute/issues/comments/243315744","html_url":"https://github.com/InfraSIM/infrasim-compute/pull/70#issuecomment-243315744","issue_url":"https://api.github.com/repos/InfraSIM/infrasim-compute/issues/70","id":243315744,"user":{"login":"sharkconi","id":1230116,"avatar_url":"https://avatars.githubusercontent.com/u/1230116?v=3","gravatar_id":"","url":"https://api.github.com/users/sharkconi","html_url":"https://github.com/sharkconi","followers_url":"https://api.github.com/users/sharkconi/followers","following_url":"https://api.github.com/users/sharkconi/following{/other_user}","gists_url":"https://api.github.com/users/sharkconi/gists{/gist_id}","starred_url":"https://api.github.com/users/sharkconi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sharkconi/subscriptions","organizations_url":"https://api.github.com/users/sharkconi/orgs","repos_url":"https://api.github.com/users/sharkconi/repos","events_url":"https://api.github.com/users/sharkconi/events{/privacy}","received_events_url":"https://api.github.com/users/sharkconi/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T02:30:50Z","updated_at":"2016-08-30T02:30:50Z","body":"bravo!!! +1"}}
{"actor":{"display_login":"sharkconi"}}