Cisco-IOS-XE-ospf

                                    
                                        module Cisco-IOS-XE-ospf {
                                          namespace "http://cisco.com/ns/yang/Cisco-IOS-XE-ospf";
                                          prefix ios-ospf;

                                          import ietf-inet-types {
                                            prefix inet;
                                          }


                                          import Cisco-IOS-XE-types {
                                            prefix ios-types;
                                          }

                                          import Cisco-IOS-XE-interface-common {
                                            prefix ios-ifc;
                                          }

                                          import Cisco-IOS-XE-native {
                                            prefix ios;
                                          }

                                          ...

                                          description
                                            "Cisco XE Native Open Shortest Path First (OSPF) Yang model.
                                             Copyright (c) 2016-2017 by Cisco Systems, Inc.
                                             All rights reserved.";

                                          ...

                                          grouping config-router-ospf-grouping {
                                            list ospf { //69000
                                              description
                                                "Open Shortest Path First (OSPF)";
                                              key "id";
                                              leaf id {
                                                type uint16 {
                                                  range "1..65535";
                                                }
                                              }
                                              ...
                                              list network {
                                                description
                                                  "Enable routing on an IP network";
                                                key "ip mask";
                                                leaf ip {
                                                  type inet:ipv4-address;
                                                }
                                                leaf mask {
                                                  type inet:ipv4-address;
                                                }
                                                leaf area {
                                                  description
                                                    "Set the OSPF area ID";
                                                  type ios-types:ospf-area-type;
                                                }
                                              }
                                              ...
                                            }
                                          }

                                          /////////////////////////////////////////////////////////
                                          // native / router / ospf
                                          /////////////////////////////////////////////////////////
                                          augment "/ios:native/ios:router" {
                                            uses config-router-ospf-grouping;
                                          }
                                          ...
                                        }