What is the difference between a comment and a label?
As part of the commit option, there is a 'comment' and there is a 'label' that I can add to the commit. I am curious what the difference is between these two. I see that both show up in the rollback information, but does one do something the other does not?
Example: admin@ncs% set ebgpPeer name LAX password laxpass peer csr1 asn 100 ip 22.214.171.124 admin@ncs% set ebgpPeer name LAX peer csr2 asn 200 ip 126.96.36.199 admin@ncs% commit comment ? Possible completions: Add a commit comment admin@ncs% commit comment "this is for fun" label "but it should be really fun" Commit complete. [ok][2018-10-30 17:25:11]
 [root@studentnso GSXbgp]#
and from ./logs
[root@studentnso logs]# cat rollback10061 # Created by: admin # Date: 2018-10-30 17:25:02 # Via: cli # Type: delta # Label: but it should be really fun # Comment: this is for fun # No: 10061
Re: What is the difference between a comment and a label?
Regarding your question, i've observed the yang model and came up with a conclusion.
in the confd_lib_maapi(3):
int maapi_set_label(int sock, int thandle, const char *label);
Set the "Label" that is stored in the rollback file when a transaction
towards running is committed. Setting the "Label" for transactions via
candidate can be done when the candidate is committed to running, by
using the maapi_candidate_commit_info() function. For a confirmed
commit, the "Label" must also be given via the
Errors: CONFD_ERR_MALLOC, CONFD_ERR_OS, CONFD_ERR_NOSESSION,
int maapi_set_comment(int sock, int thandle, const char *comment);
Set the "Comment" that is stored in the rollback file when a
transaction towards running is committed. Setting the "Comment" for
transactions via candidate can be done when the candidate is committed
to running, by using the maapi_candidate_commit_info() function. For a
confirmed commit, the "Comment" must also be given via the
This is the most detail i can find regarding your question, but i would assume/suspect that the comment can be used per say a 'descriptive' purpose of the commit while the label would be to very vaguely describe the purpose of the commit or associated some sort of ID that relates to the project associated to the commit transaction.
Unfortunately, there is not much information regarding the differences within the yang or NCS CLI.
Want to run both python2 and python3 packages at the same time? Maybe you don't want to upgrade all your python2 services at the same time? With some small changes to the "ncs-python-start-vm" script you can. While you are at it maybe you would like...
The official report from the ETSI Remote NFV API Plugtest as well as the 4th Plugtest events have now been posted:
Here is a list of all the NSO Developer Days 2019 presentations. Each video has a link to the respective NSO Developer Hub post with slides and details.
Keynote: Dr. Marcus Hacke, Founder & CEO of ngena
NSO and the Orange Internationa...
Here is a list of links related to Rakuten's new all-virtual mobile network
Reimagining the End-to-End Mobile Network in the 5G Era (Cisco whitepaper 2019-06)
How the world changed: Cisco CEO on Rakuten's new mobile network (Rakuten.today 2019-06-26)
Abstract: Telindus, SURFnet and T-Mobile share their outcomes of different automation strategies. How to go above and beyond the traditional way of networking to experience the thrill of foiling. The thrill to master core and B2B connectivity servic...