{"action":"created","issue":{"url":"https://api.github.com/repos/vmware/container-service-extension/issues/81","repository_url":"https://api.github.com/repos/vmware/container-service-extension","labels_url":"https://api.github.com/repos/vmware/container-service-extension/issues/81/labels{/name}","comments_url":"https://api.github.com/repos/vmware/container-service-extension/issues/81/comments","events_url":"https://api.github.com/repos/vmware/container-service-extension/issues/81/events","html_url":"https://github.com/vmware/container-service-extension/pull/81","id":320452814,"number":81,"title":"VCDA-608 & VCDA-609: Enhance cluster and node commands to support NFS","user":{"login":"sahithi","id":1448033,"avatar_url":"https://avatars2.githubusercontent.com/u/1448033?v=4","gravatar_id":"","url":"https://api.github.com/users/sahithi","html_url":"https://github.com/sahithi","followers_url":"https://api.github.com/users/sahithi/followers","following_url":"https://api.github.com/users/sahithi/following{/other_user}","gists_url":"https://api.github.com/users/sahithi/gists{/gist_id}","starred_url":"https://api.github.com/users/sahithi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sahithi/subscriptions","organizations_url":"https://api.github.com/users/sahithi/orgs","repos_url":"https://api.github.com/users/sahithi/repos","events_url":"https://api.github.com/users/sahithi/events{/privacy}","received_events_url":"https://api.github.com/users/sahithi/received_events","type":"User","site_admin":false},"labels":[{"id":640749610,"url":"https://api.github.com/repos/vmware/container-service-extension/labels/dco-required","name":"dco-required","color":"fc2929","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-04T22:56:09Z","updated_at":"2018-05-24T13:45:43Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/vmware/container-service-extension/pulls/81","html_url":"https://github.com/vmware/container-service-extension/pull/81","diff_url":"https://github.com/vmware/container-service-extension/pull/81.diff","patch_url":"https://github.com/vmware/container-service-extension/pull/81.patch"},"body":"1. Enhanced 'cse cluster create' command to support NFS - Add NFS node once cluster is created.\r\n2. Modified 'cse cluster info' to display details of NFS nodes as well.\r\n3. Created a new command 'cse node info' for all types of nodes. For NFS nodes, this displays NFS server IP and exports.\r\n\r\nCommand output\r\n\r\n$ vcd cse cluster create haloCluster -N 1 -n TestbedPG -t ubuntu-16.04 --enable-nfs\r\n>create_cluster: Creating cluster haloCluster(529f49ba-792d-49d1-9936-4561a7866e62)\r\ncreate_cluster: Creating cluster vApp haloCluster(529f49ba-792d-49d1-9936-4561a7866e62)\r\ncreate_cluster: Creating master node for haloCluster(529f49ba-792d-49d1-9936-4561a7866e62)\r\ncreate_cluster: Initializing cluster haloCluster(529f49ba-792d-49d1-9936-4561a7866e62)\r\ncreate_cluster: Creating 1 node(s) for haloCluster(529f49ba-792d-49d1-9936-4561a7866e62)\r\ncreate_cluster: Adding 1 node(s) to haloCluster(529f49ba-792d-49d1-9936-4561a7866e62)\r\ncreate_cluster: Creating NFS node for haloCluster(529f49ba-792d-49d1-9936-4561a7866e62)\r\ntask: 5a4bff9f-6034-4678-a56a-d749399acbf2, Created cluster haloCluster(529f49ba-792d-49d1-9936-4561a7866e62), result: success\r\n\r\n$vcd cse cluster info haloCluster\r\n>property         value\r\n>======        =========\r\n>cluster_id       529f49ba-792d-49d1-9936-4561a7866e62\r\n>leader_endpoint  10.150.211.79\r\n>master_nodes     {'name': 'mstr-xu9j', 'ipAddress': '10.150.211.79'}\r\n>name             haloCluster\r\n>nfs_nodes        {'name': 'nfsd-ywzv', 'ipAddress': '10.150.211.68'} {'name': 'nfsd-zfpn', 'ipAddress': '10.150.211.81'}\r\n>nodes            {'name': 'node-ekzz', 'ipAddress': '10.150.211.80'}\r\n>number_of_vms    4\r\n>status\r\n>template         ubuntu-16.04\r\n>vapp_href        https://10.150.198.116/api/vApp/vapp-c2434f3e-06a5-45b5-a287-4db2d29cda1c\r\n>vapp_id          c2434f3e-06a5-45b5-a287-4db2d29cda1c\r\nvdc_href         https://10.150.198.116/api/vdc/c3060f65-9548-4ec0-8545-b36fc344270c\r\nvdc_name         cseOvdc\r\n\r\n\r\n$vcd cse node info haloCluster nfsd-ywzv\r\n>property              value\r\n>========         =============\r\n>exports               /var/nfs/general\r\n                           /home\r\n>ipAddress         10.150.211.68\r\n>memoryMB       2048\r\n>name                  nfsd-ywzv\r\n>node_type         nfsd\r\n>numberOfCpus 2\r\n>status                Powered on\r\n\r\n<!-- Reviewable:start -->\r\n---\r\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/vmware/container-service-extension/81)\r\n<!-- Reviewable:end -->\r\n"},"comment":{"url":"https://api.github.com/repos/vmware/container-service-extension/issues/comments/391720306","html_url":"https://github.com/vmware/container-service-extension/pull/81#issuecomment-391720306","issue_url":"https://api.github.com/repos/vmware/container-service-extension/issues/81","id":391720306,"user":{"login":"pacogomez","id":24319,"avatar_url":"https://avatars3.githubusercontent.com/u/24319?v=4","gravatar_id":"","url":"https://api.github.com/users/pacogomez","html_url":"https://github.com/pacogomez","followers_url":"https://api.github.com/users/pacogomez/followers","following_url":"https://api.github.com/users/pacogomez/following{/other_user}","gists_url":"https://api.github.com/users/pacogomez/gists{/gist_id}","starred_url":"https://api.github.com/users/pacogomez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pacogomez/subscriptions","organizations_url":"https://api.github.com/users/pacogomez/orgs","repos_url":"https://api.github.com/users/pacogomez/repos","events_url":"https://api.github.com/users/pacogomez/events{/privacy}","received_events_url":"https://api.github.com/users/pacogomez/received_events","type":"User","site_admin":false},"created_at":"2018-05-24T13:45:43Z","updated_at":"2018-05-24T13:45:43Z","author_association":"MEMBER","body":"\n\n\n\nReviewed 1 of 6 files at r1.\nReview status: all files reviewed at latest revision, 1 unresolved discussion.\n\n---\n\n\n\n*Comments from [Reviewable](https://reviewable.io/reviews/vmware/container-service-extension/81)*\n<!-- Sent from Reviewable.io -->\n"}}
{"actor":{"display_login":"pacogomez"}}