ietf-nmda-compare@2021-11-17.yang   ietf-nmda-compare@2021-11-17-formatted.yang 
module ietf-nmda-compare { module ietf-nmda-compare {
yang-version 1.1; yang-version 1.1;
namespace "urn:ietf:params:xml:ns:yang:ietf-nmda-compare"; namespace "urn:ietf:params:xml:ns:yang:ietf-nmda-compare";
prefix cmp; prefix cmp;
import ietf-yang-types { import ietf-yang-types {
prefix yang; prefix yang;
reference "RFC 6991: Common YANG Data Types"; reference
"RFC 6991: Common YANG Data Types";
} }
import ietf-datastores { import ietf-datastores {
prefix ds; prefix ds;
reference "RFC 8342: Network Management Datastore reference
Architecture (NMDA)"; "RFC 8342: Network Management Datastore
Architecture (NMDA)";
} }
import ietf-yang-patch { import ietf-yang-patch {
prefix ypatch; prefix ypatch;
reference "RFC 8072: YANG Patch Media Type"; reference
"RFC 8072: YANG Patch Media Type";
} }
import ietf-netconf { import ietf-netconf {
prefix nc; prefix nc;
reference "RFC 6241: Network Configuration Protocol (NETCONF)"; reference
"RFC 6241: Network Configuration Protocol (NETCONF)";
} }
organization "IETF"; organization
"IETF";
contact contact
"WG Web: <https://datatracker.ietf.org/wg/netconf/> "WG Web: <https://datatracker.ietf.org/wg/netconf/>
WG List: <mailto:netconf@ietf.org> WG List: <mailto:netconf@ietf.org>
Author: Alexander Clemm Author: Alexander Clemm
<mailto:ludwig@clemm.org> <mailto:ludwig@clemm.org>
Author: Yingzhen Qu Author: Yingzhen Qu
<mailto:yqu@futurewei.com> <mailto:yqu@futurewei.com>
skipping to change at line 119 skipping to change at line 122
<operational> is by default omitted."; <operational> is by default omitted.";
} }
choice filter-spec { choice filter-spec {
description description
"Identifies the portions of the datastores to be "Identifies the portions of the datastores to be
compared."; compared.";
anydata subtree-filter { anydata subtree-filter {
description description
"This parameter identifies the portions of the "This parameter identifies the portions of the
target datastore to retrieve."; target datastore to retrieve.";
reference "RFC 6241, Section 6."; reference
"RFC 6241, Section 6.";
} }
leaf xpath-filter { leaf xpath-filter {
if-feature nc:xpath; if-feature "nc:xpath";
type yang:xpath1.0; type yang:xpath1.0;
description description
"This parameter contains an XPath expression "This parameter contains an XPath expression
identifying the portions of the target identifying the portions of the target
datastore to retrieve."; datastore to retrieve.";
reference "RFC 6991: Common YANG Data Types"; reference
"RFC 6991: Common YANG Data Types";
} }
} }
} }
output { output {
choice compare-response { choice compare-response {
description description
"Comparison results."; "Comparison results.";
leaf no-matches { leaf no-matches {
type empty; type empty;
description description
skipping to change at line 158 skipping to change at line 163
or as a 'remove' as there is no difference between or as a 'remove' as there is no difference between
them for the purposes of the comparison."; them for the purposes of the comparison.";
uses ypatch:yang-patch { uses ypatch:yang-patch {
augment "yang-patch/edit" { augment "yang-patch/edit" {
description description
"Provide the value of the source of the patch, "Provide the value of the source of the patch,
respectively of the comparison, in addition to respectively of the comparison, in addition to
the target value, where applicable."; the target value, where applicable.";
anydata source-value { anydata source-value {
when "../operation = 'delete'" when "../operation = 'delete'"
+ "or ../operation = 'merge'" + "or ../operation = 'merge'"
+ "or ../operation = 'move'" + "or ../operation = 'move'"
+ "or ../operation = 'replace'" + "or ../operation = 'replace'"
+ "or ../operation = 'remove'"; + "or ../operation = 'remove'";
description description
"The anydata 'value' is only used for 'delete', "The anydata 'value' is only used for 'delete',
'move', 'merge', 'replace', and 'remove' 'move', 'merge', 'replace', and 'remove'
operations."; operations.";
} }
reference "RFC 8072: YANG Patch Media Type"; reference
"RFC 8072: YANG Patch Media Type";
} }
} }
} }
} }
} }
} }
} }
 End of changes. 12 change blocks. 
16 lines changed or deleted 22 lines changed or added

This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/

mirror server hosted at Truenetwork, Russian Federation.