{"action":"created","comment":{"url":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/comments/54953717","id":54953717,"diff_hunk":"@@ -50,16 +50,19 @@ domain:\n dual_active_exclude_interface_vlan_bridge_domain: \n   kind: string\n   N7k:\n-    get_value: '/^dual\\-active exclude interface\\-vlan\\-bridge\\-domain\\s+(\\S+)/'\n+    get_value: '/^dual-active exclude interface-vlan-bridge-domain\\s+(\\S+)/'\n     set_value: \"<state> dual-active exclude interface-vlan-bridge-domain <range>\"\n   else:\n-    get_value: '/^dual\\-active exclude interface\\-vlan\\s+(\\S+)/'\n+    get_value: '/^dual-active exclude interface-vlan\\s+(\\S+)/'\n     set_value: \"<state> dual-active exclude interface-vlan <range>\"\n   default_value: 'none'\n \n fabricpath_emulated_switch_id: \n   _exclude: [N3k, N5k, N6k, N9k]\n   kind: int\n+  get_command:  'show running-config vpc all'\n+  get_context:  ['/^vpc domain\\s*(\\d+)$/']","path":"lib/cisco_node_utils/cmd_ref/vpc.yaml","position":51,"original_position":51,"commit_id":"380f130b2d86d64a2b3ca355e429f4168e1eb2f7","original_commit_id":"380f130b2d86d64a2b3ca355e429f4168e1eb2f7","user":{"login":"glennmatthews","id":5603551,"avatar_url":"https://avatars.githubusercontent.com/u/5603551?v=3","gravatar_id":"","url":"https://api.github.com/users/glennmatthews","html_url":"https://github.com/glennmatthews","followers_url":"https://api.github.com/users/glennmatthews/followers","following_url":"https://api.github.com/users/glennmatthews/following{/other_user}","gists_url":"https://api.github.com/users/glennmatthews/gists{/gist_id}","starred_url":"https://api.github.com/users/glennmatthews/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glennmatthews/subscriptions","organizations_url":"https://api.github.com/users/glennmatthews/orgs","repos_url":"https://api.github.com/users/glennmatthews/repos","events_url":"https://api.github.com/users/glennmatthews/events{/privacy}","received_events_url":"https://api.github.com/users/glennmatthews/received_events","type":"User","site_admin":false},"body":"The `get_command` and `get_context` appear to be identical to the values provided by the `template`. I understand the need for the custom `set_context` for this property, but why these?","created_at":"2016-03-03T21:46:36Z","updated_at":"2016-03-03T21:46:36Z","html_url":"https://github.com/cisco/cisco-network-node-utils/pull/271#discussion_r54953717","pull_request_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/271","_links":{"self":{"href":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/comments/54953717"},"html":{"href":"https://github.com/cisco/cisco-network-node-utils/pull/271#discussion_r54953717"},"pull_request":{"href":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/271"}}},"pull_request":{"url":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/271","id":61628979,"html_url":"https://github.com/cisco/cisco-network-node-utils/pull/271","diff_url":"https://github.com/cisco/cisco-network-node-utils/pull/271.diff","patch_url":"https://github.com/cisco/cisco-network-node-utils/pull/271.patch","issue_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/issues/271","number":271,"state":"open","locked":false,"title":"Putting back terminal dont-ask in interactive cli","user":{"login":"dcheriancisco","id":14809324,"avatar_url":"https://avatars.githubusercontent.com/u/14809324?v=3","gravatar_id":"","url":"https://api.github.com/users/dcheriancisco","html_url":"https://github.com/dcheriancisco","followers_url":"https://api.github.com/users/dcheriancisco/followers","following_url":"https://api.github.com/users/dcheriancisco/following{/other_user}","gists_url":"https://api.github.com/users/dcheriancisco/gists{/gist_id}","starred_url":"https://api.github.com/users/dcheriancisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcheriancisco/subscriptions","organizations_url":"https://api.github.com/users/dcheriancisco/orgs","repos_url":"https://api.github.com/users/dcheriancisco/repos","events_url":"https://api.github.com/users/dcheriancisco/events{/privacy}","received_events_url":"https://api.github.com/users/dcheriancisco/received_events","type":"User","site_admin":false},"body":"1. removed the un-necessary escaped '-' from YAML regexes\r\n2. addded back terminal dont-ask in YAML which were removed with the grpc-merge","created_at":"2016-03-03T21:34:54Z","updated_at":"2016-03-03T21:46:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"40699bdf3b1fe8ec5330a401d702ae4b759fcdf0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/271/commits","review_comments_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/271/comments","review_comment_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/issues/271/comments","statuses_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/statuses/380f130b2d86d64a2b3ca355e429f4168e1eb2f7","head":{"label":"dcheriancisco:develop","ref":"develop","sha":"380f130b2d86d64a2b3ca355e429f4168e1eb2f7","user":{"login":"dcheriancisco","id":14809324,"avatar_url":"https://avatars.githubusercontent.com/u/14809324?v=3","gravatar_id":"","url":"https://api.github.com/users/dcheriancisco","html_url":"https://github.com/dcheriancisco","followers_url":"https://api.github.com/users/dcheriancisco/followers","following_url":"https://api.github.com/users/dcheriancisco/following{/other_user}","gists_url":"https://api.github.com/users/dcheriancisco/gists{/gist_id}","starred_url":"https://api.github.com/users/dcheriancisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcheriancisco/subscriptions","organizations_url":"https://api.github.com/users/dcheriancisco/orgs","repos_url":"https://api.github.com/users/dcheriancisco/repos","events_url":"https://api.github.com/users/dcheriancisco/events{/privacy}","received_events_url":"https://api.github.com/users/dcheriancisco/received_events","type":"User","site_admin":false},"repo":{"id":51951006,"name":"cisco-network-node-utils","full_name":"dcheriancisco/cisco-network-node-utils","owner":{"login":"dcheriancisco","id":14809324,"avatar_url":"https://avatars.githubusercontent.com/u/14809324?v=3","gravatar_id":"","url":"https://api.github.com/users/dcheriancisco","html_url":"https://github.com/dcheriancisco","followers_url":"https://api.github.com/users/dcheriancisco/followers","following_url":"https://api.github.com/users/dcheriancisco/following{/other_user}","gists_url":"https://api.github.com/users/dcheriancisco/gists{/gist_id}","starred_url":"https://api.github.com/users/dcheriancisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcheriancisco/subscriptions","organizations_url":"https://api.github.com/users/dcheriancisco/orgs","repos_url":"https://api.github.com/users/dcheriancisco/repos","events_url":"https://api.github.com/users/dcheriancisco/events{/privacy}","received_events_url":"https://api.github.com/users/dcheriancisco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dcheriancisco/cisco-network-node-utils","description":"","fork":true,"url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils","forks_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/forks","keys_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/teams","hooks_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/hooks","issue_events_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/issues/events{/number}","events_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/events","assignees_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/assignees{/user}","branches_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/branches{/branch}","tags_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/tags","blobs_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/languages","stargazers_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/stargazers","contributors_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/contributors","subscribers_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/subscribers","subscription_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/subscription","commits_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/contents/{+path}","compare_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/merges","archive_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/downloads","issues_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/issues{/number}","pulls_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/labels{/name}","releases_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/releases{/id}","deployments_url":"https://api.github.com/repos/dcheriancisco/cisco-network-node-utils/deployments","created_at":"2016-02-17T19:57:21Z","updated_at":"2016-02-17T19:57:22Z","pushed_at":"2016-03-02T00:49:16Z","git_url":"git://github.com/dcheriancisco/cisco-network-node-utils.git","ssh_url":"git@github.com:dcheriancisco/cisco-network-node-utils.git","clone_url":"https://github.com/dcheriancisco/cisco-network-node-utils.git","svn_url":"https://github.com/dcheriancisco/cisco-network-node-utils","homepage":null,"size":2761,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"cisco:develop","ref":"develop","sha":"3bf8f078eda19e8911708216f2b1e98a53f80215","user":{"login":"cisco","id":1376999,"avatar_url":"https://avatars.githubusercontent.com/u/1376999?v=3","gravatar_id":"","url":"https://api.github.com/users/cisco","html_url":"https://github.com/cisco","followers_url":"https://api.github.com/users/cisco/followers","following_url":"https://api.github.com/users/cisco/following{/other_user}","gists_url":"https://api.github.com/users/cisco/gists{/gist_id}","starred_url":"https://api.github.com/users/cisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cisco/subscriptions","organizations_url":"https://api.github.com/users/cisco/orgs","repos_url":"https://api.github.com/users/cisco/repos","events_url":"https://api.github.com/users/cisco/events{/privacy}","received_events_url":"https://api.github.com/users/cisco/received_events","type":"Organization","site_admin":false},"repo":{"id":39565196,"name":"cisco-network-node-utils","full_name":"cisco/cisco-network-node-utils","owner":{"login":"cisco","id":1376999,"avatar_url":"https://avatars.githubusercontent.com/u/1376999?v=3","gravatar_id":"","url":"https://api.github.com/users/cisco","html_url":"https://github.com/cisco","followers_url":"https://api.github.com/users/cisco/followers","following_url":"https://api.github.com/users/cisco/following{/other_user}","gists_url":"https://api.github.com/users/cisco/gists{/gist_id}","starred_url":"https://api.github.com/users/cisco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cisco/subscriptions","organizations_url":"https://api.github.com/users/cisco/orgs","repos_url":"https://api.github.com/users/cisco/repos","events_url":"https://api.github.com/users/cisco/events{/privacy}","received_events_url":"https://api.github.com/users/cisco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cisco/cisco-network-node-utils","description":"","fork":false,"url":"https://api.github.com/repos/cisco/cisco-network-node-utils","forks_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/forks","keys_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/teams","hooks_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/hooks","issue_events_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/issues/events{/number}","events_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/events","assignees_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/assignees{/user}","branches_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/branches{/branch}","tags_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/tags","blobs_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/git/refs{/sha}","trees_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/statuses/{sha}","languages_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/languages","stargazers_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/stargazers","contributors_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/contributors","subscribers_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/subscribers","subscription_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/subscription","commits_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/commits{/sha}","git_commits_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/git/commits{/sha}","comments_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/comments{/number}","issue_comment_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/issues/comments{/number}","contents_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/contents/{+path}","compare_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/merges","archive_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/downloads","issues_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/issues{/number}","pulls_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls{/number}","milestones_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/milestones{/number}","notifications_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/labels{/name}","releases_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/releases{/id}","deployments_url":"https://api.github.com/repos/cisco/cisco-network-node-utils/deployments","created_at":"2015-07-23T12:07:39Z","updated_at":"2016-02-01T19:00:12Z","pushed_at":"2016-03-03T21:34:54Z","git_url":"git://github.com/cisco/cisco-network-node-utils.git","ssh_url":"git@github.com:cisco/cisco-network-node-utils.git","clone_url":"https://github.com/cisco/cisco-network-node-utils.git","svn_url":"https://github.com/cisco/cisco-network-node-utils","homepage":null,"size":4098,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":34,"mirror_url":null,"open_issues_count":5,"forks":34,"open_issues":5,"watchers":9,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/271"},"html":{"href":"https://github.com/cisco/cisco-network-node-utils/pull/271"},"issue":{"href":"https://api.github.com/repos/cisco/cisco-network-node-utils/issues/271"},"comments":{"href":"https://api.github.com/repos/cisco/cisco-network-node-utils/issues/271/comments"},"review_comments":{"href":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/271/comments"},"review_comment":{"href":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cisco/cisco-network-node-utils/pulls/271/commits"},"statuses":{"href":"https://api.github.com/repos/cisco/cisco-network-node-utils/statuses/380f130b2d86d64a2b3ca355e429f4168e1eb2f7"}}}}