Hello,

I would like to ask about interoperability of RPC's input statement and
augments. Given two modules:

module foo {
    rpc foo {
        output {
            leaf foo { type string; }
        }
    }
}

module bar {
    import foo { prefix foo; }

    augment /foo:foo/input {
        leaf bar { type string; }
    }
}

Should the augment statement trigger a failure or not?

My take is that it should fail, as the lack of an empty input statement
in foo indicates the author's intent that the RPC should not have an
extensible input...

Thanks,
Robert

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
netmod mailing list
netmod@ietf.org
https://www.ietf.org/mailman/listinfo/netmod

Reply via email to