- rpc buy-car {
- description
- "buy a new car";
- input {
- leaf person {
- ext:context-reference "person:person-context";
- type person:person-ref;
- description "A reference to a particular person.";
- }
-
- leaf car-id {
- type car:car-id;
- description "identifier of car.";
- }
- leaf person-id {
- type person:person-id;
- description "identifier of person.";
- }
- }
- }
-
- notification carBought {
- description
- "Indicates that a person bought a car.";
- leaf car-id {
- type car:car-id;
- description "identifier of car.";
- }
- leaf person-id {
- type person:person-id;
- description "identifier of person.";
- }
- }
-}
\ No newline at end of file
+ notification carBought {
+ description
+ "Indicates that a person bought a car.";
+ leaf car-id {
+ type car:car-id;
+ description "identifier of car.";
+ }
+ leaf person-id {
+ type person:person-id;
+ description "identifier of person.";
+ }
+ }
+}