junos-ex-rpc-ospf3

Junos RPC YANG module for ospf3 command(s)

  • Version: 2019-01-01

    junos-ex-rpc-ospf3@2019-01-01


    
      module junos-ex-rpc-ospf3 {
    
        yang-version 1;
    
        namespace
          "http://yang.juniper.net/junos-ex/rpc/ospf3";
    
        prefix ospf3;
    
        import junos-common-types {
          prefix jt;
          revision-date "2019-01-01";
        }
    
        organization "Juniper Networks, Inc.";
    
        contact "yang-support@juniper.net";
    
        description
          "Junos RPC YANG module for ospf3 command(s)";
    
        revision "2019-01-01" {
          description "Junos: 21.3R1.9";
        }
    
    
        rpc get-ospf3-overview-information {
          description
            "Show overview of OSPFv3 information";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "extensive" {
                  value 1;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
    
            leaf instance {
              type string;
              description
                "Name of OSPFv3 instance";
            }
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-overview-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-overview-information
    
        rpc get-ospf3-database-information {
          description
            "Show OSPFv3 link-state database";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
                enum "summary" {
                  value 3;
                  description
                    "Display summary output";
                }
              }
              default "brief";
            }
    
            leaf lsa-type {
              type enumeration {
                enum "router" {
                  value 0;
                  description "Router LSAs";
                }
                enum "network" {
                  value 1;
                  description "Network LSAs";
                }
                enum "inter-area-prefix" {
                  value 2;
                  description
                    "Inter-area-prefix LSAs";
                }
                enum "inter-area-router" {
                  value 3;
                  description
                    "Inter-area-router LSAs";
                }
                enum "external" {
                  value 4;
                  description "External LSAs";
                }
                enum "nssa" {
                  value 5;
                  description "NSSA LSAs";
                }
                enum "link" {
                  value 6;
                  description "Link LSAs";
                }
                enum "link-local" {
                  value 7;
                  description "Link-local LSAs";
                }
                enum "intra-area-prefix" {
                  value 8;
                  description
                    "Intra-area-prefix LSAs";
                }
              }
            }
    
            leaf area {
              type string;
              default "all";
              description
                "Area ID of OSPFv3 area";
            }
    
            leaf lsa-id {
              type string;
              default "all";
              description
                "ID of link-state advertisement";
            }
    
            leaf advertising-router {
              type string;
              description
                "Router ID of advertising router";
            }
    
            leaf instance {
              type string;
              description
                "Name of OSPFv3 instance";
            }
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-database-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-database-information
    
        rpc get-ospf3-backup-spf-information {
          description
            "Show OSPFv3 backup SPF calculations information";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description
                "Name of OSPF instance";
            }
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
    
            leaf area {
              type jt:areaid;
              description "OSPF area ID";
            }
    
            leaf no-coverage {
              type empty;
              description
                "Entries with no backup coverage";
            }
    
            leaf node-id {
              type string;
              description
                "Display nodes matching the node-id";
            }
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-backup-spf-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-backup-spf-information
    
        rpc get-ospf3-backup-coverage-information {
          description
            "Show OSPFv3 backup coverage";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description
                "Name of OSPF instance";
            }
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-backup-coverage-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-backup-coverage-information
    
        rpc get-ospf3-backup-neighbor-information {
          description
            "Show OSPFv3 backup neighbors";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description
                "Name of OSPF instance";
            }
    
            leaf area {
              type jt:areaid;
              description "OSPF area ID";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-backup-neighbor-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-backup-neighbor-information
    
        rpc get-ospf3-backup-lsp-information {
          description
            "Show OSPFv3 MPLS backup LSP information";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-backup-mplsp-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-backup-lsp-information
    
        rpc get-ospf3-interface-information {
          description
            "Show OSPFv3 interface status";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
    
            leaf interface-name {
              type string;
              description
                "Name of logical interface";
            }
    
            leaf area {
              type jt:areaid;
              description "OSPF area ID";
            }
    
            leaf instance {
              type string;
              description
                "Name of OSPFv3 instance";
            }
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-interface-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-interface-information
    
        rpc get-ospf3-neighbor-information {
          description
            "Show OSPFv3 neighbor status";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
    
            leaf interface {
              type string;
              description
                "Name of logical interface";
            }
    
            leaf area {
              type jt:areaid;
              description "OSPF area ID";
            }
    
            leaf neighbor {
              type string;
              description
                "IP address or ID of neighbor";
            }
    
            leaf instance {
              type string;
              description
                "Name of OSPFv3 instance";
            }
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-neighbor-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-neighbor-information
    
        rpc get-ospf3-route-information {
          description
            "Show the OSPFv3 routing table";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
    
            leaf path-type {
              type enumeration {
                enum "intra" {
                  value 0;
                  description
                    "Display intra-area routes";
                }
                enum "inter" {
                  value 1;
                  description
                    "Display inter-area routes";
                }
                enum "extern" {
                  value 2;
                  description
                    "Display external routes";
                }
              }
              description "OSPF path type";
            }
    
            leaf route-type {
              type enumeration {
                enum "router" {
                  value 0;
                  description
                    "Display routes to all routers";
                }
                enum "abr" {
                  value 1;
                  description
                    "Display routes to area border routers";
                }
                enum "asbr" {
                  value 2;
                  description
                    "Display routes to AS border routers";
                }
                enum "transit" {
                  value 3;
                  description
                    "Display routes to pseudonodes";
                }
                enum "network" {
                  value 4;
                  description
                    "Display routes to networks";
                }
              }
              description "OSPF route type";
            }
    
            leaf no-backup-coverage {
              type empty;
              description
                "Display routes with no backup coverage";
            }
    
            leaf destination {
              type jt:ipprefix;
              description
                "Address and optional prefix length of destination";
            }
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
    
            leaf instance {
              type string;
              description
                "Name of OSPFv3 instance";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-route-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-route-information
    
        rpc get-ospf3-statistics-information {
          description "Show OSPFv3 statistics";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description
                "Name of OSPFv3 instance";
            }
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-statistics-information
    
        rpc get-ospf3-io-statistics-information {
          description
            "Show OSPFv3 I/O statistics";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-io-statistics-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-io-statistics-information
    
        rpc get-ospf3-log-information {
          description "Show OSPFv3 SPF log";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf instance {
              type string;
              description
                "Name of OSPFv3 instance";
            }
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-log-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-log-information
    
        rpc get-ospf3-bgporr-information {
          description
            "Show BGP optimal route-reflection groups";
          input {
            choice daemon-select {
              leaf logical-system {
                type string;
                description
                  "Name of logical system, or 'all'";
              }
            }  // choice daemon-select
    
            leaf group {
              type string;
              description
                "BGP optimal route-reflection peer group name";
            }
    
            leaf topology {
              type string;
              description "Name of topology";
            }
    
            leaf path-type {
              type enumeration {
                enum "intra" {
                  value 0;
                  description
                    "Display intra-area routes";
                }
                enum "inter" {
                  value 1;
                  description
                    "Display inter-area routes";
                }
                enum "extern" {
                  value 2;
                  description
                    "Display external routes";
                }
              }
              description "OSPF path type";
            }
    
            leaf route-type {
              type enumeration {
                enum "router" {
                  value 0;
                  description
                    "Display routes to all routers";
                }
                enum "abr" {
                  value 1;
                  description
                    "Display routes to area border routers";
                }
                enum "asbr" {
                  value 2;
                  description
                    "Display routes to AS border routers";
                }
                enum "transit" {
                  value 3;
                  description
                    "Display routes to pseudonodes";
                }
                enum "network" {
                  value 4;
                  description
                    "Display routes to networks";
                }
              }
              description "OSPF route type";
            }
    
            leaf destination {
              type jt:ipprefix;
              description
                "Address and optional prefix length of destination";
            }
    
            leaf realm {
              type enumeration {
                enum "ipv6-multicast" {
                  value 0;
                  description
                    "IPv6 multicast realm";
                }
                enum "ipv4-unicast" {
                  value 1;
                  description
                    "IPv4 unicast realm";
                }
                enum "ipv4-multicast" {
                  value 2;
                  description
                    "IPv4 multicast realm";
                }
              }
              description "Name of realm";
            }
    
            leaf instance {
              type string;
              description
                "Name of OSPF instance";
            }
    
            leaf verbosity_level {
              type enumeration {
                enum "brief" {
                  value 0;
                  description
                    "Display brief output (default)";
                }
                enum "detail" {
                  value 1;
                  description
                    "Display detailed output";
                }
                enum "extensive" {
                  value 2;
                  description
                    "Display extensive output";
                }
              }
              default "brief";
            }
          }
    
          output {
            choice output_c {
              leaf output {
                type string;
              }
              anyxml ospf3-bgporr-route-information {
              }
              anyxml multi-routing-engine-results {
              }
            }  // choice output_c
          }
        }  // rpc get-ospf3-bgporr-information
      }  // module junos-ex-rpc-ospf3
    

© 2023 YumaWorks, Inc. All rights reserved.